Skip to content

Fix MuonClip rolling checkpoint diagnostics - #127

Merged
charlesmartin14 merged 2 commits into
mainfrom
fix/muonclip-checkpoint-diagnostics-20260830
Aug 30, 2026
Merged

Fix MuonClip rolling checkpoint diagnostics#127
charlesmartin14 merged 2 commits into
mainfrom
fix/muonclip-checkpoint-diagnostics-20260830

Conversation

@charlesmartin14

Copy link
Copy Markdown
Member

Fixes the large MuonClip run repeatedly failing at step 250 when checkpoint_interval_steps (250) is shorter than eval_interval_steps (500).

Rolling checkpoints now materialize finite gradient diagnostics even when no evaluation row is due, preserving deterministic resume metadata without writing initialization NaN sentinels.

Regression coverage asserts the large protocol's step-250 checkpoint requires diagnostic materialization.

Tested locally:

python -m pytest baseline/nanogpt_one_head/tests/test_muonclip_large_20260830.py baseline/nanogpt_one_head/tests/test_one_head.py -q
21 passed

@charlesmartin14
charlesmartin14 merged commit 3749c36 into main Aug 30, 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