Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GPU pass-through with VNC - Machine Learning server

Featured Replies

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

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.

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.

  • Author

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.

  • 6 months later...
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?...

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.