back to cuda 10.1
This commit is contained in:
		
							
								
								
									
										4
									
								
								.build/Dockerfile
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										4
									
								
								.build/Dockerfile
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -1,6 +1,6 @@
 | 
				
			|||||||
# Use NVIDIA CUDA as base image and run the same installation as in the other packages.
 | 
					# 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
 | 
					# 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 <jupyter@googlegroups.com>"
 | 
					LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
############################################################################
 | 
					############################################################################
 | 
				
			||||||
@@ -380,7 +380,7 @@ RUN conda install --quiet --yes \
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Install PyTorch, version of cudatoolkit must match those of the base image
 | 
					# Install PyTorch, version of cudatoolkit must match those of the base image
 | 
				
			||||||
RUN conda install -y -c pytorch \
 | 
					RUN conda install -y -c pytorch \
 | 
				
			||||||
    cudatoolkit=10.2 \
 | 
					    cudatoolkit=10.1 \
 | 
				
			||||||
    'pytorch=1.3.1' \
 | 
					    'pytorch=1.3.1' \
 | 
				
			||||||
    torchvision && \
 | 
					    torchvision && \
 | 
				
			||||||
    conda clean --all -f -y && \
 | 
					    conda clean --all -f -y && \
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										0
									
								
								.build/fix-permissions
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								.build/fix-permissions
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
								
								
									
										0
									
								
								.build/jupyter_notebook_config.json
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								.build/jupyter_notebook_config.json
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
								
								
									
										0
									
								
								.build/jupyter_notebook_config.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								.build/jupyter_notebook_config.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -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.sh .build/
 | 
				
			||||||
cp $STACKS_DIR/base-notebook/start-notebook.sh .build/
 | 
					cp $STACKS_DIR/base-notebook/start-notebook.sh .build/
 | 
				
			||||||
cp $STACKS_DIR/base-notebook/start-singleuser.sh .build/
 | 
					cp $STACKS_DIR/base-notebook/start-singleuser.sh .build/
 | 
				
			||||||
chmod 755 .build/*.sh
 | 
					chmod 755 .build/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "
 | 
					echo "
 | 
				
			||||||
############################################################################
 | 
					############################################################################
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
# Use NVIDIA CUDA as base image and run the same installation as in the other packages.
 | 
					# 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
 | 
					# 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 <jupyter@googlegroups.com>"
 | 
					LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@ RUN conda install --quiet --yes \
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Install PyTorch, version of cudatoolkit must match those of the base image
 | 
					# Install PyTorch, version of cudatoolkit must match those of the base image
 | 
				
			||||||
RUN conda install -y -c pytorch \
 | 
					RUN conda install -y -c pytorch \
 | 
				
			||||||
    cudatoolkit=10.2 \
 | 
					    cudatoolkit=10.1 \
 | 
				
			||||||
    'pytorch=1.3.1' \
 | 
					    'pytorch=1.3.1' \
 | 
				
			||||||
    torchvision && \
 | 
					    torchvision && \
 | 
				
			||||||
    conda clean --all -f -y && \
 | 
					    conda clean --all -f -y && \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user