Unverified Commit d4eb60f4 authored by A.J's avatar A.J Committed by GitHub
Browse files

docs(launcher): fix CUDA_VISIBLE_DEVICES helper comment (#441)

# 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.
parent e496c9ba
...@@ -60,8 +60,8 @@ struct Args { ...@@ -60,8 +60,8 @@ struct Args {
sharded: Option<bool>, sharded: Option<bool>,
/// The number of shards to use if you don't want to use all GPUs on a given machine. /// 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` /// You can use `CUDA_VISIBLE_DEVICES=0,1 text-generation-launcher... --num_shard 2`
/// and `CUDA_VISIBLE_DEVICE=2,3 text-generation-launcher... --num_shard 2` to /// 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. /// launch 2 copies with 2 shard each on a given machine with 4 GPUs for instance.
#[clap(long, env)] #[clap(long, env)]
num_shard: Option<usize>, num_shard: Option<usize>,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment