mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-27 12:05:03 +00:00
rm change about no_mmproj
This commit is contained in:
@ -2120,13 +2120,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|||||||
params.mmproj.url = value;
|
params.mmproj.url = value;
|
||||||
}
|
}
|
||||||
).set_examples({LLAMA_EXAMPLE_LLAVA}));
|
).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(
|
add_opt(common_arg(
|
||||||
{"--image"}, "FILE",
|
{"--image"}, "FILE",
|
||||||
"path to an image file. use with multimodal models. Specify multiple times for batching",
|
"path to an image file. use with multimodal models. Specify multiple times for batching",
|
||||||
|
@ -342,7 +342,6 @@ struct common_params {
|
|||||||
|
|
||||||
// multimodal models (see examples/llava)
|
// multimodal models (see examples/llava)
|
||||||
struct common_params_model mmproj;
|
struct common_params_model mmproj;
|
||||||
bool no_mmproj = false; // explicitly disable multimodal model
|
|
||||||
std::vector<std::string> image; // path to image file(s)
|
std::vector<std::string> image; // path to image file(s)
|
||||||
|
|
||||||
// embedding
|
// embedding
|
||||||
|
Reference in New Issue
Block a user