-
Notifications
You must be signed in to change notification settings - Fork 52
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
Is it possible to support vGPU? #87
Comments
Yes, support for the vGPU API should be possible, however unfortunately we don't actually have any GPUs that support it to develop and test with. If you have one, I believe the nvml API needs to be annotated correctly: https://docs.nvidia.com/deploy/nvml-api/group__nvmlVirtualGpuQueries.html The annotations can be found here: https://github.com/kevmo314/scuda/blob/main/codegen/annotations.h I don't know of a good test case for vGPU's though, ideally a very minimal binary that runs through the APIs would make verification easier. |
Do you have any more complex cases that can run? Currently, I can only execute the simplest nvidia-smi command. build image
create docker network
start server
start client
test nvidia-smi
test cuda api (aborted)
|
You can find our test suite here which covers the cases that currently work and we've verified that they work: https://github.com/kevmo314/scuda/blob/main/local.sh#L24 We are still working through all the APIs though, admittedly this repo gained visibility much faster than we have been able to wire them all up together :) Most of the APIs only require some tweaks in the annotations file, although getting used to knowing which tweaks need to be made is a bit of an art right now. Some improved debugging tools are also on the roadmap. |
@kevmo314 What I'm referring to with vGPU is not the NVIDIA official MIG device. It's a technology that similarly use the Linux
|
@Fruneng 我也有这方面的需求,我在考虑如何将 Scuda 与 HAMi-core 进行集成,使得 gpu 具备池化的能力。 I also have needs in this regard. I am thinking about how to integrate Scuda with HAMi-core so that the gpu has pooling capabilities. |
@silenceli 太好了 我们可以讨论一下如何实现 |
可以加个微信聊一聊 :-) ,微信名:silenceli_1988 |
like https://github.com/Project-HAMi/HAMi-core
The text was updated successfully, but these errors were encountered: