Skip to content

removed unecesary mmproj download when users pass --no-mmproj#23425

Merged
ggerganov merged 2 commits into
ggml-org:masterfrom
ryan-mangeno:no-mmproj-download-fix
Jun 3, 2026
Merged

removed unecesary mmproj download when users pass --no-mmproj#23425
ggerganov merged 2 commits into
ggml-org:masterfrom
ryan-mangeno:no-mmproj-download-fix

Conversation

@ryan-mangeno
Copy link
Copy Markdown
Contributor

Overview

When --no-mmproj is passed the mmproj file is still being downloaded before the flag was checked. The flag was only used to clear params.mmproj after the download already completed. Also .. in common/arg.cpp the download_mmproj flag in common_download_model was hardcoded to true.
The fix uses the no_mmproj bool in the common_params struct when common_params_handle_model is called

Additional information

Fixes #23265

Requirements

@ryan-mangeno ryan-mangeno requested a review from a team as a code owner May 20, 2026 14:52
@ngxson ngxson requested a review from angt May 20, 2026 14:53
@ryan-mangeno
Copy link
Copy Markdown
Contributor Author

the bug still exists in latest release tag thanks to @jerkstorecaller for mentioning it and my recent changes seems to fix #23265 (comment)

@ggerganov ggerganov added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Jun 1, 2026
@ggerganov ggerganov merged commit e366626 into ggml-org:master Jun 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eval bug: --no-mmproj downloads mmproj

2 participants