I have not been able to start an attached GPU to an Azure Ubuntu VM. Here are the details I have culled out:
- IMAGE: NVIDIA GPU-Optimized VMI with vGPU driver
- GPU: Standard NV6ads A10 v5
- OS: 22.04.5 LTS
lspci
confirms the GPU is mountedazureuser@img-seg-vm:~$ lspci
0002:00:00.0 3D controller: NVIDIA Corporation Device 2236 (rev a1)
- PROBLEM:
azureuser@img-seg-vm:~$ nvidia-smi
No devices were found
- Tried installing a container anyway but the GPU is not starting.
- Container: pytorch:25.01-py3
docker run --gpus all -it --rm [nvcr.io/nvidia/pytorch:25.01-py3](http://nvcr.io/nvidia/pytorch:25.01-py3)
- ERROR: The NVIDIA Driver is present, but CUDA failed to initialize.
- GPU functionality will not be available.
- [[ No CUDA-capable device is detected (error 100) ]]
- Failed to detect NVIDIA driver version.