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
Open

PCI-passthrough/GPU support #159

alexkreidler opened this issue Oct 17, 2017 · 2 comments

Comments

@alexkreidler
Copy link

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
Copy link

benaubin commented Mar 2, 2018

Would be great to use with an @NVIDIA GPU!

@rn
Copy link
Member

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
Development

No branches or pull requests

4 participants