Four-Way Split, Zero Bubble
DeepSeek-V3's DualPipe schedule splits each pipeline micro-batch chunk into four components (attention, all-to-all dispatch, MLP, all-to-all combine) and runs forward and backward micro-batches from opposite ends of the pipeline concurrently, reserving a fixed share of SMs for communication. Cross-node expert-parallel MoE layers require an all-to-all dispatch and combine per layer. What specific problem does DualPipe's bidirectional, component-level interleaving solve that a standard 1F1B (one-forward-one-backward) schedule does not solve on its own?
Sign in to answer questions and track your progress
Sign In