From 2cac8e0efb629d66c612f137e75d562f94bb9e6c Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Thu, 24 Apr 2025 10:05:18 +0200 Subject: [PATCH] rm change about no_mmproj --- common/arg.cpp | 7 ------- common/common.h | 1 - 2 files changed, 8 deletions(-) diff --git a/common/arg.cpp b/common/arg.cpp index b5741c859..9b08b9a65 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -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", diff --git a/common/common.h b/common/common.h index 70d3ef8f2..e6eaa8e80 100644 --- a/common/common.h +++ b/common/common.h @@ -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 image; // path to image file(s) // embedding