Skip to content

Commit 2cac8e0

Browse files
committed
rm change about no_mmproj
1 parent 683396c commit 2cac8e0

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

common/arg.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,13 +2120,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
21202120
params.mmproj.url = value;
21212121
}
21222122
).set_examples({LLAMA_EXAMPLE_LLAVA}));
2123-
add_opt(common_arg(
2124-
{"--no-mmproj"},
2125-
"explicitly disable multimodal projector, useful when using -hf",
2126-
[](common_params & params) {
2127-
params.no_mmproj = true;
2128-
}
2129-
).set_examples({LLAMA_EXAMPLE_LLAVA}));
21302123
add_opt(common_arg(
21312124
{"--image"}, "FILE",
21322125
"path to an image file. use with multimodal models. Specify multiple times for batching",

common/common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ struct common_params {
342342

343343
// multimodal models (see examples/llava)
344344
struct common_params_model mmproj;
345-
bool no_mmproj = false; // explicitly disable multimodal model
346345
std::vector<std::string> image; // path to image file(s)
347346

348347
// embedding

0 commit comments

Comments
 (0)