Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCI-passthrough/GPU support #159

Open
alexkreidler opened this issue Oct 17, 2017 · 2 comments

Comments

@alexkreidler
Copy link

@alexkreidler alexkreidler commented Oct 17, 2017

This would mainly be useful for machine learning development in Docker, and would allow us to use https://github.com/NVIDIA/nvidia-docker (or similar) to build and run GPU containers.

See machyve/xhyve#108.

@benaubin

This comment has been minimized.

Copy link

@benaubin benaubin commented Mar 2, 2018

Would be great to use with an @NVIDIA GPU!

@rn

This comment has been minimized.

Copy link
Member

@rn rn commented Mar 2, 2018

As pointed out in the link to xhyve above it is non-trivial and not at all clear if Apple exposes the right APIs for this (e.g. access to the IOMMU from userspace). GPUs are further complicated as they are obviously also used the host. So GPUs would require either on device virtualisation capabilities (so that a virtual GPU could be passed to the VM, assuming VT-d is accessible) or some higher level GPU proxy device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.