Use GPU in Virtual Machine

mahmoud_shihab
mahmoud_shihab Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 42 Partner
edited July 2024 in Setup & Configuration

I am currently running Dataiku 11 on a windows machine hosting a Red Hat 8 VM (on VM Ware Workstation Pro), and I would like to utilize the GPU in the computer

My computer has a Quadro k6000 and when I check the VM, I find:

$ lspci | grep -e VGA
00:0f.0 VGA compatible controller: VMware SVGA II Adapter

Is there a way to utilize the GPU within the Dataiku VM?


Operating system used: Red Hat 8 VM

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023, Circle Member Posts: 2,722 Neuron

    GPU Passthrough means that the guest OS gets direct access to the graphics adapter.

    In that case the guest OS directly controls the GPU and you need another GPU for the host OS.

    VMware Workstation does not support GPU passthrough.

    https://communities.vmware.com/t5/VMware-Workstation-Pro/VMware-Workstation-17-Pro-supports-use-of-host-GPU/td-p/2847355

    You will need to install RHEL natively in your computer or look for another virtualisation OS host that supports GPU Passthrough. In general this is not supported or support is experimental. People in the enterprise don't usually run GPUs under virtualisation.

  • mahmoud_shihab
    mahmoud_shihab Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 42 Partner

    Thanks Turribeach.


    Look for another virtualisation OS host that supports GPU Passthrough.


    Do you have any good suggestions?

Setup Info
    Tags
      Help me…