-
Notifications
You must be signed in to change notification settings - Fork 67
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
Need to assign specific gpu or vgpu? #56
Comments
Are you trying to assign workloads to a specific physical gpu? Or is your question about how to assign a vgpu a profile and expose it on a Kubernetes Node? |
If a Kubernetes Node has multi gpu or vgpu, how to select which gpu or vgpu to use. |
Let's say I have these gpus and vgpus exposed on my node:
I can't say, "I want gpu 1e37 with pci id 01:00.00" or "I want vgpu RTX_10-8 on gpu with pci id 01:00.00". There isn't an exposed interface to select gpus by pci id, however you can control where workloads are scheduled in k8s (https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/), which you should use if you need that level of control. |
Closing. Please reopen if you are still having an issue. |
How to select which gpu or vgpu to allocate?
It seems that request YAML will assign specific vgpuID(str in code) and device plugin will use str to find specific vgpu in list to allocate.
The text was updated successfully, but these errors were encountered: