Skip to content

Fix layerwise SGDM matrix decay grouping - #175

Merged
charlesmartin14 merged 2 commits into
mainfrom
fix/sgdm-layerlr-decay-groups
Oct 18, 2026
Merged

charlesmartin14 merged 2 commits into
mainfrom
fix/sgdm-layerlr-decay-groups

Conversation

@charlesmartin14

Copy link
Copy Markdown
Member

The layerwise SGDM test correctly exposed that a block contains both matrix parameters and bias/LayerNorm parameters, so a single block role cannot have one weight-decay value. Split each LR role into matrix and bias/LayerNorm optimizer groups while preserving the same block LR multiplier. Matrices retain 3e-5 decay; biases/LayerNorm retain zero decay. Update regression assertions accordingly.

@charlesmartin14
charlesmartin14 merged commit be24386 into main Oct 18, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant