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

Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]] #81

Closed
aTnT opened this issue Sep 19, 2022 · 8 comments

Comments

@aTnT
Copy link

aTnT commented Sep 19, 2022

Just posting here in case someone gets the same issue. I had this issue while building the services.

Installing NVIDIA Container Toolkit solved it:

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#setting-up-nvidia-container-toolkit

@aTnT aTnT closed this as completed Sep 19, 2022
@AbdBarho
Copy link
Owner

AbdBarho commented Sep 19, 2022

Related #70 #16

I will add to FAQ because it seems many people are facing the problem

@cspace-echo
Copy link

Does this also help if you get the error when running the "auto-cpu" profile? because I'm getting this error with that.

@AbdBarho
Copy link
Owner

@cspace-echo no this should not happen if you use CPU, can you create a new issue?

@cspace-echo
Copy link

@cspace-echo no this should not happen if you use CPU, can you create a new issue?

Done, #142

@aldrinjenson
Copy link

This fixed the issue for me. Thank You!

@PairZhu
Copy link

PairZhu commented Apr 22, 2023

Wow, Thanks! It works.

@Angular-Angel
Copy link

so, If I'm on Ubuntu 23.04 and there's no version of the required nvidia package for my operating system, is there something I can do? Without just changing my operating system, or the like?

@iamrgroot
Copy link

@Angular-Angel installing the ubuntu22.04 version just seems to work. To add the key I used:

distribution=ubuntu22.04       && curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg       && curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list |             sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' |             sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

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

7 participants