Skip to content

[WIP][CI] Disable CUDA graphs for MinimalAsyncEP with TP - #4588

Closed
wwwjn wants to merge 1 commit into
pytorch:mainfrom
wwwjn:fix/h100-minimal-async-timeout
Closed

wwwjn wants to merge 1 commit into
pytorch:mainfrom
wwwjn:fix/h100-minimal-async-timeout

Conversation

@wwwjn

@wwwjn wwwjn commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Disable CUDA graph capture for the H100 MinimalAsyncEP + TP test recipe.
  • Reject CUDA graphs with MinimalAsyncEP + tensor parallelism during config validation.
  • Document the supported combination and add regression tests.

Why

The failing job did not reach its workflow timeout. CUDA graph warmup runs on a dedicated side stream, and MinimalAsyncEP + TP produces corrupted numerics on that path. The regular test first reports non-finite loss or gradient norm, while the SDC variant reports a replay mismatch. The resulting CUDA failure leaves peers waiting and produces the later NCCL watchdog timeout.

Disabling CUDA graphs makes this configuration use the normal stream and fixes both failure modes.

Failing job: https://github.com/pytorch/torchtitan/actions/runs/34421416934/job/102697499723

Testing

  • 57 CPU tests passed, plus 5 subtests.
  • 10 training steps passed on 4 H100s with CP=2, TP=2, and EP=4.
  • 10 SDC replay steps passed on the same reduced topology.
  • Changed-file pre-commit hooks passed, excluding Pyrefly because the local system checker reports repository-wide dependency errors.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 10, 2026
@tianyu-l

Copy link
Copy Markdown
Contributor

summary not readable, lol

@wwwjn wwwjn changed the title WIP: Disable CUDA graphs for MinimalAsyncEP with TP [WIP][CI] Disable CUDA graphs for MinimalAsyncEP with TP Sep 11, 2026
@wwwjn

wwwjn commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

As we plan to delete this MoE backend, the PR is not useful. This is what I'm saying the MinialAsyncEP backend is failing for a while

@wwwjn wwwjn closed this Sep 11, 2026
tianyu-l added a commit that referenced this pull request Sep 12, 2026
as it is not maintained, e.g.
#4588

HybridEP backend will be deprecated once DistMoE is available.
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