Skip to content

common : fix --no-mmproj still downloading mmproj with -hf#19

Draft
am17an wants to merge 1 commit into
masterfrom
am17an/fix-no-mmproj-hf-download
Draft

common : fix --no-mmproj still downloading mmproj with -hf#19
am17an wants to merge 1 commit into
masterfrom
am17an/fix-no-mmproj-hf-download

Conversation

@am17an
Copy link
Copy Markdown
Owner

@am17an am17an commented May 20, 2026

Overview

When using -hf with --no-mmproj, the mmproj file was still being downloaded because common_params_handle_model always passed true for download_mmproj. The no_mmproj check only cleared params.mmproj after the download had already occurred.

Add a search_mmproj parameter to common_params_handle_model and pass !params.no_mmproj from the caller to skip the download entirely.

Requirements

When using -hf with --no-mmproj, the mmproj file was still being
downloaded because common_params_handle_model always passed true for
download_mmproj. The no_mmproj check only cleared params.mmproj after
the download had already occurred.

Add a search_mmproj parameter to common_params_handle_model and pass
!params.no_mmproj from the caller to skip the download entirely.

Assisted-by: llama.cpp:local pi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant