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

Documentation issue specifying --gpus #1257

Open
Rytiss opened this issue Apr 27, 2020 · 1 comment
Open

Documentation issue specifying --gpus #1257

Rytiss opened this issue Apr 27, 2020 · 1 comment

Comments

@Rytiss
Copy link

@Rytiss Rytiss commented Apr 27, 2020

1. Issue or feature description

Documentation on the use of --gpus flag at https://github.com/NVIDIA/nvidia-docker/wiki#i-have-multiple-gpu-devices-how-can-i-isolate-them-between-my-containers does not quote the parameters, resulting in an error:

docker: Error response from daemon: cannot set both Count and DeviceIDs on device request.

Documentation specifies:
$ docker run --gpus device=2,3 nvidia/cuda:9.0-base nvidia-smi

Should be:
$ docker run --gpus '"device=2,3"' nvidia/cuda:9.0-base nvidia-smi

The fix for the error was specified in #1026 yet the documentation wasn't updated.

@CT83
Copy link

@CT83 CT83 commented May 21, 2020

https://github.com/NVIDIA/nvidia-docker/wiki

Here as well. Someone give @Rytiss a 🏆

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.