-
Notifications
You must be signed in to change notification settings - Fork 5k
Add support to docker runtime for OCI access to NVIDIA GPUs #20959
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
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: aaron-nall The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @aaron-nall! |
Hi @aaron-nall. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Can one of the admins verify this patch? |
@aaron-nall can you plz help me undrestand this PR more ? maybe a Before/After this PR ? what exactly is being enabled in this PR ? what couldn't have been done before it ? and also I think if you do --gpus=all it will automatically enable the addon and not needed to specifiy it |
/ok-to-test |
containers/podman#21156 I think it is related to this pr |
This comment has been minimized.
This comment has been minimized.
If CDI Devices are enabled for dockerd, at least in the latest stable NixOS release, the The dockerd feature is listed as experimental, but it seems to be the only way to access Nvidia GPUs in current NixOS docker installs. |
@aaron-nall can you plz fix the unit test "make test" --- FAIL: TestValidateGPUs (0.00s) |
kvm2 driver with docker runtime
Times for minikube start: 50.5s 51.3s 53.8s 49.9s 48.2s Times for minikube ingress: 16.1s 15.5s 16.0s 15.0s 14.5s docker driver with docker runtime
Times for minikube ingress: 12.8s 12.3s 13.3s 12.3s 12.3s Times for minikube start: 22.5s 25.6s 24.1s 24.9s 22.6s docker driver with containerd runtime
Times for minikube (PR 20959) start: 22.4s 22.0s 23.4s 24.3s 23.0s Times for minikube ingress: 24.3s 38.8s 22.8s 22.8s 39.8s |
/retest-this-please |
fixes #20597
Adds support for OCI interface to NVIDIA GPUS with a new valid --gpus option "nvidia.com".