Correct device syntax to --gpus

Signed-off-by: Zeel B Patel <patel_zeel@iitgn.ac.in>
This commit is contained in:
Zeel B Patel 2022-01-30 13:53:43 +05:30 committed by patel-zeel
parent 5bb88dc3c4
commit 2d6ebd1e3e
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)