Tinker Many chips, one model

by Samy (Kondasamy Jayaraman)

8 chips share one layer; hop 0 of its all-reduce.

Chapter 5 of 7

Split inside a layer

Fernhill Labs also splits each layer’s maths across chips. The quote says those chips stay inside one box.

This chapter: Why does a split inside a layer need the fastest link?

About this chapter

You will learn

  • How a layer’s maths is shared out
  • Why its chips talk every layer
  • Why that stays inside one box

Words you’ll meet

Tensor parallel
Each layer’s maths split across chips, which swap partial results as they go.
Box
One server: here, 8 chips joined by a fast link.

Step 1 of 4

splits each layer’s maths across chips. They all-reduce partial results 4 times a layer.

Predict first.

Split each layer 16 ways across two boxes, not 8 in one. What happens to the step time?