arg : add env variable for parallel (#9513)
* add env variable for parallel * Update README.md with env: LLAMA_ARG_N_PARALLEL
This commit is contained in:
parent
8344ef58f8
commit
8b836ae731
2 changed files with 2 additions and 2 deletions
|
@ -1312,7 +1312,7 @@ gpt_params_context gpt_params_parser_init(gpt_params & params, llama_example ex,
|
|||
[](gpt_params & params, int value) {
|
||||
params.n_parallel = value;
|
||||
}
|
||||
));
|
||||
).set_env("LLAMA_ARG_N_PARALLEL"));
|
||||
add_opt(llama_arg(
|
||||
{"-ns", "--sequences"}, "N",
|
||||
format("number of sequences to decode (default: %d)", params.n_sequences),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue