Repository navigation
[graph_trainer][aot_fx_trace][graph_pp] Add multiplexed graph coverage and DualPipeV validation - #3090
Merged
Conversation
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
April 24, 2026 19:53
81e2296 to
26db50e
Compare
sanketpurandare
force-pushed
the
sanketpurandare/stack/8
branch
from
April 24, 2026 19:53
66cdfee to
7d4629c
Compare
This was referenced Apr 24, 2026
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
April 30, 2026 18:15
26db50e to
482d156
Compare
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
April 30, 2026 18:41
482d156 to
45e859d
Compare
sanketpurandare
added a commit
that referenced
this pull request
May 4, 2026
…ualPipeV stack-info: PR: #3090, branch: sanketpurandare/stack/9
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
May 4, 2026 03:05
45e859d to
46ad569
Compare
sanketpurandare
added a commit
that referenced
this pull request
May 4, 2026
…ualPipeV stack-info: PR: #3090, branch: sanketpurandare/stack/9
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
May 4, 2026 04:38
46ad569 to
eb66214
Compare
sanketpurandare
force-pushed
the
sanketpurandare/stack/8
branch
from
May 4, 2026 20:03
f94c774 to
87b7453
Compare
sanketpurandare
added a commit
that referenced
this pull request
May 4, 2026
…ualPipeV stack-info: PR: #3090, branch: sanketpurandare/stack/9
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
May 4, 2026 20:03
eb66214 to
2a17915
Compare
…e and DualPipeV validation Add GraphPP forward/backward multiplex graph construction and wire it into OVERLAP_F_B runtime execution. The multiplexed graph preserves the flat GraphPP calling convention, prebuilds and compiles before schedule execution, keeps FakeTensor shape metadata on the destination ShapeEnv, and validates copied backward get_attr targets instead of silently skipping missing remaps. Harden multiplex metadata transfer by preserving raw symbolic metadata relationships, rejecting unsupported symbolic metadata, and documenting the upstream ShapeEnv transfer gap. Add multiplex unit coverage for metadata transfer, output ordering, prebuild/compile behavior, full-Inductor overlap construction, unsupported BACKWARD_INPUT overlap sub-actions, unsupported symbolic metadata, and missing get_attr remaps. Extend DeepSeek V3 GraphPP numerics and integration coverage for DualPipeV and document the GraphPP execution contract with links to the GraphPP and CUDAGraphable GraphPP RFC issues. The numerics comparison uses eager Interleaved1F1B as the baseline because torch.compile is incompatible with the eager ZBV and DualPipeV schedules required by FlexAttention. It disables local-rank gradient clipping so schedule-dependent clip coefficients do not mask graph execution equivalence, and compares rank-local TensorBoard losses from the ranks that actually own loss so core metrics remains unchanged. stack-info: PR: #3090, branch: sanketpurandare/stack/9
sanketpurandare
marked this pull request as draft
June 25, 2026 20:05
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
June 25, 2026 20:05
864caa7 to
4d28afc
Compare
sanketpurandare
marked this pull request as ready for review
June 25, 2026 20:06
submartingales
pushed a commit
to botcanlearn/torchtitan-upstream
that referenced
this pull request
Jun 25, 2026
…e and DualPipeV validation Add DeepSeek V3 eager-PP baseline configs and GraphPP distributed numerics coverage for Interleaved1F1B, ZBVZeroBubble, and DualPipeV. The tests compare GraphPP against eager PP with matching microbatching and backend choices, using SDPA for schedules whose eager torch.compile path is not supported. Extend the GraphTrainer integration matrix to cover GraphPP under regional and full Inductor, document the GraphPP execution contract, and make metrics rank selection handle DualPipeV as a V-style schedule with loss visible on rank 0. stack-info: PR: pytorch/torchtitan#3090, branch: sanketpurandare/stack/9
sanketpurandare
marked this pull request as draft
June 26, 2026 07:30
sanketpurandare
force-pushed
the
sanketpurandare/stack/9
branch
from
June 26, 2026 07:30
4d28afc to
850ff4d
Compare
aditvenk
reviewed
Jun 26, 2026
aditvenk
reviewed
Jun 26, 2026
This was referenced Jun 30, 2026
aditvenk
reviewed
Jun 30, 2026
aditvenk
left a comment
Contributor
There was a problem hiding this comment.
Only one last blocking concern re: transfering backed symbols from src -> dst
aditvenk
approved these changes
Jun 30, 2026
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.
Stacked PRs:
[graph_trainer][aot_fx_trace][graph_pp] Add multiplexed graph coverage and DualPipeV validation
Add GraphPP forward/backward multiplex graph construction and wire it into OVERLAP_F_B runtime execution. The multiplexed graph preserves the flat GraphPP calling convention, prebuilds and compiles before schedule execution, keeps FakeTensor shape metadata on the destination ShapeEnv, and validates copied backward get_attr targets instead of silently skipping missing remaps.
Harden multiplex metadata transfer by preserving raw symbolic metadata relationships, rejecting unsupported symbolic metadata, and documenting the upstream ShapeEnv transfer gap. Add multiplex unit coverage for metadata transfer, output ordering, prebuild/compile behavior, full-Inductor overlap construction, unsupported BACKWARD_INPUT overlap sub-actions, unsupported symbolic metadata, and missing get_attr remaps.
Extend DeepSeek V3 GraphPP numerics and integration coverage for DualPipeV and document the GraphPP execution contract with links to the GraphPP and CUDAGraphable GraphPP RFC issues. The numerics comparison uses eager Interleaved1F1B as the baseline because torch.compile is incompatible with the eager ZBV and DualPipeV schedules required by FlexAttention. It disables local-rank gradient clipping so schedule-dependent clip coefficients do not mask graph execution equivalence, and compares rank-local TensorBoard losses from the ranks that actually own loss so core metrics remains unchanged.