Option A. Install using the NVIDIA GPU Driver Extension (recommended)
Microsoft provides the NVIDIA GPU Driver Extension for Linux for N-series VMs. The VM may reboot during installation.
Docs. https://learn.microsoft.com/azure/virtual-machines/extensions/hpccompute-gpu-linux
Run from your local machine:
Wait a few minutes. Then SSH back in (VM may reboot).
Option B. Manual install (only if you have a specific driver requirement)
Follow Microsoft’s supported N-series driver setup guidance for Linux to choose the correct driver for your VM family and distro.
Docs. https://learn.microsoft.com/azure/virtual-machines/linux/n-series-driver-setup
7. Validate
On the VM:
Expected output:
A detected NVIDIA GPU (example: V100 or T4 depending on SKU)
A loaded driver and CUDA version (if applicable)
Next steps
Attach a data disk or mount a Blob Storage container for datasets
Containerize inference with Docker + NVIDIA Container Toolkit