Skip to content

Commit

Permalink
Merge pull request #3414 from patel-zeel/patch-1
Browse files Browse the repository at this point in the history
Correct device syntax to --gpus
  • Loading branch information
thaJeztah authored Jan 31, 2022
2 parents 5bb88dc + 2d6ebd1 commit 36f6017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/commandline/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

```console
$ docker run -it --rm --gpus device=0,2 nvidia-smi
$ docker run -it --rm --gpus '"device=0,2"' nvidia-smi
```

### Restart policies (--restart)
Expand Down

0 comments on commit 36f6017

Please sign in to comment.