From b95c3980431a1fa8cf61887d8b87d3e7254a0261 Mon Sep 17 00:00:00 2001 From: vElectron <235713875+velectron@users.noreply.github.com> Date: Thu, 4 Jun 2026 16:47:05 +0100 Subject: [PATCH] Replace deprecated runtime option with gpus --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 559cc18..1038fe4 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Likewise, running the following on a host with a functioning the same output as above: ```bash -$ docker run --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all ubuntu:20.04 nvidia-smi -L +$ docker run --gpus=all ubuntu nvidia-smi -L GPU 0: NVIDIA A100-SXM4-40GB (UUID: GPU-4cf8db2d-06c0-7d70-1a51-e59b25b2c16c) GPU 1: NVIDIA A100-SXM4-40GB (UUID: GPU-4404041a-04cf-1ccf-9e70-f139a9b1e23c) GPU 2: NVIDIA A100-SXM4-40GB (UUID: GPU-79a2ba02-a537-ccbf-2965-8e9d90c0bd54)