Georg commited on
Commit
7d682f3
·
1 Parent(s): b89238c

Optimized Docker build to fix OOM errors

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -15,8 +15,7 @@ ENV MAX_JOBS=1
15
 
16
  # Install nvdiffrast (CUDA rasterizer) - needs GPU, build here
17
  RUN git clone --depth 1 https://github.com/NVlabs/nvdiffrast.git /tmp/nvdiffrast \
18
- && cd /tmp/nvdiffrast \
19
- && python3 setup.py install \
20
  && python3 -c "import nvdiffrast.torch" \
21
  && rm -rf /tmp/nvdiffrast
22
 
 
15
 
16
  # Install nvdiffrast (CUDA rasterizer) - needs GPU, build here
17
  RUN git clone --depth 1 https://github.com/NVlabs/nvdiffrast.git /tmp/nvdiffrast \
18
+ && python3 -m pip install /tmp/nvdiffrast --no-build-isolation \
 
19
  && python3 -c "import nvdiffrast.torch" \
20
  && rm -rf /tmp/nvdiffrast
21