Abhishek Thakur
commited on
Commit
·
1a0afbb
1
Parent(s):
481c27c
pytorch3d
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -66,15 +66,14 @@ SHELL ["conda", "run","--no-capture-output", "-p","/app/env", "/bin/bash", "-c"]
|
|
66 |
|
67 |
RUN conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia && \
|
68 |
conda clean -ya && \
|
69 |
-
conda install -c "nvidia/label/cuda-12.1.0" cuda-nvcc && conda clean -ya
|
70 |
-
conda install pytorch3d -c pytorch3d && conda clean -ya
|
71 |
# conda install -c "nvidia/label/cuda-12.1.0" cuda-toolkit && conda clean -ya
|
72 |
|
73 |
-
|
74 |
-
|
75 |
COPY --chown=1000:1000 . /app/
|
76 |
RUN make socket-kit.so
|
77 |
|
|
|
|
|
78 |
ENV PATH="/app:${PATH}"
|
79 |
|
80 |
RUN pip install -e .
|
|
|
66 |
|
67 |
RUN conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia && \
|
68 |
conda clean -ya && \
|
69 |
+
conda install -c "nvidia/label/cuda-12.1.0" cuda-nvcc && conda clean -ya
|
|
|
70 |
# conda install -c "nvidia/label/cuda-12.1.0" cuda-toolkit && conda clean -ya
|
71 |
|
|
|
|
|
72 |
COPY --chown=1000:1000 . /app/
|
73 |
RUN make socket-kit.so
|
74 |
|
75 |
+
RUN pip install git+https://github.com/facebookresearch/pytorch3d.git@stable
|
76 |
+
|
77 |
ENV PATH="/app:${PATH}"
|
78 |
|
79 |
RUN pip install -e .
|