Skip to content

Commit 77234f5

Browse files
committed
update gpu image to 12.3
Signed-off-by: Kay Yan <[email protected]>
1 parent 6b43844 commit 77234f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/gpu.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can specify number of GPUs to use via `--gpus` option.
2020
The following example exposes all available GPUs.
2121

2222
```
23-
nerdctl run -it --rm --gpus all nvidia/cuda:9.0-base nvidia-smi
23+
nerdctl run -it --rm --gpus all nvidia/cuda:12.3.1-base-ubuntu20.04 nvidia-smi
2424
```
2525

2626
You can also pass detailed configuration to `--gpus` option as a list of key-value pairs. The following options are provided.
@@ -32,7 +32,7 @@ You can also pass detailed configuration to `--gpus` option as a list of key-val
3232
The following example exposes a specific GPU to the container.
3333

3434
```
35-
nerdctl run -it --rm --gpus '"capabilities=utility,compute",device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a' nvidia/cuda:9.0-base nvidia-smi
35+
nerdctl run -it --rm --gpus '"capabilities=utility,compute",device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a' nvidia/cuda:12.3.1-base-ubuntu20.04 nvidia-smi
3636
```
3737

3838
## Fields for `nerdctl compose`
@@ -53,7 +53,7 @@ The following exposes all available GPUs to the container.
5353
version: "3.8"
5454
services:
5555
demo:
56-
image: nvidia/cuda:9.0-base
56+
image: nvidia/cuda:12.3.1-base-ubuntu20.04
5757
command: nvidia-smi
5858
deploy:
5959
resources:

0 commit comments

Comments
 (0)