From d4eb60f48d22f4ae97acef4a239dccdf9549877d Mon Sep 17 00:00:00 2001 From: "A.J" <47569261+antferdom@users.noreply.github.com> Date: Mon, 12 Jun 2023 13:59:22 +0200 Subject: [PATCH] docs(launcher): fix CUDA_VISIBLE_DEVICES helper comment (#441) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # What does this PR do? It solves a typo in the comment sections referencing the environment variable `CUDA_VISIBLE_DEVICES`. No misspelling references to this variable have been found in code logic leading to undefined behaviour or bugs. This PR is not expected to perform any code logic modification. --- launcher/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/src/main.rs b/launcher/src/main.rs index f59ff685..36f6f6b6 100644 --- a/launcher/src/main.rs +++ b/launcher/src/main.rs @@ -60,8 +60,8 @@ struct Args { sharded: Option, /// The number of shards to use if you don't want to use all GPUs on a given machine. - /// You can use `CUDA_VISIBLE_DEVICE=0,1 text-generation-launcher... --num_shard 2` - /// and `CUDA_VISIBLE_DEVICE=2,3 text-generation-launcher... --num_shard 2` to + /// You can use `CUDA_VISIBLE_DEVICES=0,1 text-generation-launcher... --num_shard 2` + /// and `CUDA_VISIBLE_DEVICES=2,3 text-generation-launcher... --num_shard 2` to /// launch 2 copies with 2 shard each on a given machine with 4 GPUs for instance. #[clap(long, env)] num_shard: Option,