Merge pull request #12406 from pneumoman/patch-1

Update resource_constraints.md
This commit is contained in:
Sebastiaan van Stijn 2021-03-09 09:36:53 +01:00 committed by GitHub
commit fc32f5721a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ $ docker run -it --rm --gpus device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a ubu
Exposes that specific GPU.
```bash
$ docker run -it --rm --gpus device=0,2 ubuntu nvidia-smi
$ docker run -it --rm --gpus '"device=0,2"' ubuntu nvidia-smi
```
Exposes the first and third GPUs.