Skip to content

Commit

Permalink
install cuda 11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen authored Nov 15, 2024
1 parent c880869 commit 4cd8d6a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ USER root
# install cuda toolkit
# https://developer.nvidia.com/cuda-11.1.0-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=2004&target_type=debnetwork
RUN apt-get update && \
apt-get install -y software-properties-common && \
apt-get install -y p7zip-full software-properties-common && \
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \
mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \
Expand All @@ -35,7 +35,9 @@ RUN apt-get update && \
rm -rf /etc/apt/sources.list.d/cuda.list && \
rm -rf /etc/apt/sources.list.d/nvidia-ml.list && \
apt-get update && \
apt-get -y install cuda && \
#apt-get -y install cuda && \
apt-get install -qqy cuda-11-1 cuda-nvcc-11-1 cuda-toolkit-11-1 && \

# wget -nv https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/libcudnn8_8.0.5.39-1+cuda11.1_amd64.deb -O /var/tmp/libcudnn8.deb && \
# wget -nv https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/libnccl2_2.8.4-1+cuda11.1_amd64.deb -O /var/tmp/libnccl2.deb && \
# dpkg -i /var/tmp/libcudnn8.deb /var/tmp/libnccl2.deb && \
Expand Down

0 comments on commit 4cd8d6a

Please sign in to comment.