Skip to content

[graph_trainer] Fix H100 CI failure from DeepEP compilation break - #3390

Merged
SherlockNoMad merged 1 commit into
mainfrom
bahuang/fix-graph-trainer-h100-ci-deepep
May 18, 2026
Merged

SherlockNoMad merged 1 commit into
mainfrom
bahuang/fix-graph-trainer-h100-ci-deepep

Conversation

@SherlockNoMad

Copy link
Copy Markdown
Contributor

Summary

  • DeepEP (pinned at commit 1b8f467) fails to compile against the latest PyTorch nightly due to an ABI break in ATen/core/stack.h (torch::jit::push and TuplePacker removed/renamed). Since the H100 CI script uses set -eux, the pip install failure aborts the entire workflow — no tests run at all.
  • Made the DeepEP installation non-fatal (|| echo WARNING) so the remaining H100 tests (DeepSeek-v3 EP, Qwen3, async TP, numerics, precompile, bitwise deterministic) still run.
  • Disabled the aot_fx_trace_deepseek_v3_hybridep integration test until DeepEP is updated to be compatible with the latest PyTorch nightly.

Test plan

  • Verify H100 CI workflow passes with DeepEP install failure (HybridEP test skipped, all other tests run)
  • Re-enable HybridEP test once DeepEP publishes a fix for the ATen/core/stack.h ABI change

@SherlockNoMad SherlockNoMad added the ciflow/h100.8 Trigger H100.8 CI label May 17, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 17, 2026
"aot_fx_trace_deepseek_v3_fsdp_tp_ep_full_inductor",
ngpu=8,
),
# TODO: Disabled due to DeepEP compilation failure against PyTorch

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.

is there any way to disable only if DeepEP installation fails? e.g., the install could set an env var and the disable gates on it?

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.

Good idea — updated. The HybridEP test now gates on _DEEPEP_AVAILABLE = importlib.util.find_spec("deep_ep") is not None, so it auto-disables when DeepEP fails to install and auto-enables once it compiles again. No env var needed.

DeepEP (pinned at 1b8f467) fails to compile against the latest PyTorch
nightly due to an ABI break in ATen/core/stack.h. Since the CI script
uses `set -eux`, the pip install failure aborts the entire workflow and
no tests run at all.

Make the DeepEP install non-fatal so the remaining H100 tests
(DeepSeek-v3 EP, Qwen3, async TP, numerics, precompile, bitwise
deterministic) still run. The HybridEP integration test is now
conditionally disabled when DeepEP is not importable, so it will
automatically re-enable once DeepEP is updated.
@SherlockNoMad
SherlockNoMad force-pushed the bahuang/fix-graph-trainer-h100-ci-deepep branch from 236d0ac to e1574ee Compare May 17, 2026 21:53
@SherlockNoMad
SherlockNoMad merged commit 9f9ae4d into main May 18, 2026
23 checks passed
@syed-ahmed

Copy link
Copy Markdown
Collaborator

Looks like pytorch/pytorch#180786 was responsible for the breakage. I have manually tested installation on latest nightly pytorch and DeepEP installs. Also checked latest graph trainer pipeline and looks like deepep is available and graph_trainer + hybridep tests run. The changes in this PR are good though and should stay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/h100.8 Trigger H100.8 CI 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.

4 participants