docs: add comprehensive pipeline parallelism comparison guide - #26
docs: add comprehensive pipeline parallelism comparison guide#26yurekami wants to merge 2 commits into
Conversation
Add COMPARISON.md that provides detailed comparison of pipeline parallelism methods including 1F1B, VPP, ZB1P, DualPipe, and DualPipeV. The document includes: - Overview table comparing all methods - Detailed description of each approach - Bubble ratio analysis with formulas - Memory trade-offs (parameter and activation) - Communication patterns - When-to-use guidelines for each method - MoE with Expert Parallelism considerations - Decision flowchart for choosing the right method This addresses the questions raised in: - Issue deepseek-ai#15: Comparison between VPP and DualPipe - Issue deepseek-ai#20: What is the benefit of DualPipeV? Closes deepseek-ai#15 Closes deepseek-ai#20 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
This comparison doc would be very useful for the recurring VPP vs DualPipe questions. One thing I would tighten before merge is the assumptions behind the bubble formulas: whether |
|
@hiSandog Good point, added in 81e55b7. The note under the Overview table now states all three assumptions: |
Summary
This PR adds a comprehensive comparison guide (
docs/COMPARISON.md) for pipeline parallelism methods, directly addressing the questions raised in issues #15 and #20.Motivation
Several users have asked for clarification on:
This documentation provides detailed answers with tables, formulas, and decision guidelines.
Documentation Contents
Methods Compared
Sections Included
Key Insights Documented
vpp > 3, VPP's bubble ratio becomes competitive with DualPipeTest Plan
Closes #15
Closes #20
🤖 Generated with Claude Code