Skip to content

[CI] Run MXFP8 FSDP unit tests on B200 and drop stale xfail - #5135

Merged
anijain2305 merged 2 commits into
mainfrom
gh/anijain2305/64/head
Oct 8, 2026
Merged

anijain2305 merged 2 commits into
mainfrom
gh/anijain2305/64/head

Conversation

@anijain2305

@anijain2305 anijain2305 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

test_mxfp8_fsdp.py requires SM100, so it is skipped on the A10G GPU unit
test runners and was not exercised anywhere in CI. Add it to the B200
workflow's pytest step so regressions are caught.

Also remove the strict xfail on the fp32-reduce case of
test_mxfp8_fsdp_fused_wgrad_accum. pytorch/pytorch#194434 (landed as
38d3f6fd0d6e) makes FSDP set the unsharded parameter's grad_dtype to
reduce_dtype, so the fused wgrad accumulation path now fires with FP32
reduction as well.

[ghstack-poisoned]
[ghstack-poisoned]
@pytorch-bot pytorch-bot Bot added ciflow/b200 Trigger B200 CI ciflow/fake-pg Run 1-GPU Fake PG integration tests labels Oct 7, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 7, 2026
cuda_graph_teardown,
CUDAGraphWrapper,
)
from torchtitan.experiments.graph_trainer.simple_fsdp import ( # noqa: E402

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I stamped it before, but the guidance is "we should move graph trainer tests to the experiment folder, and not block core development". The graph trainer tests should be triggered by tag or when related files are modified.

related #3210

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me do that separately. I want to get the mxfp8 tests in B200 asap because I just realized that MXFP8Linear unit tests are basically always skipped.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And sorry for the duplicated review - accidentally opened a new PR with ghstack - closing the older one #5134

@anijain2305
anijain2305 changed the base branch from gh/anijain2305/64/base to main October 8, 2026 00:59
@anijain2305
anijain2305 merged commit f2036a0 into main Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/b200 Trigger B200 CI ciflow/fake-pg Run 1-GPU Fake PG integration tests 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