LESSON 11.14 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Sequence and context parallelism
Watch four GPUs share one long sequence, then pass keys around a ring.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 11.14 · SEQUENCE BAY1 GPU · 128K TOKENS · 64 GB OF 40 GB
01
Stage 1 of 5 · One long sequence
One GPU keeps the activations of 8 tokens in 4 layers. At 128K tokens they need 64 GB, over the 40 GB it has free.
Explain it simply
You see one GPU and a sequence of 8 tokens. Each of the 4 layers keeps its activations, the numbers the backward pass needs later. The 8 tokens stand for a real sequence of 128K tokens, so the bar on the right is 64 GB. Only 40 GB are free for them, so this long context does not fit.
A dashed GPU column holds 8 tokens and 4 rows of activations. Its memory bar shows 64 GB against a 40 GB line.
tokens, activationsscores, ring sends40 GB free per GPUkeys on another GPUover the limitone GPU, masked score, waiting
Toy: the 8 samples of 11.C1 as 8 tokens, its 4 layers, one causal attention step
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Activation memory grows with the number of tokens.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 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.