Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocumentation issue specifying --gpus #1257
Open
Comments
|
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
1. Issue or feature description
Documentation on the use of
--gpusflag 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-smiShould be:
$ docker run --gpus '"device=2,3"' nvidia/cuda:9.0-base nvidia-smiThe fix for the error was specified in #1026 yet the documentation wasn't updated.