docs: add comprehensive pipeline parallelism comparison guide#26
Open
yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
Open
docs: add comprehensive pipeline parallelism comparison guide#26yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
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 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.
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