mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 15:52:08 +00:00
change env var names
This commit is contained in:
parent
ce09fd32a1
commit
7bea9a105e
@ -21,13 +21,13 @@ use subprocess::{ExitStatus, Popen, PopenConfig, PopenError, Redirection};
|
||||
struct Args {
|
||||
#[clap(default_value = "bigscience/bloom-560m", long, env = "HF_MODEL_ID")]
|
||||
model_id: String,
|
||||
#[clap(long, env)]
|
||||
#[clap(long, env = "HF_MODEL_REVISION")]
|
||||
revision: Option<String>,
|
||||
#[clap(long, env)]
|
||||
sharded: Option<bool>,
|
||||
#[clap(long, env = "SM_NUM_GPUS")]
|
||||
num_shard: Option<usize>,
|
||||
#[clap(long, env)]
|
||||
#[clap(long, env = "HF_MODEL_QUANTIZE")]
|
||||
quantize: bool,
|
||||
#[clap(default_value = "128", long, env)]
|
||||
max_concurrent_requests: usize,
|
||||
|
Loading…
Reference in New Issue
Block a user