arg : add --no-mmproj-offload (#13093)
* arg : add --no-mmproj-offload * Update common/arg.cpp
This commit is contained in:
parent
80982e815e
commit
7c727fbe39
3 changed files with 12 additions and 3 deletions
|
@ -2140,6 +2140,13 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|||
params.no_mmproj = true;
|
||||
}
|
||||
).set_examples(mmproj_examples));
|
||||
add_opt(common_arg(
|
||||
{"--no-mmproj-offload"},
|
||||
"do not offload multimodal projector to GPU",
|
||||
[](common_params & params) {
|
||||
params.mmproj_use_gpu = false;
|
||||
}
|
||||
).set_examples(mmproj_examples));
|
||||
add_opt(common_arg(
|
||||
{"--image"}, "FILE",
|
||||
"path to an image file. use with multimodal models. Specify multiple times for batching",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue