I started using azure nvidia-gpu-optimized-vmi-a10 vm
But there are no nvidia drivers in that VM and I am unable to install them also
Here are some commands and there outputs which can help in debugging the problem
Command : 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.
Command : sudo apt install nvidia-driver-495
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-driver-495 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
**E:** Package 'nvidia-driver-495' has no installation candidate
Command : sudo apt install nvidia-495
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nvidia-495
and for lspci command I am not getting any output
Some of the commands I tried sudo add-apt-repository ppa:graphics-drivers/pp sudo apt update
output for uname -a Linux sanath 5.15.0-1020-azure #25~20.04.1-Ubuntu SMP Thu Sep 1 19:20:56 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Did you uninstall the repo driver beforehand?
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
Then something went awry on creating it, it’s a simple vm with two xeon cores, 4GB RAM, 8GB SSD and no supplemental devices. Please check sudo lspci to see.
Just delete it try to properly recreate it.