[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:
authored and GitHub committed 2023-02-01 21:02:10 +01:00
1 parent 11e7fa87e0
commit 9966c43811
2 files changed
+18 -2

No files matched your search

+2 -1
View File
@@ -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"