Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -51,8 +51,8 @@ ENV PYTHONUNBUFFERED=1
|
|
| 51 |
|
| 52 |
# Set the environment variable to specify the GPU device
|
| 53 |
ENV CUDA_HOME=/bin/nvcc
|
| 54 |
-
ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|
| 55 |
-
ENV CUDA_VISIBLE_DEVICES=0
|
| 56 |
|
| 57 |
# ENV PATH=${CUDA_HOME}/bin:/home/${USER_NAME}/.local/bin:/usr/bin:${PATH}
|
| 58 |
# ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:/usr/local/lib/python3.8/site-packages/open3d:/usr/lib:/usr/lib64:${LD_LIBRARY_PATH}
|
|
@@ -73,13 +73,14 @@ RUN pip install --upgrade pip ninja
|
|
| 73 |
RUN pip install setuptools==69.5.1
|
| 74 |
RUN pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
|
| 75 |
|
| 76 |
-
RUN python -c "import torch; print(torch.version.cuda)"
|
| 77 |
COPY requirements.txt /tmp
|
| 78 |
RUN cd /tmp && pip install -r requirements.txt
|
| 79 |
|
| 80 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/kaolin-0.11.0-cp38-cp38-linux_x86_64.whl
|
| 81 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/pytorch3d-0.7.0-cp38-cp38-linux_x86_64.whl
|
| 82 |
RUN pip install pyembree
|
|
|
|
| 83 |
|
| 84 |
ENV TRANSFORMERS_CACHE=/tmp
|
| 85 |
ENV MPLCONFIGDIR=/tmp
|
|
|
|
| 51 |
|
| 52 |
# Set the environment variable to specify the GPU device
|
| 53 |
ENV CUDA_HOME=/bin/nvcc
|
| 54 |
+
# ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|
| 55 |
+
# ENV CUDA_VISIBLE_DEVICES=0
|
| 56 |
|
| 57 |
# ENV PATH=${CUDA_HOME}/bin:/home/${USER_NAME}/.local/bin:/usr/bin:${PATH}
|
| 58 |
# ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:/usr/local/lib/python3.8/site-packages/open3d:/usr/lib:/usr/lib64:${LD_LIBRARY_PATH}
|
|
|
|
| 73 |
RUN pip install setuptools==69.5.1
|
| 74 |
RUN pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
|
| 75 |
|
| 76 |
+
RUN python -c "import torch, os; print(torch.version.cuda); print(os.environ.get('CUDA_PATH')); print(os.environ.get('CUDA_HOME'))"
|
| 77 |
COPY requirements.txt /tmp
|
| 78 |
RUN cd /tmp && pip install -r requirements.txt
|
| 79 |
|
| 80 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/kaolin-0.11.0-cp38-cp38-linux_x86_64.whl
|
| 81 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/pytorch3d-0.7.0-cp38-cp38-linux_x86_64.whl
|
| 82 |
RUN pip install pyembree
|
| 83 |
+
RUN pip install git+https://github.com/YuliangXiu/neural_voxelization_layer.git
|
| 84 |
|
| 85 |
ENV TRANSFORMERS_CACHE=/tmp
|
| 86 |
ENV MPLCONFIGDIR=/tmp
|