4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-10 18:17:31 +08:00
Commit Graph

21 Commits

Author SHA1 Message Date
Jonáš Kulhánek
f86dbe6d45
Update dockerfile and add docker build action (#3283)
* Use github docker registry

* Fix DDP train for GPU in exclusive mode

* Improve docker image - compile gsplat, decrease image size

* Drop unrelated change

* Add build docker image action

* Rename build docker image action

* nit

* Remove commented line from Dockerfile

* Fix dockerfile when explicit source is specified

* Fix failing dynamo build for torch.compile

* Lock dockerfile and tcnn versions

* Add `torch.cuda.is_available()` condition

* Drop set_cuda_device

* Fix build docker image github action

* Docker build save disk space

* Set MAX_JOBS to limit resource usage for docker build

* Try bumping `MAX_JOBS` 2 => 4

* Install fixed gsplat version from nerfstudio's pyproject.toml

* Update docs

* Finish docker build action

* Fix ignores push when PR

---------

Co-authored-by: Gina Wu <ginawu98@gmail.com>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-09-05 10:12:21 +02:00
Nicolas Zunhammer
c8fcf081ec
Update pytorch in Dockerfile to 2.1.2 (#3268)
Update pytorch in Dockerfile to 2.1.2 to fix incompatibilities with gsplat 1, remove version pinnin of tinycudann as 1.6 is not compatible with the new pytorch, pin setuptools to <70.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@dromni.eu>
2024-06-28 23:15:42 +00:00
SwirtaB
dd811f58bc
Support OCI standard dockerfile (#2961)
* Update user creation process (non sudo)
Minor simplifications

* Keep default shell (sh) during build

* Add sudo privilages
Custom rules for sudo group
Comented lines for easy image modification

---------

Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-05-14 19:01:38 +00:00
SiN
44dafa3a4e
Add --no-cache-dir option to pip install in Dockerfile (#2739) 2024-01-13 06:24:27 +00:00
Alexandru Kis
1d9cc7dd8a
Update hloc and add new matcher types (#2658)
* Update hloc and add new matcher types

* Update dockerfile comment to better reflect what the command is doing

---------

Co-authored-by: mfischer <michael.fischer@spleenlab.ai>
2023-12-08 08:58:51 -08:00
Tobit Flatscher
23cc960bfc
Fix pixel-perfect-sfm installation in Dockerfile (#2549)
fix: Fix pixel-perfect-sfm installation in Dockerfile
2023-10-20 18:42:42 +00:00
Ahmed Shariff
3dd162aae8
Fix pillow version to avoid error with ANTIALIAS (Fix #2378) (#2446)
* Fix pillow version to avoid error with ANTIALIAS (Fix #2378)

* Revert pillow version, use fix for pillow ANTIALIAS from upstream
2023-10-17 03:05:53 +00:00
Jonáš Kulhánek
ef2fd3dbe1
Fix import error when tcnn installed but CUDA runtime not available (#2429) 2023-09-15 17:18:23 -04:00
Panteleris Paschalis
a121d76fd0
Fixes ARG before FROM bug (#2371)
Fixes ARGS before FROM bug
2023-08-31 22:04:01 +00:00
Kate Yurkova
c599d0f3a1
fix: Allow custom user ID (#2334) 2023-08-12 20:17:38 +00:00
Paul-Edouard Sarlin
70adb01b4c
Pin versions of pyceres+pixsfm, up pycolmap (#2199)
* Pin versions of pyceres+pixsfm, up pycolmap

* Update comment
2023-07-11 17:25:07 +00:00
Ilya Basharov
5c4b0a1dd6
add build-arg cuda version to dockerfile (#2139) 2023-07-01 17:06:05 +00:00
Jonáš Kulhánek
e898f562e6
Switching to Torch 2.0 by default. (#1922)
* Update requirements for torch 2.0

* Update docs

* Fix missing _LRScheduler import

* Fix pylint issues

* Update docs, drop 1.13

* Fix pip postfix version

* fix docs

* Allow python 1.13 (for now)

* Minor fix for torch.compile

* Switch to torch.compile

* ruff

* Fix test

---------

Co-authored-by: Matt Tancik <mattt4001@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-05-17 16:03:17 -07:00
Pablo Vela
630babacd6
Add option to use Pixel Perfect SFM (#1554)
add pixsfm option when using hloc
2023-03-12 16:32:33 -04:00
Paul Wais
5c73766653
SFM: sfm-based depth, some breadcrumbs for pycolmap (#1457)
* save

* save

* more cleanup

* save

* save

* update phototourism

* save

* works

* works

* cleanup

* cleanup

* lint

* python3 default

* cleanup
2023-02-25 21:10:53 -08:00
Saurav Maheshkar
92c9cee4c7
feat(docker): Add opencontainers image-spec to Dockerfile (#1502)
This PR makes a few tiny changes to improve the overall quality of the docker image 🐳 . For reference more annotations can be found [here](https://github.com/opencontainers/image-spec/blob/main/annotations.md)
2023-02-25 12:30:02 -08:00
Nicolas Zunhammer
4d333f4cb6
[Update] Add hloc to Dockerfile, bump version of docker image in dev-container, improve docs (#1478)
* Add hloc to Dockerfile, bump versions of docker release.

* Add missing dependency for pycolmap.

* Improve commenting.

---------

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2023-02-22 21:44:53 +01:00
Nicolas Zunhammer
2901e5f31a
Bump Dockerfile versions, add user to sudoers list. (#1448)
* Update Dockerfile, bump CUDA from 11.7.1 to 11.8.0, bump Colmap from 3.7 to 3.8, add user to sudoers list.

* Improve description.

* Fix wrong description and typos.

* Add better description.

* Fix build error of Dockerfile.

* Bump pytorch versions.

---------

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2023-02-19 13:58:33 +01:00
Nicolas Zunhammer
9966c43811
[Fix] Docker not supporting older CUDA architectures (#1328)
Fix docker not supporting older CUDA architectures.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-02-01 21:02:10 +01:00
Nicolas Zunhammer
4a513825c4
[Fix] point cloud export broken in Dockerfile (#1148)
* Added Dockerfile to build docker image including all dependencies and nerfstudio, added description on how to user docker.

* Move docker description to Installation.md.

* Fix mask_filename indices after splitting train set.

* Rebase DOckerfile to newer image for updated libraries.

* Update docker container documentation.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2022-12-20 09:02:31 -08:00
Nicolas Zunhammer
bed7ef94c5
Add Docker support (#1022)
* Added Dockerfile to build docker image including all dependencies and nerfstudio, added description on how to user docker.

* Move docker description to Installation.md.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2022-11-28 12:58:59 -08:00