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 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
Please help me solve this issue.