Tinker Many chips, one model

by Samy (Kondasamy Jayaraman)

1

4 stages of 20 layers, 1 micro-batch: slot 1 of 8, 75% bubble.

Chapter 4 of 7

Split by layers

Fernhill 4’s activations alone overflow a chip. So Fernhill Labs gives each chip some of the layers, like stations on a line.

This chapter: When the layers are split, who waits for whom?

About this chapter

You will learn

  • How a batch flows down the stages and back
  • Where the idle bubble comes from
  • How micro-batches shrink it

Words you’ll meet

Pipeline
The layers cut into stages on different chips, each passing its output on.
Bubble
Time a pipeline stage sits idle, waiting for work to reach it.
Micro-batch
A small slice of the batch, so stages can work on different slices at once.

Step 1 of 4

80 layers cut into 4 stages: a . One batch goes down the line, then back.

Press Step to the end.