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

docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. #107

Open
SameerShanbhogue opened this issue Jul 12, 2024 · 2 comments

Comments

@SameerShanbhogue
Copy link

Hi

I am trying to use GPU inside - dockerfile-kasm-ubuntu-jammy-dind - image. using kasm workspace. GPU is enable in kasm workspace config..

nvidia-smi is working below are details

image

But when i try to test GPU following error occurs

default:~/Desktop$ docker run -it --rm --gpus '"device=0,2"' tensorflow/tensorflow:latest-gpu nvidia-smi
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

glxheads

image

@j-travis
Copy link
Contributor

HI,
Try adding the following to your Docker Run Config in the workspace configuration

{
"environment": {
"NVIDIA_DRIVER_CAPABILITIES": "all"
}
}

@SameerShanbhogue
Copy link
Author

SameerShanbhogue commented Jul 12, 2024 via email

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

2 participants