Hi,
I tried to upgrade my Cuda version using commands :
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pinsudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600wget https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda-repo-ubuntu2004-11-7-local_11.7.0-515.43.04-1_amd64.debsudo dpkg -i cuda-repo-ubuntu2004-11-7-local_11.7.0-515.43.04-1_amd64.debsudo cp /var/cuda-repo-ubuntu2004-11-7-local/cuda-*-keyring.gpg /usr/share/keyrings/sudo apt-get updatesudo apt-get -y install cuda
After running these commands nvidia-smi started giving this error:
Failed to initialize NVML: Driver/library version mismatch
I only have access to my virtual machine which is running on a remote server. I cannot restart the server since there are many others who are using the same server.
Also while trying to install new Cuda version, I got this error :
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
cuda-drivers-515 : Depends: nvidia-compute-utils-515 (>= 515.43.04) but it is not going to be installed
Depends: nvidia-utils-515 (>= 515.43.04) but it is not going to be installed
nvidia-driver-515 : Depends: nvidia-compute-utils-515 (= 515.43.04-0ubuntu1) but it is not going to be installed
Depends: nvidia-utils-515 (= 515.43.04-0ubuntu1) but it is not going to be installed
Recommends: libnvidia-compute-515:i386 (= 515.43.04-0ubuntu1)
Recommends: libnvidia-decode-515:i386 (= 515.43.04-0ubuntu1)
Recommends: libnvidia-encode-515:i386 (= 515.43.04-0ubuntu1)
Recommends: libnvidia-fbc1-515:i386 (= 515.43.04-0ubuntu1)
Recommends: libnvidia-gl-515:i386 (= 515.43.04-0ubuntu1)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
nvidia-bug-report.log (5.0 MB)
If possible suggest the ways to remove the new cuda version installed