potentialpaper

PipeFSDP: Efficient Pipeline Parallel under Fully Sharded Data Parallel for Large Language Model Training

Xinglin Pan, Mingji Han, Penghao Zhao, Lin Zheng, Rayying, key, Shaohuai Shi, Xiaowen Chu

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. PipeFSDP optimizes LLM training by integrating FSDP with fine-grained pipeline scheduling, reducing bubbles and resource contention to achieve up to 1.28$\times$ higher throughput or1.87$\times$ lower memory consumption than SOTA frameworks.

Abstract. It is now a common practice to use PyTorch’s official Fully Sharded Data Parallel (FSDP) framework to train large language models (LLMs) on large-scale GPU clusters, typically together with pipeline parallelism (PP) to achieve better performance. However, existing popular systems like TorchTitan with FSDP and PP are inefficient due to the large bubbles and peak memory footprint caused by suboptimal task scheduling. In this paper, we propose PipeFSDP, an efficient training framework for FSDP combined with PP that alleviates pipeline bubbles and resource contention, thus improve training efficiency. Specifically, we design four fine-grained optimizations: dynamic context-aware prefetching, communication contention mitigation, redundant reshard elimination, and communication order optimization. In addition, we develop a heuristic model that selects the FSDP and PP degrees based on the given hardware and model configurations, thereby enhancing the practicality of PipeFSDP. Empirical evaluations on both dense and sparse LLMs (Llama3, Qwen3, and Qwen3-MoE) across 32-GPU and 64-GPU clusters demonstrate that PipeFSDP significantly outperforms the Torchtitan system by up to 1.28$\times$ in Model FLOPs Utilization (MFU) and 1.87$\times$ in memory consumption.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

PipeFSDP tackles a practically important interaction between pipeline parallelism and FSDP, and the paper contains a reasonably complete implementation, evaluations on dense and MoE models, and useful component ablations. The central uncertainty is whether the work advances the state of the art beyond known scheduling and parameter-lifecycle techniques, and whether the reported gains are established against the strongest relevant implementation. Please address the following points:

Identify which of schedule-aware prefetching, contention mitigation, reshard elimination, and communication reordering are new, which are adaptations, and what is unique about their combination.

Clarify the dynamic context-aware prefetching contribution. The pipeline schedule is deterministic and known in advance, so explain precisely what is dynamic, give the reproducible prefetch algorithm or hook logic. Also, explain the planner heuristic, its inputs, the decision it makes, and its prediction accuracy.

Separate the effect of the base immediate-reshard refactoring from each of the four optimizations, reporting both throughput and memory impact. Clearly state whether the maximum MFU improvement and maximum memory reduction occur in the same configuration or in different operating points.

Provide the exact MFU formula and explain its validity for dense and MoE models. Report TPS consistently where MFU is potentially misleading. Clarify the configurations behind the main tables and provide variation across repeated runs where available.

Final justification

The rebuttal substantially clarified the central contribution, added component-level ablations, explained the configuration solver, and provided an initial Megatron-FSDP comparison, resolving most technical concerns. However, the novelty remains primarily in the integration of known mechanisms, and the evaluation still lacks a comprehensive comparison with standard Megatron pipeline parallelism and validation at larger scale. The submitted manuscript also requires significant improvements in positioning and presentation.

Area Chair 3oVc · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

PipeFSDP tackles a practically important interaction between pipeline parallelism and FSDP, and the paper contains a reasonably complete implementation, evaluations on dense and MoE models, and useful component ablations. The central uncertainty is whether the work advances the state of the art beyond known scheduling and parameter-lifecycle techniques, and whether the reported gains are established against the strongest relevant implementation. Please address the following points:

Identify which of schedule-aware prefetching, contention mitigation, reshard elimination, and communication reordering are new, which are adaptations, and what is unique about their combination.

Clarify the dynamic context-aware prefetching contribution. The pipeline schedule is deterministic and known in advance, so explain precisely what is dynamic, give the reproducible prefetch algorithm or hook logic. Also, explain the planner heuristic, its inputs, the decision it makes, and its prediction accuracy.

Separate the effect of the base immediate-reshard refactoring from each of the four optimizations, reporting both throughput and memory impact. Clearly state whether the maximum MFU improvement and maximum memory reduction occur in the same configuration or in different operating points.

Provide the exact MFU formula and explain its validity for dense and MoE models. Report TPS consistently where MFU is potentially misleading. Clarify the configurations behind the main tables and provide variation across repeated runs where available.

Final justification

The rebuttal substantially clarified the central contribution, added component-level ablations, explained the configuration solver, and provided an initial Megatron-FSDP comparison, resolving most technical concerns. However, the novelty remains primarily in the integration of known mechanisms, and the evaluation still lacks a comprehensive comparison with standard Megatron pipeline parallelism and validation at larger scale. The submitted manuscript also requires significant improvements in positioning and presentation.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

We thank you for the constructive meta-review. The four points you raised have each been addressed in detail through our discussion with the three reviewers. We respond below.

Q1: Which components are new vs. adaptations.

Responded in Reviewer jgNS Q1.

Q2: What is unique about their combination.

Responded in Reviewer jgNS follow-up Q1.

Q3: DCP, what is dynamic and reproducible hook logic.

Responded in Reviewer aqLp Q1, Reviewer aqLp Q2, and Reviewer jgNS Q3.

Q4: Configuration Solver, inputs, decision logic, and overhead.

Responded in Reviewer Mmzc Q5, Reviewer jgNS Q4, and Reviewer jgNS follow-up Q3.

Q5: Per-component ablation with base PipeFSDP as unified baseline.

Responded in Reviewer jgNS Q5 and Reviewer Mmzc Q4.

Q6: Memory and throughput gains at different operating points.

Responded in Reviewer Mmzc Q6.

Q7: MFU formula and validity for dense and MoE models.

Responded in Reviewer aqLp Q4.

Q8: TPS as primary metric in all tables.

Responded in Reviewer aqLp Q4.

Q9: Table configurations.

Responded in Reviewer aqLp Q3 and Reviewer aqLp Q4.

Q10: Variance across repeated runs.

Responded in Reviewer Mmzc Q2.

All three reviewers have acknowledged our responses. Reviewer aqLp stated they are satisfied. Reviewer jgNS raised their score, noting the central contribution is now much clearer. Reviewer Mmzc maintained their positive assessment.

We welcome any further guidance from the Area Chair.

Reviewer MmzcOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Combine PyTorch FSDP (ZeRO3 fine grain sharding) and Pipeline Parallel to train LLM. The pain point is that TorchTitan's approach will hold the entire parameter (full-stage retention) in a PP stage, resulting in high peak memory, forced micro-batch compression, and larger bubbles.However, if it is used up like ZeRO3 and immediately reshard to save video memory, the all-gather/reduce-scatter of FSDP will compete for bandwidth with PP's P2P, which is on the Critical Path. The author proposes PipeFSDP, which uses immediate reshard + four optimizations to simultaneously take video memory and throughput: (1) time-aware dynamic prefetch.(2) Let reduce-scatter make way for P2P contention mitigation; (3) Multiplex parameters and skip reshard when adjacent F/Bs fall on the same layer; (4) Move the collective to the low bandwidth requirements window in the first backward step.Tested on Llama3/Qwen3/Qwen3-MoE on 32/64 cards (H20/H800), it is claimed to have a maximum MFU of 1.25x and a VRAM of 1.07x.

Strengths and weaknesses

Advantages and disadvantages: Advantages

  1. The problem is well-chosen and indeed underexplored - how to efficiently combine FSDP + PP, encountered every day in production. Observation of communication is very meticulous, discovering the existence of many bubbles and the communication and calculation characteristics at that moment, and optimizing for these characteristics
  2. The optimization strategy is considered comprehensively and is a specific method with systematic intuition (CUDA event barrier forces reshard before unshard, prefetch hook checks schedule instead of sequentially removing the next layer, adjacent F/B multiplexing parameters in the same layer, and stuffing the collective into the bandwidth gap of the first backward step).
  3. The experimental design is reasonable, and the dense and moe models, GPUs with different calculation/storage ratios, and clusters with different scales are compared Disadvantages
  4. Baseline only used up to 64 cards, which is too small for pretrain; the number of layers of LLAMA3-70B has been reduced a lot
  5. Not enough eyes statistically, ran several rounds of experiments, no range/error-bar or anything
  6. The name "Planner" is not accurate/the method is not specific enough. The so-called static Planner is actually a comparison of t_comm vs t_comp, not a planning algorithm; while the fine grain Operating Plan (prefetch order, communication reordering decisions) does not provide a reproducible algorithm description. It is recommended to either supplement the algorithm or not use the elevated term "Planner".
  7. Memory (mb = 1) and throughput (increase mb) are two sets of configurations. "Maximum save X memory + maximum increase Y throughput" and emissions will be misread as achieving the same configuration at the same time
Questions

Bigger scale: Can the gain be reproduced on a complete model with ≥ 128/256 cards and no layers cut, proving that the bubble/contention story holds with scale? Variance: Can the TPS/MFU of the headline give the median/mean ± range of N runs (including the warmup setting)? Stronger baseline: even with a configuration of Megatron-LM (PP + ZeRO/DP) hybrid comparison point. Gain decomposition: Table 5 adds TorchTitan → base PipeFSDP to show how much comes from refactoring and how much comes from these four contributions.

Limitations

refer weakness

Final justification

We thank the authors for the rebuttals. Basically, we think the question of how to efficiently combine FSDP + PP is important in industry, and the effort that is trying to solve the problem is remarkable. The thing is that you need to run experiments for a result to prove your claim; otherwise, it is not convincing. We understand the budget constraint, but we need to mark this large-scale problem unsolved.

The positive assessment and the detailed, constructive feedback are maintained in the same rating; good luck.

Formatting concerns

no

2 comments
Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the positive assessment and the detailed, constructive feedback.

Q1 (Scale): "Can the gain be reproduced on a complete model with ≥\ge 128/256 cards and no layers cut?"

A1: Our experiments are limited to 32/64 GPUs due to cluster availability. However, at a larger scale (128/256 GPUs), pure FSDP's all-gather group size grows, and communication becomes the bottleneck, making PP more necessary and PipeFSDP's PP+FSDP combination correspondingly more valuable.

Q2 (Variance): "Can the TPS/MFU give median/mean ± range of N runs?"

A2: Agreed. All experiments used three seeds, excluding 10 warmup iterations and measuring 50 iterations. TPS variation across runs was below 0.3% in all settings (deemed negligible and omitted), while memory variation was near zero. We will now report all results as mean ± std in the revised manuscript.

Q3 (Baseline): "Even with a configuration of Megatron-LM (PP + ZeRO/DP) hybrid comparison point"

A3: We agree this is a valuable comparison. We integrated PipeFSDP into Megatron-FSDP by aligning parameter bucket boundaries with individual layers to enable per-layer scheduling. On Testbed A using Qwen3-MoE with PP=2, PipeFSDP improves throughput from 1,191 to 1,227 TPS while maintaining an identical peak memory footprint due to Megatron's upfront memory pre-allocation. The remaining throughput gap to TorchTitan is primarily attributable to structural differences in their respective MoE implementations rather than FSDP logic.

Q4 (Gain decomposition): "Table 5 should add TorchTitan → base PipeFSDP to show how much comes from refactoring and how much from these four contributions"

A4: To isolate the individual contribution of each optimization, we conducted a new ablation study with base PipeFSDP as the unified baseline. The standalone benefits are summarized below:

Method Throughput (TPS) Peak Memory (GiB)
base PipeFSDP 1,548 44.53
base PipeFSDP + DCP 1,547 29.37
base PipeFSDP + RRE 1,583 44.53
base PipeFSDP + COO 1,622 44.53
base PipeFSDP + CCM 1,564 44.53

Q5 (Terminology): "Planner is not accurate — it's a tcommt_{comm} vs tcompt_{comp} comparison, not a planning algorithm"

A5: Thank you for flagging the imprecise terminology. Our so‑called "Planner" does not carry out search or optimization in the algorithmic sense—instead, it checks the communication-hiding constraint tcommfsdp≤tcompt_{comm}^{fsdp} \leq t_{comp} and picks the largest NfsdpN_{fsdp} that satisfies this inequality. Referring to this mechanism as a "Planner" exaggerates what it actually does.

We will update the component from "Planner" to "Configuration Solver" (or simply "Configurator") throughout the manuscript, and rephrase the description to accurately reflect that it performs a single-constraint feasibility check rather than multi-objective planning. The "Executor" component name remains appropriate as it orchestrates the runtime scheduling decisions.

Q6 (Memory vs. throughput claimed simultaneously): "Max save X memory + max increase Y throughput will be misread as achieving the same configuration at the same time"

A6: Thanks for pointing out the potential misreading. Our memory-maximizing configuration (Nmb=1N_{mb}=1, minimal batch) and throughput-maximizing configuration (Nmb≫NppN_{mb} \gg N_{pp}, large batch) are indeed different operating points. In the revised manuscript, we now present memory savings and throughput gains separately.

Reviewer Mmzc · CommentOpenReview ↗

Thank for your rebuttal

We thank the authors for the rebuttals. Basically, we think the question of how to efficiently combine FSDP + PP is important in industry, and the effort that is trying to solve the problem is remarkable. The thing is that you need to run experiments for a result to prove your claim; otherwise, it is not convincing. We understand the budget constraint, but we need to mark this large-scale problem unsolved.

The positive assessment and the detailed, constructive feedback are maintained in the same rating; good luck.

Reviewer jgNSOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents PipeFSDP, a pipeline-parallel training framework that aims to improve the interaction between PP and FSDP. The paper argues that naively combining PP and FSDP can introduce inefficiencies such as pipeline bubbles, communication contention, and redundant parameter resharding. To address these issues, PipeFSDP introduces several PP-aware optimizations, including dynamic context-aware prefetching, communication contention mitigation, redundant reshard elimination, and communication order optimization. The paper also presents a heuristic model for selecting parallelization configurations based on estimated computation and communication costs. Experiments on H20 and H800 clusters compare PipeFSDP against TorchTitan and standard PyTorch FSDP baselines, reporting improvements in MFU, throughput, and memory efficiency across a range of model and cluster configurations.

Strengths and weaknesses

Strengths

  • S1. The paper targets a practically relevant problem: improving the interaction between PP and FSDP. Efficient PP+FSDP training remains important for large-scale model training, and the paper provides an ablated breakdown of several inefficiencies that can arise in the native PyTorch FSDP + pipeline-parallel stack.
  • S2. The proposed system combines multiple PP-aware optimizations, including schedule-aware prefetching, communication scheduling, reshard elimination, and collective reordering, into a unified runtime. The implementation appears reasonably complete and supports combinations of PP, FSDP, and expert parallelism.
  • S3. The paper includes both performance and memory evaluations, as well as an ablation study of the proposed optimizations. While the ablation study is limited in scope, it provides some visibility into the contribution of individual components.

Weaknesses

  • W1. The research novelty of the proposed optimizations is unclear, and it is correspondingly unclear how much the proposed methods advance the state of the art. The four primary techniques (dynamic context-aware prefetching, communication contention mitigation, redundant reshard elimination, and communication order optimization) appear closely related to existing scheduling, overlap, prefetching, and parameter-retention techniques already used in modern training systems. The paper does not clearly articulate what is fundamentally new beyond adapting known engineering ideas to the PP+FSDP setting, making it difficult to assess the scientific contribution.
  • W2. The evaluation omits the most relevant state-of-the-art baseline: Megatron’s FSDP + PP implementation. The reported experiments primarily compare against TorchTitan and native PyTorch FSDP2, while a comparison against Megatron’s FSDP + PP stack is absent. Since several of the proposed optimizations resemble mechanisms already present in Megatron’s distributed training ecosystem, it remains unclear whether the reported gains represent improvements over the state of the art or improvements over a weaker baseline. The limitation section explicitly acknowledges that this comparison remains future work.
  • W3. The paper contains an apparent contradiction in its motivation for dynamic context-aware prefetching. On line 114, the paper claims that pipeline execution and the interleaving of forward and backward passes lead to a non-deterministic layer access sequence. However, for a fixed pipeline schedule and layer partition, the layer execution order is deterministic and can be computed ahead of time. Later, on line 127, the paper explicitly states that “the pipeline execution schedule is deterministic,” which contradicts the earlier claim. Since this observation is used to motivate one of the core optimizations, the inconsistency should be clarified.
  • W4. The paper includes an ablation study, but the analysis is relatively limited and does not sufficiently isolate the contribution of each optimization. For example, it remains unclear which components are primarily responsible for the reported gains, how sensitive the results are to implementation choices, and whether all proposed techniques are necessary to achieve the final performance improvements.
  • W5. Several important implementation details and tradeoffs are insufficiently analyzed. The paper does not provide detailed information regarding reduced-precision configurations, communication-management policies, or the practical use of the heuristic model presented in Section 4. In addition, Tables 4 show noticeable memory overheads relative to standard FSDP configurations, but the implications of these overheads are not discussed in depth. A more thorough analysis of these tradeoffs would improve the evaluation.
Questions
  1. Several proposed optimizations (e.g., schedule-aware prefetching, communication scheduling/reordering, and parameter-retention strategies) appear conceptually related to mechanisms already used in existing large-scale training systems. Can the authors clarify which components they consider fundamentally novel, and provide a more detailed comparison against existing implementations (e.g., Megatron-LM) to help distinguish new contributions from adaptations of known techniques? A clearer novelty discussion would significantly improve my assessment of the contribution.
  2. Can the authors provide a comparison against Megatron’s FSDP + PP implementation, or alternatively provide a detailed explanation of why such a comparison is not feasible? This is currently the most important missing baseline in my view. If a direct comparison is unavailable, a feature-by-feature comparison discussing which proposed optimizations are already present (or absent) in Megatron would still be valuable.
  3. The motivation for dynamic context-aware prefetching appears inconsistent. On line 114, the paper argues that pipeline execution leads to a non-deterministic layer access sequence, while line 127 later states that the pipeline execution schedule is deterministic. Can the authors clarify this apparent contradiction and explain precisely what aspect of the execution order cannot be determined ahead of time?
  4. Section 4 introduces a heuristic model for optimization decisions, but it is unclear how this model is used in practice. Is the heuristic used to determine runtime scheduling decisions, system configuration choices, or only for analysis? In addition, how are quantities such as communication and computation times estimated, and how accurate are these estimates in practice? Clarifying the role of the heuristic would improve understanding of the proposed method.
  5. The paper includes an ablation study, but it remains difficult to assess the contribution of individual optimizations and their associated tradeoffs. Can the authors provide additional ablation results or analysis showing (a) the standalone benefit of each optimization, and (b) the impact of each optimization on memory consumption? Such results would help justify the complexity introduced by the full system.
Limitations

Yes

Final justification

As I mentioned in my review and follow-up comments, my main concerns regarding the position and novelty of the proposed optimizations and their differentiation with frameworks such as Megatron-LM has been clarified in the rebuttal. The ablation study I request is also addressed by the authors.

That said, I still believe the submitted manuscript requires a major revision in its presentation, positioning, and evaluation to be publication-ready, beyond what could reasonably be addressed in a camera-ready revision. I appreciate the authors’ thoughtful responses, but I don't support the acceptance of this paper and only raise my score from 2 to 3.

Formatting concerns

None

7 comments
Authors · CommentOpenReview ↗

Comment (1/2)

We sincerely thank the reviewer for the thorough evaluation and the constructive, detailed feedback.

Q1: "Clarify which components are fundamentally novel, and provide a comparison against Megatron-LM"

A1: We compare Megatron-LM with PipeFSDP. The four components:

(a) Dynamic Context-aware Prefetch. Megatron prefetches the next sequential parameter-bucket regardless of the pipeline schedule. Under interleaved PP, the next-needed layer can be in a different chunk or a different phase entirely. Megatron returns None and stops prefetching at these boundaries, leaving parameters unready. PipeFSDP looks up the actual next layer from the pre-computed schedule and prefetches the correct target. The mechanism is simple but no existing system does it.

(b) Communication Contention Mitigation. In Megatron, P2P transfers and FSDP collectives compete freely for bandwidth, and the P2P on the critical path gets delayed. PipeFSDP blocks reduce-scatter until the specific P2P receive it depends on finishes, then triggers gradient reduction immediately. This prevents contention without idling the P2P stream.

(c) Redundant Reshard Elimination. Megatron skips resharding only during activation recomputation (recompute-forward → its own backward). PipeFSDP additionally detects two patterns unique to PP schedules: a forward micro-batch followed immediately by its own backward on the same layer, and a backward ending on layer L followed by a forward starting on the same layer L. In both cases, the parameters are already unsharded and can be reused, saving an all-gather + reduce-scatter cycle.

(d) Communication Order Optimization. The first backward step produces no reduce-scatter traffic (no upstream gradients yet exist), leaving the network idle. Megatron does nothing during this window. PipeFSDP uses it to prefetch parameters for the upcoming forward stage, shifting work away from the later bandwidth-constrained B-to-F transition.

Q2: "Comparison against Megatron's FSDP + PP implementation"

A2: Megatron-FSDP optimizes at a different level compared to our PipeFSDP. Megatron-FSDP incorporates extensive communication-primitive-level optimizations absent from TorchTitan: zero-copy all-gather via NCCL user buffer registration (reducing SM utilization from 16 to 1–6), FP8 native parameter communication (halving all-gather volume), fused gradient reduce-scatter with scaling (make_nccl_premul_sum), persistent double-buffered memory pools, and coalesced NCCL kernel launches. These optimizations accelerate every individual communication operation independently of scheduling strategy.

To validate this compatibility, we integrated PipeFSDP into Megatron-FSDP by aligning parameter bucket boundaries with individual layers to enable per-layer scheduling. On Testbed A using Qwen3-MoE with PP=2, PipeFSDP improves throughput from 1,191 to 1,227 TPS while maintaining an identical peak memory footprint due to Megatron's upfront memory pre-allocation. The remaining throughput gap to TorchTitan is primarily attributable to structural differences in their respective MoE implementations rather than FSDP logic.

Authors · CommentOpenReview ↗

Comment (2/2)

Q3 (W3): "Non-deterministic" vs. "deterministic" contradiction

A3: Thanks for pointing out the misleading description. DCP's contribution is simply looking at the pipeline schedule and prefetching the correct layer next. The schedule is deterministic and pre-computed; "non-deterministic" was the wrong word. We have rephrased it as "deterministic".

Q4: "Is the heuristic used for runtime scheduling, configuration, or only analysis?"

A4: The heuristic model (Section 3.4) is used strictly for static parallelism configuration (Npp,Nfsdp)(N_{pp}, N_{fsdp}) before training launches. It makes no runtime scheduling decisions. The model takes hardware specifications (GPU type, interconnect bandwidth) and model architecture (layer count, hidden dimension, MoE configuration) as inputs, estimates tcompt_{comp} and tcommfsdpt_{comm}^{fsdp} using the Ring All-Gather cost model of Eq. (1), and selects the largest NfsdpN_{fsdp} satisfying the communication-hiding constraint tcommfsdp≤tcompt_{comm}^{fsdp} \leq t_{comp}.

Q5 (W4): "Standalone benefit of each optimization and impact on memory"

A5: To isolate the individual contribution of each optimization, we conducted a new ablation study with ZeRO-3 as the unified baseline. The standalone benefits are summarized below:

Method Throughput (TPS) Peak Memory (GiB)
ZeRO-3 1,548 44.53
ZeRO-3 + DCP 1,547 29.37
ZeRO-3 + RRE 1,583 44.53
ZeRO-3 + COO 1,622 44.53
ZeRO-3 + CCM 1,564 44.53

Q6 (W5): "Memory overhead relative to standard FSDP (Table 4)"

A6: Table 4 compares PipeFSDP (Npp=4N_{pp}=4, Nfsdp=16N_{fsdp}=16) against standard FSDP (Npp=1N_{pp}=1, Nfsdp=64N_{fsdp}=64). The higher memory observed in PipeFSDP stems from pipeline parallelism's inherent activation buffering, not from our optimizations:

  • Each pipeline stage buffers in-flight activations for Nmb×(Npp−1)N_{mb} \times (N_{pp}-1) micro-batches awaiting backward.
  • P2P communication requires send/receive buffers that are absent in pure FSDP.

This overhead is shared by all PP systems and is a fundamental property of pipeline parallelism, not a design choice of PipeFSDP.

Additionally, regarding the reviewer's broader W5 concern about reduced-precision configurations and communication-management policies: we will add a new subsection in the Appendix to explain: (i) our mixed-precision setup (BF16 forward/backward, FP32 master weights and optimizer states); (ii) our CUDA stream management policy (three-stream architecture: Computation, FSDP, P2P); (iii) the event-based synchronization protocol between streams. These details were present in the codebase but insufficiently described in the manuscript.

Reviewer jgNS · CommentOpenReview ↗

Thank you for the detailed rebuttal and additional experiments. I have read the rebuttal carefully and reassessed the paper in light of it. Most of my specific questions have been addressed, and I appreciate the authors’ effort. A few comments remain:

  • My main remaining concern is that the manuscript still feels closer to a technical report than a fully developed research paper, largely because it lacks a unified narrative and sufficient evidence for its central contributions. As one example, rather than an exhaustive list, §3.2 presents several largely independent systems optimizations, but their connection to “alleviating pipeline bubbles” in the headline is not yet clear, particularly the distinction between reducing communication stalls and structural pipeline bubbles. The three elements raised in my original review, namely clearer novelty positioning, comparisons with related systems, and ablations of the individual techniques, remain missing from the submitted manuscript, although I appreciate the useful clarifications and additional results provided in the rebuttal.

  • I would also like to correct an ambiguity in my original review. By “Megatron’s FSDP + PP,” I meant standard Megatron-LM/Megatron Core pipeline parallelism with its distributed optimizer, not Megatron-FSDP. I apologize for the wording. I am not requesting another experiment during this short discussion, but this comparison would be valuable in a future revision. The Megatron-FSDP result concerns a different baseline, and the rebuttal reports only one result pair rather than results across the broader settings in Table 2. While useful, this single setting does not provide the same comprehensive basis for comparison.

  • Given that the planner selects a static parallelism configuration before training launches, I would be interested to know its one-time planning overhead, whether calibration or profiling is required, and how long the process takes. Even if this cost is small relative to training, reporting it would help clarify the framework’s practical usability.

Overall, I see this as a useful engineering improvement for PP+FSDP. At the same time, I believe the submitted version would need substantial restructuring, clearer positioning, and stronger evaluation to be publication-ready at NeurIPS. These changes are more substantial than what could reasonably be addressed in a camera-ready revision. For that reason, I currently plan to keep my score at 2, while remaining very open to further discussion and clarification.

Reviewer aqLpOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper contributes optimizations, both theoretical and practical, for the combination of pipeline parallelism and FSDP in distributed training. 4 main improvements are proposed as well as a strategy to choose PP vs FSDP degrees. The results are evaluated empirically on standard Transformer models.

Strengths and weaknesses

The optimizations presented in this paper are logical and practically useful. The problem is clearly explained and modeled. The experimental results are convincing, even though only a single baseline (TorchTitan) is shown. The ablation study demonstrates the individual impact of each optimization. The presentation and metrics used in the main experiments (Tables 2-4) could be improved. Adding Zero-Bubble-like PP would be a nice bonus, even though a good implementation is currently missing (as noted in the limitations). Overall, the contributions are not groundbreaking but a solid improvement for PP+FSDP, focusing on small but effective modifications to ensure efficient execution.

I would argue however that the first component "Dynamic Context-aware Prefetching Strategy" is a bit of an oversell: it is the longest description of all, when the contribution consists only in looking at the pipeline schedule and prefetching the correct layer next. I think the authors should simplify this part to focus more content on more intricate development and ideas.

Additional comments:

  • line 49, the word "non-deterministic" is misleading: the authors do not mean that the pipeline schedules are random or even dynamic (ie adapt to online conditions), but merely that there is no simple formula for the index of the next microbatch/layer to be processed on a given GPU. I think the authors should find a more suitable word for that. And actually the authors do say line 128 that "the pipeline execution schedule is deterministic"
  • Maybe Table 1 should also include the communications besides the P2P ones (the all-reduce for Data Parallelism, the All-Gather for Fully Sharded approaches).
  • The difference between the experiments of Tables 2 and 3 could be made clearer, with explicit depictions in the captions of the Tables of the experimental conditions. As it stands now, they are named "TPS comparison" and "Memory comparison", but both report TPS and Memory, which is rather confusing. Why is MFU reported in Tables 3 and 4 rather than throughput? The authors mention using a formula from [16], but this formula assumes full activation recomputation, which is not the case in this paper as far as I understand. It would be useful to provide the computation for completeness. In addition, this formula is not suited for MoEs, as the very low values for those models seem to show. I would recommendusing throughput for every experiment, this would also make the tables directly comparable.
  • l.291 - [26, 4, 24] do not introduce a "virtual pipeline stage dedicated to" embedding and output layers: they simply remove one Transformer block from the first and last stages. Please clarify what you did.

Typos:

  • l.82 - To hide
  • l.153 - optimizer
  • l.191 - the sentence is unfinished
  • l.194 - "greater than ≥\geq"
  • l.354 - Zero-Bubble != ZeroPP
Questions

Please provide the explicit formula used for the MFU computation.

Limitations

yes

Final justification

I am satisfied with the answers to my comments, and have appreciated the comparison with Megatron+FSDP (both the description of the technical differences and the small experimental evaluation) provided in the answer to Reviewer jgNS. My assessment of the paper's contributions, "not groundbreaking but a solid improvement for PP+FSDP", remains unchanged.

Formatting concerns

N/A

2 comments
Authors · CommentOpenReview ↗

We sincerely appreciate the reviewer’s positive and constructive feedback. We have corrected all five typos identified by the reviewer and have thoroughly proofread the entire paper to address any remaining typos.

Q1: "Dynamic Context-aware Prefetching Strategy is a bit of an oversell"

A1: Thanks so much for the suggestion. It's true that the core DCP mechanism is conceptually simple: a hook that queries the pre-computed schedule table and overrides FSDP's default prefetch target. The current description is disproportionate to its conceptual complexity. We will simplify the DCP description as suggested.

Q2: "The word 'non-deterministic' is misleading"

A2: Thanks for pointing out the misleading description. DCP's contribution is simply looking at the pipeline schedule and prefetching the correct layer next. The schedule is deterministic and pre-computed; "non-deterministic" was the wrong word. We have rephrased it as "deterministic".

Q3: Table 1 — missing collective communications

A3: We add All-Gather and Reduce-Scatter columns with per-iteration communication volumes.

Revised Table 1 (communication columns only; all other columns unchanged):

Method All-Gather / Reduce-Scatter All-Reduce
Standard PP — —
PP with DP — 2 × (N_dp−1)/N_dp × M_total
Standard FSDP 3 × N_mb × (N_total−1)/N_total × M_total —
PipeFSDP 3 × N_mb × (N_fsdp−1)/N_fsdp × M_total / N_pp —

Q4: Table confusion and MFU vs throughput

A4: We have replaced MFU with TPS as the primary metric across all tables to make them directly comparable and eliminate the MoE interpretability issue.

Revised Table 3 for Testbed A like:

Model Npp TorchTitan TPS PipeFSDP TPS
Llama3 2 424.7 438.9
Llama3 4 396.4 407.9
Qwen3 2 341.9 349.8
Qwen3 4 315.7 318.8
Qwen3-MoE 2 226.3 250.3
Qwen3-MoE 4 214.2 230.2

MFU formula (retained in appendix for reference): We follow the PaLM convention [Chowdhery et al., 2022]:

MFU(%) = 100 × num_flops_per_token \times tps_per_device / gpu_peak_flops

where num_flops_per_token = 6 × (P_active - P_embedding) + 12 × L \times H × d_head × seq_len. The 12LHdt term accounts for self-attention QKTQK^T computation. For MoE, P_active uses only top-k activated expert parameters. Model FLOPs intentionally exclude activation recomputation overhead per the PaLM convention, measuring useful computation efficiency regardless of checkpointing strategy.

Q5: l.291 - [26, 4, 24] do not introduce a "virtual pipeline stage dedicated to" embedding and output layers: they simply remove one Transformer block from the first and last stages. Please clarify what you did.

A5: Correction accepted. The references [26, 4, 24] do not introduce a dedicated virtual stage; they remove one Transformer block from the first and last stages. Our implementation follows the same approach: the first and last pipeline stages each contain one fewer Transformer block, with the embedding and output projection layers occupying the equivalent compute budget of the removed block. We will revise it.

Reviewer aqLp · CommentOpenReview ↗

I thank the authors for their answers to all reviews. I am satisfied with the answers to my comments, and have appreciated the comparison with Megatron+FSDP (both the description of the technical differences and the small experimental evaluation) provided in the answer to Reviewer jgNS. My assessment of the paper's contributions, "not groundbreaking but a solid improvement for PP+FSDP", remains unchanged.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…