Repository navigation
[CI] Run MXFP8 FSDP unit tests on B200 and drop stale xfail - #5135
Merged
Merged
Conversation
[ghstack-poisoned]
anijain2305
requested review from
fegin,
tianyu-l,
wconstab and
wwwjn
as code owners
October 7, 2026 23:59
tianyu-l
approved these changes
Oct 8, 2026
| cuda_graph_teardown, | ||
| CUDAGraphWrapper, | ||
| ) | ||
| from torchtitan.experiments.graph_trainer.simple_fsdp import ( # noqa: E402 |
Contributor
There was a problem hiding this comment.
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
Contributor
Author
There was a problem hiding this comment.
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.
Contributor
Author
There was a problem hiding this comment.
And sorry for the duplicated review - accidentally opened a new PR with ghstack - closing the older one #5134
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.