Skip to content

Commit b45e111

Browse files
committed
server: fix print usage LF in new --n-predict option
1 parent 8852de3 commit b45e111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1926,14 +1926,14 @@ static void server_print_usage(const char *argv0, const gpt_params &params,
19261926
printf(" --mmproj MMPROJ_FILE path to a multimodal projector file for LLaVA.\n");
19271927
printf(" --log-disable disables logging to a file.\n");
19281928
printf("\n");
1929+
printf(" -n, --n-predict maximum tokens to predict (default: %d)\n", params.n_predict);
19291930
printf(" --override-kv KEY=TYPE:VALUE\n");
19301931
printf(" advanced option to override model metadata by key. may be specified multiple times.\n");
19311932
printf(" types: int, float, bool. example: --override-kv tokenizer.ggml.add_bos_token=bool:false\n");
19321933
printf(" -gan N, --grp-attn-n N set the group attention factor to extend context size through self-extend(default: 1=disabled), used together with group attention width `--grp-attn-w`");
19331934
printf(" -gaw N, --grp-attn-w N set the group attention width to extend context size through self-extend(default: 512), used together with group attention factor `--grp-attn-n`");
19341935
printf(" --chat-template FORMAT_NAME");
19351936
printf(" set chat template, possible values is: llama2, chatml (default %s)", sparams.chat_template.c_str());
1936-
printf(" -n, --n-predict maximum tokens to predict (default: %d)\n", params.n_predict);
19371937
printf("\n");
19381938
}
19391939

0 commit comments

Comments
 (0)