Cuda 12.3 instead of cuda 12.2 installation from the official site

I want to install cuda 12.2 with the 535 driver from the oficial repository https://developer.nvidia.com/cuda-12-2-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local
with this command in ubuntu 22.04

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pinsudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600wget https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda-repo-ubuntu2204-12-2-local_12.2.0-535.54.03-1_amd64.debsudo dpkg -i cuda-repo-ubuntu2204-12-2-local_12.2.0-535.54.03-1_amd64.debsudo cp /var/cuda-repo-ubuntu2204-12-2-local/cuda-*-keyring.gpg /usr/share/keyrings/sudo apt-get updatesudo apt-get -y install cuda

but this install cuda 12.3 with 545 driver version
why does nvidia make this mess? My app was designed for cuda 12.2 and now I can’t use it. I paid a lot of money to buy this crappy video card from nvidia and now I can’t install the drivers I want even from their official site, This is pure madness

Encountering the same problem with my Fedora38. I am learning ML and was trying to install cuda-toolkit. But it won’t install because the required Nvidia driver version is 545 but I have 535. Moreover, the required cuda version is 12.3 and I got 12.2!

Since yesterday I have been trying to install 545 and successfully wasted hours doing that. Result? nvidia-smi show “failed because it couldn’t communicate with the NVIDIA driver”. My secondary monitor is also blank.

At least my 535 was performing pretty well. Now I have to deal with this.

ts sem run local instaler it working well
to uninstall the old driver and cuda use this commands

sudo apt-get --purge remove nvidia-*
sudo apt-get --purge remove "*nvidia*"
sudo apt autoremove cuda
sudo apt-get --purge remove "*cublas*" "cuda*" "nsight*"
reboot

for install cuda 12.2 use this comand

wget https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux.runsudo sh cuda_12.2.0_535.54.03_linux.run

for install cuda12.3 use this comand

wget https://developer.download.nvidia.com/compute/cuda/12.3.0/local_installers/cuda_12.3.0_545.23.06_linux.runsudo sh cuda_12.3.0_545.23.06_linux.run

the problem remains, the official installation script installs other drivers than the declared ones. Does anyone know how we can contact nvidia to fix the problem?

please read the linux install guide: CUDA Installation Guide for Linux

to install an older version of CUDA using a package manager method, you must specify the CUDA version.

Instead of

apt-get install cuda

you must do

apt-get install cuda-12-2

thanks for the clarification, but someone should modify this test : https://developer.nvidia.com/cuda-12-2-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.