arg : clean up handling --mmproj with -hf (#13082)

* arg : clean up handling --mmproj with -hf

* rm change about no_mmproj

* Revert "rm change about no_mmproj"

This reverts commit 2cac8e0efb.

* handle no_mmproj explicitly

* skip download mmproj on examples not using it
This commit is contained in:
Xuan-Son Nguyen
2025-04-24 12:14:13 +02:00
committed by GitHub
parent 7604a7d6b8
commit 80982e815e
3 changed files with 53 additions and 17 deletions

View File

@ -342,6 +342,7 @@ 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