jayman commited on
Commit
48fdabb
·
verified ·
1 Parent(s): 8beeb58

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -2
Dockerfile CHANGED
@@ -7,8 +7,13 @@ ENV PYOPENGL_PLATFORM=egl
7
  ENV CUDA_HOME=/usr/local/cuda
8
  ENV PATH=${CUDA_HOME}/bin:${PATH}
9
  ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
10
- ENV TORCH_CUDA_ARCH_LIST="7.5;8.0;8.6;8.9;9.0"
 
 
11
  ENV FORCE_CUDA=1
 
 
 
12
 
13
  WORKDIR /workspace
14
 
@@ -85,9 +90,11 @@ print("CUDA:", torch.version.cuda)
85
  PY
86
 
87
  RUN cd hy3dpaint/custom_rasterizer && \
88
- pip install --no-build-isolation -e .
 
89
 
90
  RUN cd hy3dpaint/DifferentiableRenderer && \
 
91
  bash compile_mesh_painter.sh
92
 
93
  RUN cat > /workspace/health_server.py <<'PY'
 
7
  ENV CUDA_HOME=/usr/local/cuda
8
  ENV PATH=${CUDA_HOME}/bin:${PATH}
9
  ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
10
+
11
+ ENV TORCH_CUDA_ARCH_LIST="8.9"
12
+ ENV CUDAARCHS="89"
13
  ENV FORCE_CUDA=1
14
+ ENV MAX_JOBS=4
15
+ ENV CMAKE_BUILD_PARALLEL_LEVEL=4
16
+ ENV TORCH_EXTENSIONS_DIR=/workspace/torch_extensions
17
 
18
  WORKDIR /workspace
19
 
 
90
  PY
91
 
92
  RUN cd hy3dpaint/custom_rasterizer && \
93
+ MAX_JOBS=4 CUDAARCHS=89 TORCH_CUDA_ARCH_LIST="8.9" \
94
+ pip install --no-build-isolation --no-cache-dir .
95
 
96
  RUN cd hy3dpaint/DifferentiableRenderer && \
97
+ MAX_JOBS=4 CUDAARCHS=89 TORCH_CUDA_ARCH_LIST="8.9" \
98
  bash compile_mesh_painter.sh
99
 
100
  RUN cat > /workspace/health_server.py <<'PY'