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

containerd and nvidia-container-runtime instead of nvidia-docker2 #51

Open
Frank-17 opened this issue Apr 25, 2022 · 2 comments
Open

containerd and nvidia-container-runtime instead of nvidia-docker2 #51

Frank-17 opened this issue Apr 25, 2022 · 2 comments

Comments

@Frank-17
Copy link

Any chance to have the device plugin working on containerd without nvidia-docker2?

I have rebuild my cluster with Conteinerd and on my worker nodes
the following are installed
libnvidia-container
nvidia-container-toolkit
nvidia-container-runtime

but the device plugin rises the error:

0425 10:34:29.375414 1 main.go:18] Start gpushare device plugin
I0425 10:34:29.382160 1 gpumanager.go:28] Loading NVML
I0425 10:34:29.382601 1 gpumanager.go:31] Failed to initialize NVML: could not load NVML library.
I0425 10:34:29.382616 1 gpumanager.go:32] If this is a GPU node, did you set the docker default runtime to nvidia?

The default runtime has been setup to nvidia-container-runtime

[plugins."io.containerd.runtime.v1.linux"]
no_shim = false
runtime = "nvidia-container-runtime"
runtime_root = ""
shim = "containerd-shim"
shim_debug = false

Anyone has found a workaround?
Any plan to replace nvidia-docker2 with nvidia-container-runtime

Thanks

@vio-f
Copy link

vio-f commented Jun 23, 2022

Yes I followed this to get containerd it running but I still have issues.
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#containerd

@has-avila
Copy link

This is a great topic.
Now that Kubernetes removed support for Docker as a container runtime.
Has anyone found a workaround to implement GPU sharing with the containerd without issues?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants