Correct device syntax to --gpus

Signed-off-by: Zeel B Patel <patel_zeel@iitgn.ac.in>
(cherry picked from commit 2d6ebd1e3e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Zeel B Patel 2022-01-30 13:53:43 +05:30 committed by Sebastiaan van Stijn
parent 59a8a0906f
commit 5c6723d080
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ $ docker run -it --rm --gpus device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a ubu
The example below exposes the first and third GPUs. The example below exposes the first and third GPUs.
```console ```console
$ docker run -it --rm --gpus device=0,2 nvidia-smi $ docker run -it --rm --gpus '"device=0,2"' nvidia-smi
``` ```
### Restart policies (--restart) ### Restart policies (--restart)