LESSON 33.26 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Loading model weights fast
Watch 16 GB of weights move from storage into GPU memory.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 33.26 · WEIGHT LOADER4 FILES · 16.06 GB · 8.03 B WEIGHTS
01
Stage 1 of 6 · The checkpoint
The checkpoint holds 8.03 billion weights at 2 bytes each. It splits into 4 files of at most 5 GB.
Explain it simply
Each long bar is one file of the checkpoint. The ochre blocks inside it are layers of weights, in order. Together the four files hold 16.06 GB. Every byte must travel from storage into the GPU before the model can answer.
Four file bars sit side by side. File 1 holds 4.98 GB. File 2 holds 5.00 GB. File 3 holds 4.92 GB. File 4 holds 1.17 GB. Each bar is cut into layer blocks.
weightsreadsunpickle, private copycopy to GPUnot read, empty or cap
Toy: the 8B model, 4 files; tier rates are round typical numbers
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The bytes are the weight count times 2 bytes.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.