Skip to content

Commit

Permalink
Install PyTorch for cuda 9
Browse files Browse the repository at this point in the history
  • Loading branch information
rosbo authored Feb 20, 2019
1 parent 02f8400 commit 9fa062c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN pip uninstall -y tensorflow && \
pip install /tmp/tensorflow_gpu/tensorflow*.whl && \
rm -rf /tmp/tensorflow_gpu && \
conda uninstall -y pytorch-cpu torchvision-cpu && \
conda install -y pytorch torchvision -c pytorch && \
conda install -y pytorch torchvision cudatoolkit=9.0 -c pytorch && \
/tmp/clean-layer.sh

# Install GPU-only packages
Expand Down

0 comments on commit 9fa062c

Please sign in to comment.