(Yesterday, 12:21 AM)TheDreadPirate Wrote: If you used a VM instead of a LXC, would you still have to install the old Nvidia drivers on the host? Could you still share a GPU between a LXC and a VM?
AFAICT, using a VM would allow you to fully isolate drivers on that VM. But I can't get a clear answer on whether that GPU is still sharable with older VMs and LXCs.
Thanks for your reply 🙂
I use LXC containers because I can share my GPU resources between containers running concurrently. That imposes to install the same driver on the host and the containers.
I could use a VM and install specific drivers for it. However I wouldn't be able to share the GPU with other VM/containers that way, so that's not what I want to do.
My goal is to run a Jellyfin server alongside a custom LLM for example.
Also, in the VM setup, switching between GPU-in-VM to GPU-to-LXC is very complicated and would require to reboot the server each time, so that's a big no for me.