Skip to content

Commit f4d7b7a

Browse files
authored
Update cuda-toolkit.sh
1 parent 0d3afeb commit f4d7b7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cuda-toolkit.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
22
mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
3-
wget https://developer.download.nvidia.com/compute/cuda/12.8.1/local_installers/cuda-repo-ubuntu2204-12-8-local_12.8.1-570.124.06-1_amd64.deb
4-
dpkg -i cuda-repo-ubuntu2204-12-8-local_12.8.1-570.124.06-1_amd64.deb
5-
cp -r /var/cuda-repo-ubuntu2204-12-8-local/cuda-*-keyring.gpg /usr/share/keyrings/
3+
wget https://developer.download.nvidia.com/compute/cuda/12.6.3/local_installers/cuda-repo-ubuntu2204-12-6-local_12.6.3-560.35.05-1_amd64.deb
4+
dpkg -i cuda-repo-ubuntu2204-12-6-local_12.6.3-560.35.05-1_amd64.deb
5+
cp -r /var/cuda-repo-ubuntu2204-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/
66
apt-get update
7-
apt-get -y install cuda-toolkit-12-8
7+
apt-get -y install cuda-toolkit-12-6
88
apt-get install -y cuda-drivers

0 commit comments

Comments
 (0)