Skip to content

Commit

Permalink
add env variable for parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
bertwagner committed Sep 16, 2024
1 parent 23e0d70 commit a25f838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/arg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit a25f838

Please sign in to comment.