Enter nvidia-smi, the displayed graphics card version is inconsistent

I am on the ubuntu system, so I executed it first

sudo apt-get --purge remove "*nvidia*" "libxnvctrl*"
sudo apt-get autoremove'

Uninstall the old driver version, then run

sudo ./NVIDIA-Linux-x86_64-535.54.03.run --no-cc-version-check

to install the new graphics driver, enter nvidia-smi, and find

NVIDIA-SMI 510.47.03,Driver Version: 535.54.03. Theoretically these two should be 535.54.03, right? Why does this happen? Please help me


Hello,is anyone maintaining this section?

Nvidia has dedicated most of its resources to AI. They do pop in from time to time, but it’s rarer by the month.

Regarding your issue, I’ve never seen nvidia-smi differ in version from the driver. The underlying library, NVML, has to be in sync with the driver, anyway.

I would really recommend updating via the package manager to the newest available and installing CUDA from the same. The fact that nvidia-smi and the driver aren’t the same isn’t right.

Thanks for your reply, I have now fixed the problem by deleting some of the folders in the warning message and reinstalling the driver again