Skip to content

Skip GraphTrainer H100 FSDP toposort failure - #4048

Merged
wconstab merged 1 commit into
mainfrom
whc/skip-graphtrainer-h100-toposort
Aug 1, 2026
Merged

wconstab merged 1 commit into
mainfrom
whc/skip-graphtrainer-h100-toposort

Conversation

@wconstab

@wconstab wconstab commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Temporarily disables the H100 GraphTrainer flavor aot_fx_trace_deepseek_v3_fsdp_tp_ep_regional_inductor while we root-cause the FSDP bucketing topological-sort failure tracked in #4047.

This is a narrow skip for the known-bad DeepSeekV3 FSDP+TP+EP regional-inductor configuration. It does not disable the broader GraphTrainer suite.

CI failures this is mitigating

The failure is:

AssertionError: stable topological sort of region failed

on this path:

torchtitan/experiments/graph_trainer/fsdp_passes.py:591 joint_transformer_block_bucketing_reordering_pass
torch/_inductor/fx_passes/bucketing.py:1291 _sort_bucket_region
torch/_dynamo/graph_deduplication.py:405 _stable_topological_sort_region

Notes

The current suspicion is that the PyTorch nightly range fbc1dfeabfda7f4cc0a95635726b700e732c19dd -> 0ce05af6274d975672dd30447bf00010317288ef exposed or introduced this. TorchTitan #3901 landed in the same scheduled-run gap, but it did not touch GraphTrainer and appears unlikely to affect this non-spmd_types flavor.

Current main also has separate H100 EP-overlap alias/wait-sink failures. Those are intentionally out of scope for this skip.

Test plan

python3 -m py_compile torchtitan/experiments/graph_trainer/tests/integration_tests.py
python3 - <<'PY'
from torchtitan.experiments.graph_trainer.tests.integration_tests import build_graph_trainer_h100_test_list
name = 'aot_fx_trace_deepseek_v3_fsdp_tp_ep_regional_inductor'
for test in build_graph_trainer_h100_test_list():
    if test.test_name == name:
        print(f'{test.test_name} disabled={test.disabled} ngpu={test.ngpu}')
        break
else:
    raise SystemExit(f'{name} not found')
PY

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 1, 2026
@wconstab
wconstab requested a review from yiming0416 August 1, 2026 02:37
@wconstab
wconstab merged commit 681fd4b into main Aug 1, 2026
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/8gpu 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