From: konradmb Date: Sun, 7 Jun 2026 09:18:44 +0000 (+0200) Subject: arg: Skip mmproj download when user supplied mmproj (#24239) X-Git-Tag: upstream/0.0.10438~891 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=465b1f0e75c590426cff3ca998bcd25297071a5b;p=pkg%2Fggml%2Fsources%2Fllama.cpp arg: Skip mmproj download when user supplied mmproj (#24239) --- diff --git a/common/arg.cpp b/common/arg.cpp index 1ffaf7048..a859aac4f 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -444,7 +444,7 @@ bool common_params_handle_models(common_params & params, llama_example curr_ex) opts.offline = params.offline; opts.skip_download = params.skip_download; opts.download_mtp = spec_type_draft_mtp; - opts.download_mmproj = !params.no_mmproj; + opts.download_mmproj = !params.no_mmproj && params.mmproj.path.empty() && params.mmproj.url.empty(); // sub-models (draft, mmproj, vocoder) are explicitly specified by the user, // so we should not auto-discover mtp/mmproj siblings for them