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

Flatcar Container Linux w/ Nvidia Driver #4

Open
jpuerto-psc opened this issue Feb 28, 2024 · 4 comments
Open

Flatcar Container Linux w/ Nvidia Driver #4

jpuerto-psc opened this issue Feb 28, 2024 · 4 comments
Labels
question Further information is requested

Comments

@jpuerto-psc
Copy link

Migrating this issue from GitLab https://gitlab.com/nvidia/container-images/driver/-/issues/31:

Good Afternoon,

I have had success following the instructions for getting this running on flatcar: https://gitlab.com/nvidia/container-images/driver/-/tree/master/flatcar
The only issue I am having is that I am unable to use the --gpus flag. Any advice on how to get this resolved?

Thanks!

Juan

@cdesiniotis
Copy link
Contributor

@jpuerto-psc can you share the command you are trying to run and the output you are seeing?

@cdesiniotis cdesiniotis added the question Further information is requested label Apr 26, 2024
@jpuerto-psc
Copy link
Author

@cdesiniotis - this is the command and subsequent error. Please note that this issue is 2 years old:

docker run --gpus=all --runtime=nvidia nvidia/cuda:11.0-base nvidia-smi
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ERRO[0000] error waiting for container: context canceled

I am able to get this to work without the gpus flag; however, our workflows require this parameter be passed.

@cdesiniotis
Copy link
Contributor

How are you installing NVIDIA Container Toolkit on your machine?

@jpuerto-psc
Copy link
Author

@cdesiniotis - I used the instructions here (https://gitlab.com/nvidia/container-images/driver/-/tree/master/flatcar) when I tried this two years ago. I'd like to note that I have not tried this since originally experiencing these issues two years ago, not sure if this has been resolved since then or not.

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

No branches or pull requests

2 participants