-
Notifications
You must be signed in to change notification settings - Fork 3.4k
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Native nvidia support #4202
Comments
For vanilla containerd (not the cri plugin), the API is focused around the OCI spec. |
Thanks @cpuguy83, are there any docs with how to use that? |
So something like: client.NewContainer(ctx, "myContainer", containerd.WithNewSpec(containerd.WithDefaultSpec, nvidia.WithGPUs(...)) |
I'm also looking into better ways to handle this in CRI. But right now, I tested this the other day on my ubuntu system and the WithGPUs works great still. You can also use |
Seeing https://github.com/NVIDIA/nvidia-docker#quickstart
I was wondering if this is coming to containerd, assuming this is an implementation in runc? Or will we continue to need to add
nvidia-container-runtime
to the config.toml?The text was updated successfully, but these errors were encountered: