Why it matters

Pipeline parallel is key for very large models. Understanding shapes multi-node training.

Advertisement

The architecture

Split model into stages. Each stage on different GPU.

Micro-batch: divide batch into smaller pieces. Pipeline them.

Pipeline parallelStages on GPUslayer splitMicro-batchespipeline throughBubble timeunused during fill/drainGPipe schedule: fill + steady + drain phases. 1F1B interleaves forward + backward
Pipeline mechanics.
Advertisement

How it works end to end

Bubbles: idle time during pipeline fill/drain. Larger with fewer micro-batches.

Schedules: GPipe (simple), 1F1B (interleaved forward+backward), interleaved 1F1B (smaller bubble).

Combine with data + tensor parallel for 3D parallelism.