Instructions to upgrade nvidia drivers without changing cuda version on ubuntu


i’m trying to install cuda 10.0 on ubuntu 16.04 , on “new” hardware.
I wish to install “latest” nvidia drivers ( version 410 that is shipped with cuda 10.0 is not suitable for my needs).

Steps To Reproduce

after installing cuda 10.0 using :
sudo dpkg -i cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64.deb
sudo apt-key add /var/cuda-repo-10-0-local-10.0.130-410.48/
sudo apt-get update
sudo apt-get install cuda → does not return errors

but running nvidia-smi returns “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.”

[ sudo apt list --installed | grep nvidia returns nvidia-410 is installed ]

Is there a method for upgrading only the nvidia drivers without changing the cuda installation?



This issue doesn’t look like TensorRT related. We are moving this post to a CUDA setup related forum to get better help.

Thank you.