Tylercollins590 Posted January 6, 2020 Share Posted January 6, 2020 I've looked but am unable to find an answer. Is it possible to pass through a GPU to a VM without using it as the display? Ideally I would still be able to use VNC (without the GPU processing the video) and use the GPU as a PCI device for machine learning. I could liken this to using a GPU for plex encoding on a remote server. I just need the GPU to run my machine learning code without out-putting video. Thank you Quote Link to comment
Shima Posted January 6, 2020 Share Posted January 6, 2020 hi. Out of curiosity are you thinking of something like Vast.AI to be launched on a VM? i was thinking of running it on the unraid server some time back, and run the processing while the VMs were down or use mining GPUs like p104.100 with a asus turbo 1080 bios passed to the vm, but never got to it in the end. I would be curious to see how this would work. Quote Link to comment
testdasi Posted January 7, 2020 Share Posted January 7, 2020 On 1/6/2020 at 3:03 AM, Tylercollins590 said: I've looked but am unable to find an answer. Is it possible to pass through a GPU to a VM without using it as the display? Ideally I would still be able to use VNC (without the GPU processing the video) and use the GPU as a PCI device for machine learning. I could liken this to using a GPU for plex encoding on a remote server. I just need the GPU to run my machine learning code without out-putting video. Thank you That is a client OS problem, not an Unraid (host) problem. Unraid simply passes through a PCIe device - it doesn't say on the tin if the PCIe device is a GPU or not. The client OS detects the GPU and decides whether to use it for outputting video or not. You can potentially work-around it by setting up both VNC display and additional GPU. However, if the client OS decides "oh we have a GPU" and uses it for display then it won't work. No way to know for sure without actually trying it out. Quote Link to comment
Tylercollins590 Posted January 8, 2020 Author Share Posted January 8, 2020 I figured out how to get it to work by editing the XML. All now seems to work and I'm able to access the VM through VNC and utilize the GPU for CUDA and machine learning. Quote Link to comment
RusmanCool Posted July 20, 2020 Share Posted July 20, 2020 On 1/7/2020 at 10:06 PM, Tylercollins590 said: I figured out how to get it to work by editing the XML. All now seems to work and I'm able to access the VM through VNC and utilize the GPU for CUDA and machine learning. Great job..., would you be so kind to share this info?... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.