Tinker Many chips, one model

by Samy (Kondasamy Jayaraman)

No stages: 1024 copies, each layer split 1 ways. Eight chips drawn.

Chapter 7 of 7

Workbench: lay out the run

Larkspur checks the layout Fernhill Labs quotes before signing. Every chip must fit, then the quickest step wins once lost work counts.

This chapter: Which layout of the rented chips trains fastest?

About this chapter

You will learn

  • How the splits combine
  • Why a split that fits can still be slow
  • Why several layouts can tie

Words you’ll meet

Layout
How the chips are split: inside layers, by layers, into copies, plus ZeRO and saving.
Workbench
The chapter’s free-play bench: change the layout and see every result.

Step 1 of 2

Fernhill’s rule: every chip’s memory fits, then the least time per step once lost work is counted. Simulated .

Find the fastest that fits.

12.1 s a step, 1.21 TB a chip DOESN’T FIT

Split each layer
Pipeline stages
ZeRO
Save every
1 × 1 × 1024 copies = 1,024 chips
Memory a chip (of 80 GB)1.21 TB
Maths4.35 s
Waiting inside layers0 ms
Pipeline bubble0 ms
Averaging gradients5.59 s
Lost to saves and failures17.5%
A step, lost work counted12.1 s

A simulated cluster: hand-set stand-in gradients and planning numbers from published chip figures, not a measurement of any real run.