-
Notifications
You must be signed in to change notification settings - Fork 572
Support quantized Qwen3-VL / Qwen3.5-VL (dense + MoE) export from Megatron-Bridge and verify exported checkpoints #2276
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
Open
kevalmorabia97
wants to merge
20
commits into
main
Choose a base branch
from
kmorabia/mbridge-qwen3vl-quantized-hf-export
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
c5a03a5
Support quantized Qwen3-VL export to unified HF from Megatron-Bridge
kevalmorabia97 d1f077c
Add Qwen3.5-VL export, fail loudly on unexportable MoE, verify exports
kevalmorabia97 ef4761d
Cover gated attention and MoE export, fixing the gated QKV split
kevalmorabia97 12e4fcb
Verify checkpoint contents the existing assertions could not see
kevalmorabia97 4c0082c
Fix GatedDeltaNet quantizer exclusions on Megatron-Core
kevalmorabia97 18db85a
Make the exporter verify its own output
kevalmorabia97 2baab5e
Unify VLM detection and fail loudly on dropped ModelOpt state
kevalmorabia97 a2f0fe0
Address review, and pick the MoE expert layout automatically
kevalmorabia97 7f745d9
Fix Qwen3.5 export: packed experts, NVFP4 packing, MTP names, repo ids
kevalmorabia97 c262cc6
Keep grouped GEMM for unquantized distillation students, guard QAD ex…
kevalmorabia97 5e1a141
Cover packed-expert and quantized hybrid export in the fast test suite
kevalmorabia97 215d4aa
Address review: quant-config recording, GDN guards, VLM probe, teache…
kevalmorabia97 67cdc97
Address review: distilled-export layout, hub-id self-check, NVFP4 sca…
kevalmorabia97 622371c
Raise the two example-test timeouts that fail on CI runners
kevalmorabia97 ba0c3b5
Address review: drop a guard that cannot fire, cover unsharded self-c…
kevalmorabia97 cb75d6c
Address review: read source headers instead of downloading, share the…
kevalmorabia97 598d477
Address review: fetch only the shards holding vision weights, widen t…
kevalmorabia97 515f36a
Add the expert-layout load guard, correcting an earlier wrong pushback
kevalmorabia97 449952a
Make the expert-layout guard collective, and exercise PP>1 in the exp…
kevalmorabia97 d817d50
Clamp rescaled NVFP4 block scales away from the E4M3 floor
kevalmorabia97 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
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.
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.