mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 21:39:06 +08:00
[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>
This commit is contained in:
2 files changed
+18
-2
No files matched your search
+2
-1
@@ -7,7 +7,8 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
## Set timezone as it is required by some packages.
|
||||
ENV TZ=Europe/Berlin
|
||||
## CUDA architectures, required by tiny-cuda-nn.
|
||||
ENV TCNN_CUDA_ARCHITECTURES=86
|
||||
## NOTE: All commonly used GPU architectures are included and supported here. To speedup the image build process remove all architectures but the one of your explicit GPU. Find details here: https://developer.nvidia.com/cuda-gpus (8.6 translates to 86 in the line below) or in the docs.
|
||||
ENV TCNN_CUDA_ARCHITECTURES=90;89;86;80;75;70;61;52;37
|
||||
## CUDA Home, required to find CUDA in some packages.
|
||||
ENV CUDA_HOME="/usr/local/cuda"
|
||||
|
||||
|
||||
Reference in new issue
Block a user