(How to) Register MIG instances with MDEV API for passthrough (RTX Pro 6000) #927
Unanswered
helperlings
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I need some input on this.
I've seen claims online that people are apparently able to pass through MIG instances of their RTX Pro 6000 (Workstation) cards to virtual machines running with libvirt/KVM. It seems when spawning MIG instances they can register with the MDEV interface and then be passed through to a VM this way.
However I am unable to replicate this with the open-source driver on RHEL9, Ubuntu 24.04 and Ubuntu 25.04. From what little I was able to gather online, about the MDEV module, the driver needs to register the instances as MDEV devices and expose the MDEV capabilities.
I've read that there should be indicators like a 'mdev_supported_types' folder in the devices /sys-submenu but for my card there is none. I have the current 580 driver, CUDA Toolkit 13.0, I have run 'modprobe mdev', I have put the the GPU in compute only mode and I have successfully spawned MIG instances. Though I do not see a single MDEV instance and my guess here is that I am missing a piece linking the driver and the MDEV API.
An input is welcome! Thank you.
Beta Was this translation helpful? Give feedback.
All reactions