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]]. #278

Closed
YunYang1994 opened this issue Apr 13, 2021 · 3 comments

Comments

@YunYang1994
Copy link

when I run the command

docker run --gpus all --rm --ipc=host -it odtk:latest

it throws an error

docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
@ghost
Copy link

ghost commented Apr 14, 2021

Can you run nvidia-smi?

@YunYang1994
Copy link
Author

Can you run nvidia-smi?

yes

~ » nvidia-smi                                                                        yang@yang-MS-7B17
Wed Apr 14 11:14:56 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.23.04    Driver Version: 455.23.04    CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 3090    Off  | 00000000:01:00.0 Off |                  N/A |
|  0%   56C    P0    43W / 350W |      0MiB / 24267MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

@ghost
Copy link

ghost commented Apr 14, 2021

Please refer to this issue: NVIDIA/nvidia-docker#1243

@ghost ghost closed this as completed Apr 14, 2021
This issue was closed.
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

1 participant