Repository navigation
feat(model): add Muse Glimmer support - #5479
Merged
Merged
Conversation
Contributor
Author
|
/ok to test 7f50992 |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
yaoyu-33
force-pushed
the
yuya/muse-glimmer-support
branch
from
August 11, 2026 20:56
7f50992 to
6cef8df
Compare
Contributor
Author
|
/ok to test 6cef8df |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test 8b096c9 |
Contributor
Author
|
/ok to test 9f42e8b |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
…codex/pr-5479-config-contract Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test 1c6177b |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test f1a9bd8 |
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@yaoyu-33, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
Contributor
Author
|
/ok to test 6633d47 |
…odel Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
…odel Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test a80ab57 |
…odel Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com> # Conflicts: # src/megatron/bridge/training/model_load_save.py # tests/unit_tests/training/test_checkpointing.py
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
…odel Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test fe7a92f |
…odel Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
…odel Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test 4950254 |
…odel Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test 4c59dc7 |
Signed-off-by: Yu Yao <yaoyu.094@gmail.com>
Contributor
Author
|
/ok to test 4964763 |
4 tasks done
This was referenced Sep 3, 2026
4 of 8 tasks
3 of 5 tasks
This branch was previously deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
Adds Muse Glimmer 30B support through the builder-backed model config, model builder, and model bridge APIs.
Modeling
MuseGlimmerModeldirectly subclasses Megatron-CoreHybridModel.MuseGlimmerModelBuilderconstructs it with a model-localHybridStackspecification whose*layer pattern selects the complete Muse transformer layer. The implementation does not build, wrap, alias, or present the text model asGPTModel.The text path preserves Muse's 3:1 sliding/full attention pattern, per-layer NoPE pattern, GQA, weightless Q/K RMSNorm, full-head sigmoid attention gate, centered pre/post residual norms, final scaled RMSNorm, normalized embeddings, output multiplier, and tanh logit soft-cap. Muse-specific behavior remains confined to the Muse Glimmer model family while the stack uses Megatron-Core transformer components.
The replicated vision path implements the 50-layer encoder, learned-position lookup, 2-D RoPE, window/full attention, pixel shuffle, adapter, projection, and perception RMSNorm. Its parameters are marked for tensor-parallel gradient averaging.
The bridge maps the complete checkpoint against native HybridModel parameter roots, including model-local Q/K/V/full-head gate fusion and split semantics.
Changelog
MuseGlimmerModelConfig,MuseGlimmerModelBuilder, and the combined VLM.HybridModel/HybridStack.muse_glimmer_config.py.Validation
Final DCO-signed head:
a80ab5709f1f04982c4ce907729d6b524c0a3f2b.HybridModelwith 29,776,626,688 parameters.MuseGlimmerForConditionalGenerationwith the same parameter count.12.23977 -> 1.4103, and complete step-50/100 checkpoints.uv run pre-commit run --all-files: passed.mainat74749b4f2e456800255d65d2735c522443f9c384was inspected and is contained in the final head.The full conversion, forward, inference, PEFT, and performance evidence is recorded in
examples/model_verification_cards/muse-glimmer-30b/card.yaml.Before your PR is "Ready for review"
Pre checks:
Additional Information