Skip to content

convert : fix tensor naming conflict for llama 4 vision #13836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2025

Conversation

ngxson
Copy link
Collaborator

@ngxson ngxson commented May 27, 2025

Fix naming conflict of multi_modal_projector.linear_* tensor name.

Llama 4 has only one single multi_modal_projector.linear_1 which acts as a fully connected layer.

Other models usually have 2 or 3 linear layers.

(Note: there is no bug report for this, but I just found out while looking at the code, so assume somehow this does not affect any users)

@ngxson ngxson requested a review from ggerganov May 27, 2025 20:44
@github-actions github-actions bot added the python python script changes label May 27, 2025
@ngxson ngxson merged commit 26b79b6 into ggml-org:master May 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python python script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants