llama/ex: remove --logdir argument (#10339)
This commit is contained in:
parent
db4cfd5dbc
commit
4e54be0ec6
10 changed files with 0 additions and 547 deletions
|
@ -1939,17 +1939,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|||
params.simple_io = true;
|
||||
}
|
||||
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_INFILL}));
|
||||
add_opt(common_arg(
|
||||
{"-ld", "--logdir"}, "LOGDIR",
|
||||
"path under which to save YAML logs (no logging if unset)",
|
||||
[](common_params & params, const std::string & value) {
|
||||
params.logdir = value;
|
||||
|
||||
if (params.logdir.back() != DIRECTORY_SEPARATOR) {
|
||||
params.logdir += DIRECTORY_SEPARATOR;
|
||||
}
|
||||
}
|
||||
));
|
||||
add_opt(common_arg(
|
||||
{"--positive-file"}, "FNAME",
|
||||
string_format("positive prompts file, one prompt per line (default: '%s')", params.cvector_positive_file.c_str()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue