Delete all nvidia-driver but still show in nvidia-smi on ubuntu 18.04

I am run cuda, gpu,… on remote server, and it is allocated on docker image nvidia.

I want to uninstall current driver and cuda version, in order to reinstall it with upgraded version (from CUDA version 10.1 to 11.7)

Even though I uninstall all nvidia driver completely:

But nvidia-driver still shows in nvidia-smi:

I have no idea to upgrade nvidia-driver, and try 5 days to find solutions. I really need your help.

Thank you so much.

Hi @hoangducnhatminh102 ,
You can try the following steps -
find the appropriate driver for your GPU. from here and download the latest driver.
You can install the driver using teh below command
chmod +x NVIDIA-Linux-x86_64-<version>.run

Please reboot the system and you can always verify your installation from nvidia-smi

Hi @AakankshaS, thank you for replying me.

I download it and run: sh but got error:


This contains the correct set of commands to uninstall the driver. Please search for the keyword “uninstall”