Skip to content

Remove pipeline parallelism (graph_pp) from AutoParallel#439

Merged
sanketpurandare merged 1 commit into
mainfrom
sanketpurandare/stack/1
May 4, 2026
Merged

Remove pipeline parallelism (graph_pp) from AutoParallel#439
sanketpurandare merged 1 commit into
mainfrom
sanketpurandare/stack/1

Conversation

@sanketpurandare

@sanketpurandare sanketpurandare commented May 1, 2026

Copy link
Copy Markdown
Contributor

Stacked PRs:


Remove pipeline parallelism (graph_pp) from AutoParallel

Graph-based pipeline parallelism is moving to its own package. This
removes all PP modules (api_pp, graph_pp_runner, graph_partition,
split_fsdp_collectives, split_di_dw_graph, graph_multiplex), the two
PP examples (example_ds3_pp, example_pp_graph_passes), the numerics
comparison script (run_ds3_numerics_check), and their test
(test_api_pp).

Files edited:

  • init.py: removed AutoParallelPP export
  • placement_options.py: removed log_pp_model_weights/log_pp_grads
    from NumericsLogger (only called from the deleted PP example)
  • dsv3.py: removed DeepSeekV3Stage{0,I,N} classes and simplified
    init_weights* type annotations from Union[Model, Stage] to Model
  • test_cuda.yml: removed commented-out PP CI entries

activation_checkpointing.py, module_construction.py, and graph_utils.py
are shared with the non-PP codepath and left untouched.

Validated: pytest tests/ passes (327 tests, 1 xfail).

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 1, 2026
Graph-based pipeline parallelism is moving to its own package. This
removes all PP modules (api_pp, graph_pp_runner, graph_partition,
split_fsdp_collectives, split_di_dw_graph, graph_multiplex), the two
PP examples (example_ds3_pp, example_pp_graph_passes), the numerics
comparison script (run_ds3_numerics_check), and their test
(test_api_pp).

Files edited:
- __init__.py: removed AutoParallelPP export
- placement_options.py: removed log_pp_model_weights/log_pp_grads
  from NumericsLogger (only called from the deleted PP example)
- dsv3.py: removed DeepSeekV3Stage{0,I,N} classes and simplified
  _init_weights_* type annotations from Union[Model, Stage] to Model
- test_cuda.yml: removed commented-out PP CI entries

activation_checkpointing.py, module_construction.py, and graph_utils.py
are shared with the non-PP codepath and left untouched.

Validated: pytest tests/ passes (327 tests, 1 xfail).

stack-info: PR: #439, branch: sanketpurandare/stack/1
@sanketpurandare sanketpurandare marked this pull request as draft May 4, 2026 03:14
@sanketpurandare sanketpurandare marked this pull request as ready for review May 4, 2026 03:14
@sanketpurandare sanketpurandare merged commit 6b5cf8b into main May 4, 2026
12 of 17 checks passed
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.

4 participants