Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
Fixes conda CUDA version in Dockerfile (facebookresearch#604)
Browse files Browse the repository at this point in the history
* fixes to dockerfile

* replaces local installation by git clone
  • Loading branch information
Miguel Varela Ramos authored and fmassa committed Mar 26, 2019
1 parent 1db3cc6 commit 311d6cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ ENV CONDA_AUTO_UPDATE_CONDA=false
RUN conda install -y ipython
RUN pip install ninja yacs cython matplotlib opencv-python

# Install PyTorch 1.0 Nightly and OpenCV
RUN conda install -y pytorch-nightly -c pytorch \
# Install PyTorch 1.0 Nightly
ARG CUDA
RUN echo conda install pytorch-nightly cudatoolkit=${CUDA} -c pytorch \
&& conda clean -ya

# Install TorchVision master
Expand Down

0 comments on commit 311d6cc

Please sign in to comment.