I want to use my gpu run run AI models. All the guides I’ve seen regarding gpu passthrough say to make a standalone qube. Is there a known way to do this but with a typical template+appVM setup as opposed to using a standalone qube?
I have managed to attach my gpu to my appVM but installing the drivers into the template is where I’m having issues. I plan on running Ollama/open webui. Not running agents or anything like that.
Yes, there’s no reason why it shouldn’t work with an AppVM. Just install the drivers in the TemplateVM and then create an AppVM HVM with the PCI devices attached.
I would argue if its even worth to create a separate template for it.
I think the base template for all the others vms should also be expanded to allow for hvm/gpu boots. Same as locker docker installs, let all vm’s have it …
GPU driver installation (at least for Nvidia) requires you to use the in-VM kernel, which necessitates using a HVM. Using PVH qubes is better unless you really have to use HVM, so I wouldn’t do that for all my Qubes.