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.
This commit is contained in:
parent
e496c9ba5b
commit
d4eb60f48d
|
@ -60,8 +60,8 @@ struct Args {
|
|||
sharded: Option<bool>,
|
||||
|
||||
/// 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<usize>,
|
||||
|
|
Loading…
Reference in New Issue