From ba5b99e91c9edc8e1b4d264b42d1a13d828a2b46 Mon Sep 17 00:00:00 2001 From: Christoph Schranz Date: Sun, 23 Feb 2020 20:26:12 +0100 Subject: [PATCH] back to cuda 10.1 --- .build/Dockerfile | 4 ++-- .build/fix-permissions | 0 .build/jupyter_notebook_config.json | 0 .build/jupyter_notebook_config.py | 0 generate_Dockerfile.sh | 2 +- src/Dockerfile.header | 2 +- src/Dockerfile.pytorch | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 .build/Dockerfile mode change 100644 => 100755 .build/fix-permissions mode change 100644 => 100755 .build/jupyter_notebook_config.json mode change 100644 => 100755 .build/jupyter_notebook_config.py diff --git a/.build/Dockerfile b/.build/Dockerfile old mode 100644 new mode 100755 index 0328c86..c007c06 --- a/.build/Dockerfile +++ b/.build/Dockerfile @@ -1,6 +1,6 @@ # Use NVIDIA CUDA as base image and run the same installation as in the other packages. # The version of cudatoolkit must match those of the base image, see Dockerfile.pytorch -FROM nvidia/cuda:10.2-base-ubuntu18.04 +FROM nvidia/cuda:10.1-base-ubuntu18.04 LABEL maintainer="Jupyter Project " ############################################################################ @@ -380,7 +380,7 @@ RUN conda install --quiet --yes \ # Install PyTorch, version of cudatoolkit must match those of the base image RUN conda install -y -c pytorch \ - cudatoolkit=10.2 \ + cudatoolkit=10.1 \ 'pytorch=1.3.1' \ torchvision && \ conda clean --all -f -y && \ diff --git a/.build/fix-permissions b/.build/fix-permissions old mode 100644 new mode 100755 diff --git a/.build/jupyter_notebook_config.json b/.build/jupyter_notebook_config.json old mode 100644 new mode 100755 diff --git a/.build/jupyter_notebook_config.py b/.build/jupyter_notebook_config.py old mode 100644 new mode 100755 diff --git a/generate_Dockerfile.sh b/generate_Dockerfile.sh index 8c36384..2ced685 100755 --- a/generate_Dockerfile.sh +++ b/generate_Dockerfile.sh @@ -29,7 +29,7 @@ cp $STACKS_DIR/base-notebook/fix-permissions .build/ cp $STACKS_DIR/base-notebook/start.sh .build/ cp $STACKS_DIR/base-notebook/start-notebook.sh .build/ cp $STACKS_DIR/base-notebook/start-singleuser.sh .build/ -chmod 755 .build/*.sh +chmod 755 .build/* echo " ############################################################################ diff --git a/src/Dockerfile.header b/src/Dockerfile.header index 1a5d9ba..60fe719 100644 --- a/src/Dockerfile.header +++ b/src/Dockerfile.header @@ -1,4 +1,4 @@ # Use NVIDIA CUDA as base image and run the same installation as in the other packages. # The version of cudatoolkit must match those of the base image, see Dockerfile.pytorch -FROM nvidia/cuda:10.2-base-ubuntu18.04 +FROM nvidia/cuda:10.1-base-ubuntu18.04 LABEL maintainer="Jupyter Project " diff --git a/src/Dockerfile.pytorch b/src/Dockerfile.pytorch index f3eec75..ad344ed 100644 --- a/src/Dockerfile.pytorch +++ b/src/Dockerfile.pytorch @@ -7,7 +7,7 @@ RUN conda install --quiet --yes \ # Install PyTorch, version of cudatoolkit must match those of the base image RUN conda install -y -c pytorch \ - cudatoolkit=10.2 \ + cudatoolkit=10.1 \ 'pytorch=1.3.1' \ torchvision && \ conda clean --all -f -y && \