Can we add nvidia graphics card to VM?

Vinaykumar Srigireddy 0 Reputation points
2024-05-17T17:52:07.7833333+00:00

I am using Azure virtual machine and I want to add nvidia GPU Driver extension to my virtual machine. But this extension is not showing in extension tab. how can i add it.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,135 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Azar 24,035 Reputation points MVP
    2024-05-17T18:07:45.9666667+00:00

    Hi there Vinaykumar Srigireddy

    Thats a good question and thanks for using QandA platform

    To take advantage of the GPU capabilities of Azure N-series VMs, NVIDIA or AMD GPU drivers must be installed. For VMs backed by NVIDIA GPUs, the NVIDIA GPU Driver Extension installs appropriate NVIDIA CUDA or GRID drivers.

    The NVIDIA GPU Driver Extension for Windows installs NVIDIA GPU drivers on Windows N-series virtual machines (VMs). Depending on the VM family, the extension installs CUDA or GRID drivers. When you install NVIDIA drivers by using this extension, you accept and agree to the terms of the NVIDIA End-User License Agreement. During the installation process, the VM might reboot to complete the driver setup.

    The instructions for manual installation of the drivers, and the list of current supported versions are available for review. For more information, see Install NVIDIA GPU drivers on N-series VMs running Windows.

    For more info follow the documentation below

    https://learn.microsoft.com/en-us/azure/virtual-machines/sizes-gpu

    https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/hpccompute-gpu-windows

    If this helps kindly accept the answer.


  2. v-vvellanki-MSFT 4,920 Reputation points Microsoft Vendor
    2024-05-20T04:12:30.1633333+00:00

    Hi @Vinaykumar Srigireddy,

    Thanks for contacting Microsoft Q&A platform.

    The extension will only be available for VMs that have a graphics card. You cannot add a graphics card to VMs that do not have one. To find a series of GPU VM you can use this page. Once you have a GPU type VM you should be able to install the extension following the NVIDIA GPU Driver Extension for Linux or Windows.

    Hope this helps. Let me know if you still have questions or need further assistance.

    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.