nvidia-smi not working

Sayant50 10 Reputation points
2023-05-11T13:03:06.3533333+00:00

Hi,

I am trying to install CUDA and Nvidia drivers on an NV series Azure VM. I am trying to install CUDA Toolkit 12.0.1 with associated drivers from the official site. After installation, I am being shown “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver” on nvidia-smi.

The following outputs are shown
$ nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

$ dkms status
nvidia, 530.30.02, 5.15.0-1037-azure, x86_64: installed

$ sudo mokutil --sb-state
SecureBoot disabled

$ nvcc --version gives appropriate cuda version information

Please help me solve this issue.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,800 questions
0 comments No comments
{count} votes