Skip to content

[CI Fix] Fix padding mask router test configs - #4689

Merged
acisseJZhong merged 1 commit into
mainfrom
fix-padding-mask-router-tests
Sep 15, 2026
Merged

acisseJZhong merged 1 commit into
mainfrom
fix-padding-mask-router-tests

Conversation

@acisseJZhong

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • pytest -q tests/unit_tests/cpu/test_moe.py
  • pre-commit hooks for ufmt, flake8, pydoclint, and codespell on tests/unit_tests/cpu/test_moe.py

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 15, 2026
@acisseJZhong acisseJZhong changed the title [tests] Fix padding mask router test configs [CI Fix] Fix padding mask router test configs Sep 15, 2026
@acisseJZhong
acisseJZhong merged commit e8f5b8e into main Sep 15, 2026
16 of 17 checks passed
acisseJZhong added a commit that referenced this pull request Sep 15, 2026
## Summary

- update the fake-PG A10G goldens affected by #4535 changing the default
dense feed-forward implementation
- cover SFT, Llama 3, DeepSeek V3, and Muse Glimmer
- #4535 updated the corresponding real-PG goldens, but the fake-PG job
was skipped and these goldens remained stale
- fix the numerics failures observed in
https://github.com/pytorch/torchtitan/actions/runs/34923562567/job/104248722142
and
https://github.com/pytorch/torchtitan/actions/runs/34932716561/job/104264155052

## Verification

- compared 10 deterministic fake-PG SFT steps before and after #4535
with seed 42; loss and grad_norm changed after the fused gate-up update
- extracted full-precision loss and grad_norm values from the failed
A10G job artifacts
- verified all updated rows exactly match their TensorBoard artifacts
- verified the standard and RegionAC Llama tests produce identical
metrics for their shared golden
- relevant pre-commit file checks passed

The unrelated CPU failures currently on main are addressed separately by
#4689.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants