Spaces:
Sleeping
Sleeping
Georg commited on
Commit ·
3d1bba0
1
Parent(s): fd7af7f
Optimized Docker build to fix OOM errors
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -16,7 +16,7 @@ ENV MAX_JOBS=1
|
|
| 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 |
-
&&
|
| 20 |
&& python3 -c "import nvdiffrast.torch" \
|
| 21 |
&& rm -rf /tmp/nvdiffrast
|
| 22 |
|
|
|
|
| 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 -m pip install . --no-use-pep517 --no-build-isolation --no-deps \
|
| 20 |
&& python3 -c "import nvdiffrast.torch" \
|
| 21 |
&& rm -rf /tmp/nvdiffrast
|
| 22 |
|