Repository navigation
[Dev] Add Ling-V3 Tiny hybrid model training support #6556
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 25 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
6ff2fcc
Prepare the Gated DeltaNet base for channel-wise variants
fkuner 16f448c
Add Kimi Delta Attention to hybrid models
fkuner 72cefc3
Honor GDN projection metadata in FSDP checkpoints
fkuner ed853d3
Add head-wise output gating to MLA
fkuner fe92b2d
Include nested MTP modules in QK clipping
fkuner 2ec2297
Add a Ling-V3 Tiny hybrid model spec
fkuner 5fe61a8
Add a Ling-V3 Tiny pretraining example
fkuner 8296e8b
Account for KDA and MLA in training metrics
fkuner 7f0ae9f
Fix Hybrid MTP z-loss metric indexing
fkuner 7ff158e
Add Ling-V3 Tiny functional regression
fkuner 529e5e4
Apply suggestions from code review
fkuner c3bf414
Rename Ling-V3 Tiny functional test
fkuner f08a989
Fix MLA output gate compilation and tests
fkuner 545c761
Validate GDN norm recompute for hybrid models
fkuner 27f29bf
Tighten MLA output gate VJP tolerance
fkuner 22458cd
Validate KDA safe-gate bounds
fkuner 4b03bfb
refactor: Align KDA structure with GatedDeltaNet
yuzhongw-nvidia a7855d9
feat: Add attention output gate granularity
yuzhongw-nvidia 7f3c18b
Merge pull request #1 from yuzhongw-nvidia/yuzhongw-nvidia/align-kda-gdn
fkuner f9e20e5
Remove Ling-specific onboarding artifacts
fkuner fe1caca
Remove FSDP DTensor support from Ling onboarding
fkuner 611c8ac
Use the generic Hybrid spec in functional coverage
fkuner 1f6ffd1
Refine KDA and hybrid FLOPs test contracts
fkuner 4a68b8a
Correct MLA headwise gate VJP reference
fkuner 87c96f8
Correct KDA source attribution
fkuner be824cc
Update megatron/training/training.py
fkuner aa516dc
Update megatron/core/transformer/multi_latent_attention.py
fkuner bd98edc
Fix hybrid layer count doctest examples
fkuner f4e113e
Fix Ling-V3 Tiny CI assertions
fkuner 14e28c6
Remove unused KDA parameter markers
fkuner 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.
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.