Open PolyglotBuckeye opened 1 month ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
/feature
I'll try to do GPU partitioning with a Ubuntu VM under Hyper-v.
I am curious what would happen in this scenario.
In my experience working with partitioned GPUs on Azure (but admittedly never on WSL) requires the NVIDIA GRID drivers.
Is your feature request related to a problem? Please describe.
The problem is that WSL under a Hyper-V GPU Partitioned machine can't use the GPU (Nvidia), as stated in #8179 2 YEARS ago.
Describe the solution you'd like
Expected behavior on vm: https://www.youtube.com/watch?v=JaHVsZa2jTc
For this to work there should be some configuration regarding the linkers to the drivers that are virtualized inside the Hyper-v VM.
The files from "C:\Windows\System32\lxss" when copied to the VM should do the link to the drivers. Or they should be changed in a way to accommodate the virtual GPU.
Describe alternatives you've considered
I'll try to do GPU partitioning with a Ubuntu VM under Hyper-v.
Additional context
Tech stack: Windows 11 ✅ → Hyper-v ✅-> Windows 11 guest + Gpu Partitioning + Nested Virtualization ✅-> Docker Desktop + WSL ✅ → GPU acceleration (nvidia-smi) ❌
This is what I get in WSL when I copy the linkers("C:\Windows\System32\lxss") to VM:
More details and my hardware are here: https://forums.developer.nvidia.com/t/run-cuda-inside-docker-wsl-on-windows-11-hyper-v-vm-with-gpu-patritioning/308212
Cuda #WSL #GPU-P #Paravirtualization #GPU Partitioning #NVIDIA #Docker #Nested Virtualization #nvidia-smi #Hyper-v