Repository navigation
fix(optimizer): route GDN in_proj to Adam under Muon - #5400
yuchenwang3 wants to merge 3 commits into
Conversation
|
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. |
|
Branch updated: merged latest @balasaajay pinging you as an active merger here. This routes GDN |
457feeb to
fff2d1b
Compare
|
Rebased this onto current main and adapted it to the |
|
Ran the rebased |
fff2d1b to
543412f
Compare
|
Metadata-only refresh: the source tree is byte-identical to the 8×B200-tested |
|
@NVIDIA/mcore-oncall could you help route this to an optimizer/GDN reviewer and authorize CI? The current patch is limited to marking the shared GDN/GDN2 |
543412f to
9bd9972
Compare
|
/ok to test |
|
@balasaajay, following up on routing the shared GDN/GDN2 |
9bd9972 to
33f55df
Compare
|
@xuantengh Rebased onto main at |
|
@xuantengh Could you review the GDN |
|
@deepakn94 Could you review the GDN |
GatedDeltaNet in_proj packs heterogeneous q/k/v/gating components into one matrix, so orthogonalizing it as a single Muon weight is not meaningful. Reuse the existing param.use_muon=False exclusion path to keep this fused weight on the scalar optimizer, and cover the shared GDN/GDN2 constructor behavior. Signed-off-by: Yuchen Wang <[email protected]>
33f55df to
5f26485
Compare
Signed-off-by: Yuchen Wang <[email protected]>
Signed-off-by: Yuchen Wang <[email protected]>
|
Merged current main in |
Summary
Routes the shared GatedDeltaNet/GatedDeltaNet2
in_projweight to the scalar optimizer instead of Muon by setting the existingparam.use_muon = Falsemarker.Why
in_projis a heterogeneous fused matrix containing q, k, v, convolution, gate, and beta projections. Orthogonalizing the whole matrix as one 2D block is not meaningful.out_projremains on Muon.This addresses the open routing question in #2885 without adding another optimizer-group mechanism. Current
mainalready consumesuse_muon=Falsein_is_muon_excluded, so the original genericskip_orthogonalizationchange is no longer needed; this PR now only tags the GDN parameter at its source.Change
self.in_proj.weight.use_muon = Falsein_GDNBase, covering both GDN and GDN2.Current validation
Merged
main(5df6168232) intoaf0c40587con November 5. The routing marker and constructor assertion remain unchanged. The manifest retains both the Muon replay test and new upstream SSM inference coverage. Black, isort, Ruff, syntax parsing, whitespace and kernel determinism coverage checks pass. GPU tests have not been rerun on this merge.Historical validation
git diff --checkand Python syntax compilation passed.in_proj.weight.use_muon = Falseassertion.Assisted-by: OpenAI Codex