-
Notifications
You must be signed in to change notification settings - Fork 17.6k
mtmd: add Gemma 4 audio conformer encoder support #21421
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
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
05e72a1
mtmd: add Gemma 4 audio conformer encoder support
stephencox 2d0961e
gemma4: fix audio encoder and LM precision issues
stephencox 6bfeb87
mtmd: use double-precision math for audio preprocessing constants
stephencox 56c8304
Revert "mtmd: use double-precision math for audio preprocessing const…
stephencox 59e4872
gguf-py: restore gemma3n mappings in tensor_mapping.py and fix swappe…
stephencox df3ec22
address ngxson review: fix tensor mapping in C++, remove dup comment,…
stephencox 15f2272
address review: remove cross-load, keep per-layer scale, derive softcap
stephencox 1cd0924
address review: auto-detect swapped conv norms, remove dup comment
stephencox a67decf
address review: simplify conv norm swap, move scaling to PR #21625
stephencox 62986e6
mtmd: fix CUDA/Vulkan conformer encoder by making sigmoid input conti…
stephencox e3c6854
revert tensor_mapping.py, gemma4-iswa.cpp and llama-model.cpp changes
stephencox 282a669
gemma4: restore BF16-rounded scales and per-layer multimodal scaling
stephencox 9096859
mtmd: fix conv norm swap comment in gemma4 audio conformer
stephencox 4107adf
revert gemma4-iswa.cpp changes per reviewer request
stephencox 558399c
mtmd: swap conv_norm/norm_conv at load site instead of post-load
stephencox 1389eea
mtmd: replace ggml_roll with view+concat for Metal compatibility
stephencox bf3beed
tests: fix unused parameter warning in test-llama-archs save_models
stephencox 23fd8fc
tests: remove non-gemma4 skip list changes from test-llama-archs
stephencox af69fcc
Revert "mtmd: replace ggml_roll with view+concat for Metal compatibil…
stephencox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.