Skip to content
DistML Course
Course contents
On this page

Part 3 · ML Parallelism · Chapter 15

Pipeline Parallelism

Introduction

Pipeline parallelism assigns different model stages to different GPUs. This chapter will follow microbatches through those stages and explain how scheduling and load balance affect the time GPUs spend computing or waiting.

We will cover:

  • Stages and microbatches: Partitioning the model and the work flowing through it.
  • Pipeline schedules: Ordering forward and backward work across stages.
  • Bubbles and load balance: Identifying idle time and uneven stage costs.
  • Worked example and experiments: Implementing a pipeline and measuring its utilization and performance.

Stay tuned for the full chapter!