Repository navigation
feat: AUT-2177 add Ling-V3 Tiny hybrid training support - #6974
Closed
svcnemo-autobot wants to merge 36 commits into
Closed
svcnemo-autobot wants to merge 36 commits into
svcnemo-autobot wants to merge 36 commits into
Conversation
Keep the existing private GDN base as the shared implementation for head-wise GatedDeltaNet and channel-wise variants. Generalize its variant hooks, parameter dtype handling, diagnostics, and norm-output recompute contract without exposing a broader linear-attention API. Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 6ff2fcc)
Add KDA as the channel-wise Gated DeltaNet variant in HybridModel. Reuse the existing private GDN-family base and gdn_norm_out recompute selector while keeping KDA projection, kernel, and context-parallel behavior variant-specific. Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 16f448c)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 72cefc3)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit ed853d3)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit fe92b2d)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 2ec2297)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 5fe61a8)
Count KDA and MLA operations in the hybrid training FLOPs estimate so that Ling-V3 Tiny TFLOPs and MFU include every attention layer used by the model. Keep the architecture-specific formulas separate and cover direct KDA projections and state updates, MLA latent projections, output gating, and ragged dense attention. Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 8296e8b)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 7f0ae9f)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 7ff158e)
Co-authored-by: Yuzhong Wang <yuzhongw@nvidia.com> (cherry picked from commit 529e5e4) Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit c3bf414)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit f08a989)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 545c761)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 27f29bf)
Reject missing or out-of-range lower bounds during KDA construction when safe gate is enabled, matching the FLA kernel contract. Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 22458cd)
Signed-off-by: Yuzhong Wang <yuzhongw@nvidia.com> (cherry picked from commit 4b03bfb)
Signed-off-by: Yuzhong Wang <yuzhongw@nvidia.com> (cherry picked from commit a7855d9)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit f9e20e5)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit fe1caca)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 611c8ac)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 1f6ffd1)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 4a68b8a)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 87c96f8)
Co-authored-by: Yuzhong Wang <yuzhongw@nvidia.com> Signed-off-by: Fan Kun <784819644@qq.com> (cherry picked from commit be824cc)
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Signed-off-by: Fan Kun <784819644@qq.com> (cherry picked from commit aa516dc)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit bd98edc)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit f4e113e)
Signed-off-by: fkuner <784819644@qq.com> (cherry picked from commit 14e28c6)
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
…errypick-14e28c6e-to-main-v2
svcnvidia-nemo-ci
marked this pull request as draft
August 29, 2026 12:42
Contributor
|
This PR has been automatically converted to draft because all PRs must start as drafts. When you are ready for review, click Ready for Review to begin the review process. This will:
See the contribution guide for more details. |
4 tasks done
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.
Background
Port the Ling-V3 Tiny hybrid-model training support from PR #6556 to
main. This replacement preserves the corrected head after the prior PR branch became unavailable to this workflow.What changed
mainsource layout.Details
Tested
gdn.pyandkda.py.91f6f85a..gitmetadata; GitHub CI remains authoritative.