rm change about no_mmproj

This commit is contained in:
Xuan Son Nguyen
2025-04-24 10:05:18 +02:00
parent 683396c481
commit 2cac8e0efb
2 changed files with 0 additions and 8 deletions

View File

@ -2120,13 +2120,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
params.mmproj.url = value;
}
).set_examples({LLAMA_EXAMPLE_LLAVA}));
add_opt(common_arg(
{"--no-mmproj"},
"explicitly disable multimodal projector, useful when using -hf",
[](common_params & params) {
params.no_mmproj = true;
}
).set_examples({LLAMA_EXAMPLE_LLAVA}));
add_opt(common_arg(
{"--image"}, "FILE",
"path to an image file. use with multimodal models. Specify multiple times for batching",

View File

@ -342,7 +342,6 @@ struct common_params {
// multimodal models (see examples/llava)
struct common_params_model mmproj;
bool no_mmproj = false; // explicitly disable multimodal model
std::vector<std::string> image; // path to image file(s)
// embedding