gpu-jupyter/src/Dockerfile.pytorch

16 lines
512 B
Docker
Raw Normal View History

# Install PyTorch dependencies
RUN conda install --quiet --yes \
pyyaml mkl mkl-include setuptools cmake cffi typing && \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
2020-02-22 19:35:24 +00:00
# Install PyTorch, version of cudatoolkit must match those of the base image
RUN conda install -y -c pytorch \
2020-02-23 17:48:26 +00:00
cudatoolkit=10.2 \
'pytorch=1.3.1' \
torchvision && \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER