A 32B model weighs 64 GB. A 25 Gbps link moves 3.1 GB a second. So one sync takes 20 seconds while the GPUs wait. Drag the link and the sync gap to see when they stop waiting.
Learn to price every message between GPUs in bytes and seconds, the way an engineer prices a road trip in miles and hours.
Press 25 Gbps, then drag Sync every from 1 step to 50. Watch the wait shrink. Then press 400 Gbps and see what a fast cable buys. After that we build the arithmetic piece by piece: bits, bytes, links, rings, ratios and delay.
You need multiplication and division. We build the rest from zero, including what a Gbps is.
Prerequisite 4 of the series Training on Compute Islands, built for the post The Hitchhiker’s Guide to Training on Compute Islands by Rohan Anil (Core Automation, 2 November 2026). Numbers come from that post and from the papers it cites; toy numbers say so.
Illustrative: one training step takes 2 seconds, and the GPUs stop and wait while the whole 64 GB message crosses (no overlap yet; Chapter 5 adds it). 64 GB is the post’s 32B-parameter model at 2 bytes per parameter. The 25 Gbps link is the post’s; one NDR InfiniBand port is 400 Gbps (NVIDIA).
Chapter 0
See why two clusters on opposite sides of the planet can train one model only if you can price every message in bytes and seconds
Picture two warehouses. One is in US and one is in Asia, about 9,000 miles apart. Each holds 160 powerful computer chips, and each chip is busy with the same job: learning to write text. Every so often the two warehouses must agree on what they have learned. So one of them has to send the other a very large parcel.
That parcel is the whole story of this lesson. How big is it? How long does it take to arrive? What do the chips do while it travels? If you can answer those three questions with a calculator, you can judge any plan for training across far-apart machines, including the one in a November 2026 post from Core Automation, The Hitchhiker’s Guide to Training on Compute Islands by Rohan Anil.
A GPU is a chip that does huge amounts of arithmetic at once. It is the engine of AI training, the way a motor is the engine of a car. A cluster is a building full of GPUs wired together with fast cables, so they can work as one machine. The post calls a cluster that stands alone an island, because the world is full of them: a few hundred or a few thousand GPUs here, a few thousand there, rented out by many small companies the post calls neoclouds (new cloud providers that rent out GPUs).
Usually a company wants one giant cluster, because the standard way to train a model assumes that every GPU can talk to every other GPU very quickly. But a giant cluster needs power, cooling and land, and those are scarce. The post quotes a remark by Elon Musk about stranded compute: GPUs that exist and sit idle, for example in a half-built data center, because nobody can plug them in or use them for the big job. The post asks a plain question. Could the scattered islands train one model together?
This lesson does not answer that question. The lessons after it do. This one gives you the arithmetic every answer depends on. Without it, phrases like “25 Gbps link” or “sync every 50 steps” are noise. With it, they are numbers you can check.
Here is the loop in one paragraph. A model is a very large list of numbers called parameters (the dials that hold what the model has learned). Training shows the model a batch of text, measures how wrong it was, and nudges every parameter a little. One round of showing, measuring and nudging is a step. A real run takes hundreds of thousands of steps.
Now split the work over two clusters. Each cluster sees different text, so each nudges the parameters in a slightly different direction. If they never talk, they end up with two different models. So every so often they must sync: exchange what they learned and agree on one set of parameters. A sync is a message. The message has a size in bytes. The link has a speed in bytes per second. Size divided by speed is the time the chips may spend waiting.
The post gives the key numbers for its own experiment. The model has about 32 billion parameters. The two sites are joined by a link of 25 Gbps (we define that unit in Chapter 1). They sync every 50 steps. Here is the whole lesson in one try-it box: press the button and watch 64 GB cross the link. The animation runs ten times faster than real life, and the clock shows real time.
Two clusters, one link. Choose a link, then press Send 64 GB. The purple bar fills as bytes cross. The clock shows real seconds; the animation is ten times faster.
Time is size divided by speed: 64 GB over a link of G Gbps takes 64 ÷ (G ÷ 8) seconds. This ignores delay and protocol overhead, which Chapters 3 and 8 add. The animation speed (10×) is only for your patience.
Read the three results side by side. On the 25 Gbps link the parcel takes 20.5 seconds. On a 400 Gbps port it takes 1.28 seconds. On a 1 Gbps line it takes 8.5 minutes. The size of the parcel never changed. Only the width of the pipe did.
Twenty seconds sounds small. It stops sounding small when you ask how often the parcel must go. If it goes after every step, and a step takes about two seconds, then the chips spend ten times longer waiting than working. That is the picture in the hero at the top of the page. Every idea in this series is a way to shrink, delay, hide or avoid that wait.
If you want the background on how GPUs train together inside one building first, the site already has Distributed Training, Parallelism: Pipeline and FSDP and Distributed Training for tiny devices. Optimization itself is in Optimization and Backprop. The next lessons of this series build on the same ideas: the data center as a computer, data parallel and all-reduce and the parallelism zoo.
Chapter 1
Learn the one unit that trips up everyone, and convert any network speed into gigabytes per second in your head
You buy a new internet plan. The box says “1,000 Mbps”. You download a game of 50 GB and expect it in a few seconds. It takes seven minutes. Nobody lied to you. The plan counts speed in one unit and the game counts size in another, and the two differ by a factor of eight.
Every number in the Core Automation post has this trap inside it. “A bidirectional link of 25 Gbps” is a speed. “A model of 32B parameters” is a size. To get a time, you must put them in the same unit. This chapter teaches the conversion once, so that you never get it wrong again.
A bit is the smallest piece of information: one switch that is either off (0) or on (1). A byte is a group of eight bits. One byte can hold 256 different patterns, enough for one letter of English text or one number from 0 to 255. Computers store sizes in bytes. Networks count speed in bits.
The reason is history. Early telephone and radio links sent one bit at a time down a wire, so engineers measured how many bits went by each second. Computer memory was built from bytes, so programmers measured how many bytes a file held. Both habits survived. The two kinds of unit are written with a capital or a small letter: a capital B means bytes and a small b means bits. GB is gigabytes. Gb is gigabits.
The prefix says how many. Kilo is a thousand, mega is a million (a thousand thousands), giga is a billion (a thousand millions) and tera is a trillion. So one gigabyte is 1,000,000,000 bytes, and one gigabit is 1,000,000,000 bits.
Now the unit in the post. Gbps means gigabits per second: how many billions of bits cross the link each second. A link of 25 Gbps moves 25,000,000,000 bits every second. Divide by 8 to count bytes: 3,125,000,000 bytes, which is 3.125 GB each second.
Try the conversion on the box below. Each square is one gigabyte. The number of squares that cross in a single second is the speed in Gbps divided by 8.
Each square is 1 GB. The squares are what crosses the link in one second. Drag the speed or press a preset, and watch the count change.
Exact arithmetic with decimal prefixes (1 GB = 109 bytes), as network vendors quote speed. Real links deliver a little less than the label because of packet headers and retries; the series ignores that so the numbers stay clean.
At 25 Gbps, three full squares and one eighth of a square cross each second. At 400 Gbps, fifty squares cross. At 1 Gbps, only an eighth of a square: a gigabyte takes eight seconds. That last number is the quick check to keep in your head. Divide the Gbps by 8 to get GB per second. Multiply the GB by 8 to get Gb.
The first trap is the word bidirectional. A cable has two directions, like a two-lane road. The post says the link is “bidirectional at 25 Gbps”. We read that as 25 Gbps going each way at the same time (engineers call this full duplex), so a message sent from US to Asia and a message sent back do not slow each other. If a vendor quotes one total shared by both directions, halve it.
The second trap is that there are two kinds of gigabyte. Memory sizes are often counted in powers of two: a gibibyte (GiB) is 1,073,741,824 bytes. A decimal gigabyte is 1,000,000,000 bytes. The gap is about 7 percent: 64 GB is 59.6 GiB. We use the decimal GB through this lesson, because link speeds use decimal prefixes too. When you check a real tool, look at which one it prints.
A last note on the sums above. When we say “a 25 Gbps link moves 3.125 GB per second” we give the best case. Real throughput is lower. Packets carry headers, the two ends wait for acknowledgements, and other traffic shares the path. Chapter 8 shows how distance alone can stop one connection from filling a long pipe. For planning, use the label for a first estimate, then measure.
Take the plan from the opening. The box says 1,000 Mbps, which is 1 Gbps. Divide by 8: 0.125 GB per second. A 50 GB game needs 50 ÷ 0.125 = 400 seconds, about 6.7 minutes. That matches the seven minutes you saw. The plan was honest. The expectation was wrong by a factor of eight.
Now move the same arithmetic to the post. The link is 25 Gbps, so 3.125 GB per second. The model has 32 billion parameters, and in Chapter 2 we will see it weighs 64 GB in bf16. Then 64 ÷ 3.125 = 20.48 seconds. Write the units on every line as you go: GB ÷ (GB per second) leaves seconds. If the units do not cancel to seconds, a factor of 8 is hiding somewhere.
The same habit protects you when you read a paper. A paper may say a link has “1 Gbit/s” (the Streaming DiLoCo paper aims at 1 to 5 Gbit/s) or a table may list a file in “GB”. Convert both to the same family before you divide. Two quick conversions to keep in mind: 1 Gbps is 125 MB per second, and 10 Gbps is 1.25 GB per second.
Why does the post quote Gbps at all, and not GB per second? Because the people who sell and rent links quote bits per second, and the people who write about training think in bytes of data. The post sits between them. When you read “25 Gbps” there, say it back as “3 gigabytes a second” and you will rarely be wrong by more than a rounding.
Chapter 2
Work out how many gigabytes a model of N parameters puts on the wire, and why the number format matters as much as N
You are about to move house. Before you book a truck, you count the boxes. A model is the same: before you worry about the cable, count the bytes. The count is short. It is the number of parameters times the bytes each parameter takes.
A parameter is one number inside the model, one dial among billions. The post’s model has about 32 billion of them, written 32B. A computer stores each parameter in some number format, which decides how many bits it spends on one number. More bits keep more digits. Fewer bits save space.
Four formats matter in this series. fp32 uses 32 bits, which is 4 bytes, and keeps about seven decimal digits. bf16 (brain floating point, 16 bits) uses 2 bytes. It keeps the same range of sizes as fp32 but only about three digits, which training has learned to tolerate. int8 stores a whole number from −128 to 127 in 1 byte, so a scale factor must travel with it. A 4-bit format uses half a byte per number.
32 × 109 parameters × 2 bytes = 64 × 109 bytes = 64 GB
That is the 64 GB of the hero. Notice the shortcut: with bf16, the gigabytes are simply twice the billions of parameters. A 7B model is 14 GB. A 70B model is 140 GB. Play with the box below to see how the same model shrinks when you spend fewer bits on each number.
Pick a model size, then a number format. The blue bars show the message in each format. The ruler under the bars says how long the selected message takes on a 25 Gbps link.
Exact: gigabytes = billions of parameters × bytes per parameter. It assumes one full copy of every parameter is sent once and ignores the small scale factors that int8 and 4-bit formats carry. The 400B size is an illustrative large model, not one from the post.
A natural question: do the clusters send the whole model? Not quite. They send the change. After a cluster has taken H local steps, its parameters differ from where they were at the start. The difference, start minus now, is called a pseudo-gradient. It is called pseudo because it is not one gradient from one step. It is the sum of many steps of progress, and it plays the role a gradient plays in ordinary training.
A pseudo-gradient has the same shape as the model: one number per parameter. So it has the same size, N times b. Sending the change or sending the model costs the same number of bytes. We send the change because the receiver can add it to the shared copy and because, as Chapter 7 shows, a change can be squeezed harder than a full model.
What stays at home? The optimizer state. Adam, the usual optimizer, keeps two extra running averages for every parameter. They are often stored in fp32, which is 8 more bytes per parameter, or 256 GB for 32B (illustrative). A cluster that kept that state private and sent only the pseudo-gradient keeps the message at 64 GB; sending that state too would make it 320 GB, five times larger. Chapter 6 introduces the outer optimizer, which uses the received change to update the shared copy.
The post’s model is a mixture of experts (MoE): many small expert networks, with a router that sends each token to only a few of them. The post gives 256 experts, top-8 routing, 32B parameters in total and 32 times sparsity. You can read “32 times sparse” as: the model owns about 32 times more parameters than it uses on one token, so roughly 1B are active (our inference from the post’s numbers, not a figure it states). The existing lesson Mixture of Experts explains routing in detail.
Here is why it matters for this chapter. The work per step follows the active parameters, about 1B. The message follows all parameters, 32B. A dense model of 1B would send a message 32 times smaller for the same work per step. A sparse model gets more quality from the same compute, but it pays for it on the wire. That is one reason the ratio in Chapter 5 is hard for MoE models.
Take three models and weigh each one. A 1B model in bf16 is 1 × 2 = 2 GB, which fits in the memory of a phone. A 7B model in bf16 is 14 GB, which a good laptop GPU can hold. The post’s 32B model is 64 GB. A hypothetical 400B model would be 800 GB, far more than one GPU holds (an H100 has 80 GB), and it would take 256 seconds to cross a 25 Gbps link even in bf16.
Now change the format and keep the model. The 32B model in fp32 is 128 GB, which takes 41 seconds on 25 Gbps. In int8 it is 32 GB and takes 10.2 seconds. In 4-bit it is 16 GB and takes 5.1 seconds. The model did not change. We only agreed to describe each change with fewer digits.
Why is fewer digits allowed? A pseudo-gradient is a direction to move, not a value to store forever. Its small errors average out over many steps, and Chapter 7 shows two habits (stochastic rounding and error feedback) that make sure they do. The weights themselves are kept in higher precision at home; only the message shrinks.
One detail on the wire, because the post cares about realization. In practice the message is not one flat list. It is cut into tensors (the multi-dimensional arrays that hold each layer’s weights), and each tensor is flattened and sent in pieces. A tensor of shape 4,096 × 4,096 in bf16 is 16.8 million numbers, so 33.6 MB. A model of 32B parameters has thousands of such tensors. Chapter 7 returns to cutting the message into fragments.
Chapter 3
Compare the links between chips, between machines and between sites, and divide one message by each of them
Think of water. A garden hose, a fire hose and a river all carry water, but you fill a swimming pool with them in very different times. Links between computers work the same way. The message is the pool. The link is the hose. This chapter lists the hoses.
A GPU talks to its neighbours over three kinds of wire, each roughly ten to twenty times apart.
First, NVLink: a wire built by NVIDIA that joins GPUs inside one machine or one rack. On Blackwell GPUs (the kind in the post’s B300 and GB300 clusters), NVIDIA lists 1.8 terabytes per second for each GPU, counting both directions together. One direction is therefore about 900 GB/s, which is 7,200 Gbps.
Second, the network between machines in one building. The standard in AI clusters is InfiniBand, a network designed for very low delay. NVIDIA’s NDR generation runs at 400 Gb/s per port, and the ConnectX-7 network card delivers 400 Gb/s. That is 50 GB/s for each port. A machine usually holds several cards, so a whole machine moves more.
Third, the wide-area link between buildings or between continents. It is rented from a carrier, it crosses many switches, and it is shared. The post’s link is 25 Gbps. Other papers in the field work at even less: the DiLoCoX experiment in the post’s history table emulated 1 Gbit/s, and the Streaming DiLoCo paper aims at 1 to 5 Gbit/s.
| Link | Gbps | GB/s | Time for 64 GB |
|---|---|---|---|
| NVLink 5, one direction | 7,200 | 900 | 71 ms |
| InfiniBand NDR port | 400 | 50 | 1.28 s |
| The post’s inter-site link | 25 | 3.125 | 20.5 s |
| An emulated slow link (DiLoCoX) | 1 | 0.125 | 8.5 min |
Read down the last column. Inside the machine, the whole model crosses in the blink of an eye. Over one InfiniBand port, it takes a little over a second. Over the post’s long link, it takes twenty seconds. Over an emulated 1 Gbps line, it takes more than eight minutes. Every row is the same arithmetic as Chapter 1: gigabytes divided by gigabytes per second.
Now try it yourself. Drag the message size and watch the five bars. The bars use a log scale, because the times span five orders of magnitude: the same distance on the screen means ten times more time.
Each bar is the time one message takes on one link. A longer bar is a longer wait. The faint line marks 2 seconds, the length of one training step in our toy.
Exact division of message size by link rate. NVLink is 900 GB/s, one direction (half of NVIDIA’s 1.8 TB/s); the other rates are the labels. Real rates are lower and the NVLink figure covers only traffic inside one rack. The 2 s step is illustrative.
Set the message to 64 GB. Only NVLink and InfiniBand cross it in less than the 2 seconds of one step. The 25 Gbps link needs ten steps’ worth of time. Drag the message down to 5 GB and even the 25 Gbps link crosses in 1.6 seconds. This is why small models are easy to train across a distance, and why the post’s 32B model is a real test.
One more fact changes the picture. A long link is shared by every GPU at the site. If all 160 GPUs in the post’s US cluster use the same 25 Gbps link at once, each gets 25 ÷ 160 = 0.156 Gbps, which is about 20 MB per second. Compare that with the 400 Gbps card each GPU may have inside the building. It is 2,560 times smaller.
That is the heart of the problem the post sets out to solve. Inside an island, the wires are generous. Between islands, the wires are thin, and many GPUs wait on the same thin wire. The post’s position is: use the fast interconnect aggressively inside an island, and exchange updates on a slower schedule across islands. This chapter gives the numbers that make “fast” and “slower” concrete.
For the engineering behind the fast links inside a building, see Parallelism: Pipeline and FSDP and, in this series, the data center as a computer.
Imagine a step of 2 seconds. Inside the machine, NVLink could carry the whole 64 GB model several times in that step, so inside a machine the wire is almost never the problem. Between machines in the building, the 64 GB crosses in 1.28 seconds on one port, so a single port could carry roughly one model-sized message per step. That is why standard training can sync every step inside one big cluster, as long as the machine has several cards and the work overlaps.
Between the sites, the same message takes 20.5 seconds, ten steps. If you tried to sync every step, the link would fall one message behind every step, and the queue would grow without end. A queue that grows without end is the clear sign that a link cannot keep up: bytes arrive faster than the pipe drains. The cure is not a patch; it is a different schedule.
One more caution about labels. Sellers often quote the best case: the cable's top speed on an empty path. In practice you receive less. Packet headers, retries, and other tenants on the carrier’s network all take a share. The honest way to plan is to quote the label, then multiply by a measured efficiency (illustrative values are 0.8 to 0.95) and keep the margin. Use the label to compare options, and a measurement to decide.
Also note who pays. A wide-area link between two continents is leased, and its price grows with its width. So the question “how much bandwidth do we need?” is also a money question. The formula of Chapter 6 matters here: syncing every 50 steps instead of every step lets a team rent a link 50 times thinner for the same GPUs.
Chapter 4
Count the bytes each GPU sends when many GPUs average their numbers, and see why the answer barely depends on how many there are
Four friends each own a bag of coins. They want every friend to end up knowing the total, and they want it fast. One slow way: everyone hands their coins to friend one, who adds them up and calls out the total to the other three. Friend one does all the work, and everyone queues at friend one’s door.
A faster way has everyone work at once. That idea sits behind all-reduce, the operation the post wants to replace across islands. It is worth learning in this chapter because its cost sets the baseline.
Each GPU holds a list of S bytes of numbers: say, the gradients (the directions to nudge each parameter) it just computed. An all-reduce adds the lists from all N GPUs, number by number, and gives every GPU the same sum. Often it then divides by N to get an average. After it, all GPUs hold identical numbers, so they can take the identical step and stay in agreement. Standard data-parallel training does this after every step. The lesson Data Parallel and All-Reduce tells the full story; here we only count bytes.
The slow way, with one boss GPU, makes the boss receive (N − 1) × S bytes through a single door. With 160 GPUs and S = 64 GB, that is more than 10 terabytes into one link. Nobody does this.
The ring all-reduce arranges the GPUs in a circle, like people passing buckets in a line that closes on itself. Each GPU has one neighbour it sends to and one it receives from. Cut each GPU’s list into N equal chunks of S/N bytes. Then repeat two phases.
In every step, every GPU sends exactly one chunk of S/N bytes and receives one. All the wires work at the same time, so none is a bottleneck. Total sent by each GPU: 2 × (N − 1) steps × S/N bytes.
Look at what the formula says. The factor 2(N − 1)/N rises from 1 (two GPUs) toward 2 (many GPUs) and stops there. Adding GPUs barely changes what each one sends. This is why the ring is called bandwidth-optimal: Patarasuk and Yuan (2009) showed that no all-reduce can make a GPU send less than 2(N − 1)/N times S. The cost is time, not bytes: there are 2(N − 1) steps in a row, and each step pays the delay of Chapter 8.
Dots are chunks moving to the next worker. Press Play to run one all-reduce. Drag the worker count and watch the formula’s factor on the right level off near 2.
The byte count is exact for the ring algorithm (Patarasuk and Yuan, 2009). The animation is a sketch with at most 16 workers; real rings have hundreds. S = 64 GB is the post’s message. Times assume every ring link runs at the quoted rate.
With N = 8 and S = 64 GB, each GPU sends 1.75 × 64 = 112 GB, in 14 steps of 8 GB each. On a 400 Gbps port that takes 2.24 seconds. On a 25 Gbps link it takes 35.8 seconds. With N = 2, the case of the post’s two sites, the factor is exactly 1: each side sends 64 GB and receives 64 GB.
Now put the post’s 320 GPUs in one big ring that runs through both sites. Somewhere on the ring, a chunk must hop from the last US GPU to the first Asian GPU, and again from Asia back to US. Those two hops use the 25 Gbps link. Every one of the 2 × 319 steps must wait for its slowest hop, so every step runs at the speed of the long link.
Count it. Each hop across carries S/N bytes per step, for 638 steps. That totals about 2 × 64 GB = 128 GB in one direction. At 25 Gbps that is 41 seconds, twice the 20.5 seconds of the simple scheme below. (This is our calculation from the formula, not a figure in the post.)
The cheaper scheme is two-level. First, each site runs its own fast all-reduce on its own wires, so each site holds one site-wide sum. Then the two sites exchange those sums once across the link: 64 GB each way, 20.5 seconds. The fast wires do the heavy lifting and the slow wire is crossed once. The post’s advice “use the fast interconnect aggressively inside an island” is exactly this.
Take four workers A, B, C and D, each with a list of four numbers cut into four chunks of one number. Call the chunks 1 to 4. In reduce-scatter step one, A sends chunk 1 to B, B sends chunk 2 to C, C sends chunk 3 to D and D sends chunk 4 to A. Each receiver adds what it receives to its own copy. In step two, each worker passes on the chunk it just updated. After three steps, A holds the full sum of chunk 2, B of chunk 3, C of chunk 4 and D of chunk 1. Each worker has sent three chunks, a total of 3 × (S/4).
Then the all-gather phase passes each finished chunk around the ring for three more steps. After six steps in all, every worker holds all four finished chunks. Each worker sent 6 chunks of S/4 each, which is 1.5 × S. The formula gave the same number: 2 × 3 ÷ 4 = 1.5.
Chapter 5
Divide the time the GPUs spend computing by the time they spend talking, and read off the share of the day they really work
A baker makes bread. Every loaf needs flour, and a van brings the flour. If the baker bakes for ten minutes and then stands idle for ten minutes while the van is on the road, half of the day is wasted. If the van takes one minute, only a tenth is wasted. The baker did not get faster. The ratio of baking time to waiting time changed.
Training across distance has the same shape. The GPUs are the baker. The sync is the van. This chapter turns the picture into two small formulas, and then checks them against a real experiment.
Start the first clock when a step begins and stop it when the step ends. That is the time per step, Tstep: how long the GPUs spend on arithmetic for one round of show, measure and nudge. Run H steps and you have spent Tc = H × Tstep seconds computing between two syncs. (The letter c stands for compute.)
The second clock is the time per sync, Ts: how long one exchange takes on the wire. Chapters 2 and 3 gave the recipe: bytes divided by bytes per second. In our toy, Ts = 20.5 s.
The compute-to-communication ratio is Tc divided by Ts. A ratio of 10 means the GPUs compute for ten seconds for every second on the wire. A ratio of 0.1 means they wait ten seconds for every second they work. Large is good.
The share of time the GPUs spend on useful arithmetic is called compute utilization. The post measures the same idea as training goodput, productive progress per unit of time (our plain reading of the term). There are two cases.
Blocking. The GPUs stop, send, wait for the answer, and start again. The clocks add up: the cycle takes Tc + Ts, and only Tc of it is work.
Overlapped. The GPUs keep computing while the message is on its way, using the previous sync’s data. The link and the GPUs work at the same time. The cycle takes whichever is longer, Tc or Ts. If the sync fits inside the compute, the GPUs never wait at all.
Try both. The presets include the toy of the hero and three real measurements from the INTELLECT-1 paper, where a 10B model trained on machines in the USA, then the USA and Europe, then across the world. In each, 100 steps of compute took 38 minutes.
Orange is compute, purple is the message on the wire, hatched yellow is waiting. Two cycles are drawn. Slide the two clocks, switch overlap on, or press a preset.
The three INTELLECT-1 presets use the paper’s Table 2: 38 min (2,280 s) per 100 inner steps and median all-reduce times of 103 s, 382 s and 469 s, giving the paper’s 95.7%, 85.6% and 83.0% compute utilization. The hero toy is illustrative: 50 steps of 2 s and a 20.5 s sync. The sliders are logarithmic, from 1 s to 10,000 s.
Press the INTELLECT-1 presets and see the formula match the paper. 2,280 ÷ (2,280 + 103) = 95.7%. With the transatlantic link, 2,280 ÷ (2,280 + 382) = 85.6%. Around the world, 2,280 ÷ (2,280 + 469) = 83.0%. The model, the code and the GPUs stayed the same. Only the wire changed, and the share of useful time fell by 12 points.
Now turn on overlap for the hero toy. Without overlap the GPUs work 83% of the time. With overlap, Tc = 100 s is longer than Ts = 20.5 s, so the sync hides completely and the GPUs work 100% of the time, as long as the data they need arrives in time. That is the promise of the post’s design: “a late-arriving update can still be committed.” The price is that the GPUs train on slightly old information, which Chapter 6 and the lessons after it examine.
Recall the catch from Chapter 2. A mixture-of-experts model has few active parameters per step, so its steps are short, while its message follows the full 32B. A short Tstep makes Tc small, and a big message makes Ts large. Both push the ratio the wrong way. The post’s authors needed an unusual schedule because their model was sparse.
The ratio also changes as the run changes. If the team doubles the number of GPUs at a site and keeps the batch per GPU, the step time stays about the same but nothing shrinks the message. If they instead double the batch per GPU, the step takes longer, Tc grows and the ratio improves for free. This is the trick the post means by tuning microbatch and gradient accumulation separately so that both sites take similar time per step: a site with fewer or slower chips simply takes more microbatches per step so that it finishes at about the same moment.
Chapter 6
Divide the message over many steps and see how much slower a link can be while the GPUs still never wait
You and a friend write a book together, from two cities. Option one: after every sentence, you phone each other to agree on it. The phone bill is huge and you spend the day on hold. Option two: each of you writes a whole chapter alone, and you swap chapters once a week. The total words are the same. The number of phone calls dropped by a thousand.
That is the central idea of low-communication training. Chapter 5 gave the dial: raise Tc by letting each island run H steps alone before it syncs. This chapter turns that into a bandwidth number you can compare against a cable.
In ordinary data-parallel training, all workers sync after every step (H = 1). The method called local SGD (the lesson Local SGD and Model Averaging covers it), and its relatives in federated learning, lets each worker take H steps by itself, on its own shard of the data (its own share of the text). Then they exchange what they learned. The word local means: the steps happen on one island without talking to the others. SGD stands for stochastic gradient descent, the basic way to nudge parameters; Optimization and Backprop introduces it.
DiLoCo, the method behind much of the post, uses two optimizers. The inner optimizer (AdamW) runs the local steps. After H steps, each island forms its pseudo-gradient (Chapter 2) and the islands average them. An outer optimizer (Nesterov momentum in DiLoCo) applies the average to the shared parameters. The DiLoCo paper uses H = 500 and reports matching fully synchronous training with 8 workers while communicating 500 times less. The factor 500 is exactly H. The lesson Optimizers and Momentum covers both optimizers in depth. Here we only count bytes.
Suppose each sync sends S bytes and you sync every H steps of Tstep seconds. In the best case the sync is spread over the whole window and fully overlapped (Chapter 5). The link must then deliver S bytes every H × Tstep seconds. That sets the least bandwidth that keeps the GPUs busy.
8 × 64 GB ÷ (1 × 2 s) = 256 Gbps → 8 × 64 ÷ (50 × 2) = 5.12 Gbps
With our toy step of 2 seconds, syncing every step would need 256 Gbps, more than a 25 Gbps link by a factor of ten. Syncing every 50 steps needs 5.12 Gbps, one fifth of the link. The same 64 GB message, but spread over fifty times the time.
The Streaming DiLoCo paper makes the same point with simulations at model scales of 1B, 10B and 100B parameters. To keep 95% compute utilization, ordinary data-parallel training needs 100, 200 and 300 Gbit/s. Their best method needs roughly 1 to 5 Gbit/s at every scale. That is a drop of about two orders of magnitude, which is the same arithmetic as the formula above plus the shrinking tricks of Chapter 7.
The orange line is the bandwidth needed when the sync is hidden behind compute. The yellow line is what you need if the GPUs wait but must still reach 95% utilization. The purple line is your link. Where a curve drops under it, that gap works.
Exact algebra for a 64 GB message. The 95% line uses Tc ≥ 19 × Ts (no overlap). The step times are illustrative; a real step time depends on the model, batch size and chips.
On the 25 Gbps link with a 2 second step, the orange curve crosses the link line at H = 11: from 11 local steps on, a fully overlapped sync fits. The yellow curve crosses much later, at H = 195, because without overlap the GPUs must compute for nineteen times the sync time to reach 95%. Overlap is worth a factor of nineteen here. The post’s choice of H = 50 sits comfortably past the orange crossing.
Nothing is free. While an island runs alone, its parameters drift away from the other island’s. The longer the gap, the larger the drift, and the harder the merge. The outer optimizer, the compression of Chapter 7 and the careful design of the post exist to keep that drift harmless. The post’s result is the evidence: at the same compute, the two-site run reached about 0.2525 bits per byte against 0.2549 for standard training, roughly 1% better. Syncing less often did not hurt, but it required engineering.
Put the pieces together as a rule. Pick the link, measure Tstep, and compute the smallest H from the orange curve of the device. Then add a margin of two or three times, because real throughput is below the label and delays vary. For the post’s numbers the smallest H is 11, and the chosen H is 50, about 4.5 times the minimum. That margin is what absorbs a slow hour on the carrier’s network.
A larger H is not always better. The islands drift further apart in 500 steps than in 50, and the merged result is a worse starting point. DiLoCo showed that H = 500 still worked for its setting, and found diminishing returns for communicating more often than that. The right value depends on the model, the learning rate and the outer optimizer. The arithmetic gives you the lower limit; the experiments set the upper one.
Chapter 7
Cut the bits per number, keep only the numbers that matter, and spread the rest over time so the link is never swamped
You must mail a thick report overseas, and postage is by weight. You have three tricks. Print on thinner paper. Cut out the pages nobody needs. Or send a few pages each day instead of the whole stack on one day, so the post office never has to find a truck for it. Each trick maps to one way of shrinking the message. This chapter works the arithmetic of each.
Chapter 2 said the message is N × b bytes. Lower b. Send the pseudo-gradient in int8 (one byte per number) instead of bf16 (two bytes), and the 64 GB message becomes 32 GB. Send it in a 4-bit format and it becomes 16 GB. On the 25 Gbps link these take 10.2 s and 5.1 s instead of 20.5 s. The INTELLECT-1 team did exactly this with an int8 all-reduce, and the Streaming DiLoCo paper went down to a 4-bit float. The post says its exchanged values were “compressed with stochastic rounding plus error feedback.”
Why do those two terms matter? Fewer bits means coarser numbers, so each number gets rounded. Rounding errors can pile up and bias the result. Two habits keep them harmless.
Stochastic rounding rounds a number up or down by chance, with the chance set by how close it is. The value 2.3 becomes 3 with probability 0.3 and 2 with probability 0.7. One roll may be off, but the average over many rolls equals 2.3. The errors cancel instead of leaning one way.
Error feedback remembers what was lost. After rounding, the sender keeps the leftover error in a local buffer and adds it to the next message before rounding again. Nothing is thrown away for good; it is only delayed. The idea goes back to 1-bit SGD (Seide et al., 2014), listed in the post’s history table.
Sparsification (see Communication Compression) sends only the biggest changes. Sort the pseudo-gradient by size and keep the top 1 percent (top-k). Each kept number needs its value and its position in the list, called its index. With a 2-byte value and a 4-byte index, a kept number costs 6 bytes. Out of 32 billion numbers, keeping 1 percent leaves 320 million numbers × 6 bytes = 1.92 GB. That is 33 times smaller than 64 GB. (Illustrative byte widths; real codes pack the indexes tighter.) The error-feedback buffer again keeps the dropped 99 percent for later. SparseLoCo, in the post’s table, combines top-k, error feedback and low-bit quantization.
Look at how the sync leaves the GPUs. If all workers finish their H steps together and all send together, the link carries nothing for 100 seconds and then everything at once. The link saturates, queues form, and the slowest packet decides when the sync is done. The post calls this the tail latency problem: the delay of the slowest piece, not the average.
The fix is the one in the story: send a few pages each day. The post’s run synced the model “fragment by fragment, staggered across each 50-step window”, paced total traffic, and capped the send rate on each connection, “so workers that finished together didn’t burst together.” Streaming DiLoCo introduced the fragment idea: send one slice of the parameters at a time, overlapped with compute.
Over a 100-second window, pacing turns a 20.5 second burst at the full 25 Gbps into a steady trickle of 5.12 Gbps for 64 GB. The average rate is the same as the formula of Chapter 6. The peak is five times lower, so the link has room for the small urgent messages as well.
The blue area is traffic on the link across one 100 second window. The dashed line is the 25 Gbps limit. Choose a format and a keep fraction, then switch pacing on and off.
32 billion numbers. Keeping less than 100% adds a 4-byte index to each kept number (illustrative width). The window is 50 steps of 2 s, the toy of the hero. Scale factors for int8 and 4-bit are ignored. Sizes are exact arithmetic; the post does not publish its compression ratio.
Set bf16, 100 percent, no pacing: a 64 GB burst takes 20.5 seconds at the full limit. Choose int8 and 10 percent: the message is 32 × 109 × 0.1 × 5 bytes = 16 GB. With pacing, it flows at about 1.3 Gbps, five percent of the link. That leaves 95 percent of the link free for routing statistics, repair traffic and the next fragment.
Notice what the pieces do together. Fewer bits and fewer numbers shrink how much you send. Pacing decides when. The post says: “each of them was a simple idea, but the gains came from putting them together.” The numbers on this page are why.
Follow one fragment through the sender. It starts as a tensor of the pseudo-gradient in a higher precision. Step one adds the error-feedback buffer from last time. Step two selects the numbers to send (all of them, or the top few). Step three rounds the selected values to the small format, using stochastic rounding. Step four writes the result into bytes and puts them in a send queue that is paced. Step five computes what was lost (the exact value minus the rounded value) and stores it back in the error buffer. At the receiver the bytes are decoded to the higher precision and added into the average.
Notice that you can check its savings on a napkin: the bytes in step four are the only ones that cross the link.
Chapter 8
Separate how wide a link is from how long it takes a signal to cross, and see why distance costs time even on an empty pipe
You post a letter to a friend overseas and the letter takes a week. Now you post a truck full of letters. The truck takes a week too. The week is the delay. The number of letters is the width of the road. A fatter road does not make the trip shorter.
Everything so far was about width: bandwidth. This chapter is about delay: latency, the time one signal needs to get from sender to receiver. Both limit a link. They are different dials, and the post has to fight both.
Long-distance data travels as light inside glass fibre. Light in a vacuum moves at about 300,000 km per second. In glass, it is slower, roughly two thirds of that, near 200,000 km per second. So each 1,000 km costs about 5 milliseconds, one way. No upgrade can beat that. The only cure is a shorter path.
The post puts its two clusters about 9,000 miles apart. That is 14,484 km. At 200,000 km per second, light needs 72 ms to make the trip. A signal that goes there and an answer that comes back is a round trip, and takes about 145 ms. This is the least possible. Real fibre does not run in a straight line, and every switch on the way adds a little, so measured round trips are longer.
Delay and width meet in one number. Fill the pipe and count how many bytes are on the way at once: rate times round trip time. This is the bandwidth-delay product. At 25 Gbps (3.125 GB/s) and a round trip of 144.8 ms, it is 3.125 × 0.1448 = 0.452 GB, about 452 MB. To keep the link busy, the sender must have 452 MB sent but not yet acknowledged, at every moment.
A network connection limits how much it will keep in flight. This limit is its window. If a connection allows only 4 MB in flight (illustrative), it delivers 4 MB per round trip: 4 ÷ 0.1448 = 27.6 MB/s, or 0.22 Gbps. To fill a 25 Gbps pipe you would need 452 ÷ 4 = 113 such connections working in parallel. This is the plain reason behind several items in the post’s tail-latency list: reuse warm connections, split payloads into chunks that any free connection can claim, and pre-allocate buffers. They are all ways to keep enough bytes in flight.
Drag the distance or press a place. The top bars compare the round trip with one 2 second step. The pipe below shows how many bytes must be in flight to fill the link.
Straight-line distance at 200,000 km/s is a lower bound; real routes are longer. The 4,000 km and the 4 MB window are illustrative. The 14,484 km (9,000 miles) and the 25 Gbps are the post’s. 20,000 km is about half the Earth’s circumference, the farthest two points can be.
A ring all-reduce (Chapter 4) is a chain of 2(N − 1) steps, and each step waits for the slowest hop. Put the post’s 320 GPUs in one ring across the ocean. A hop over the long link costs at least 72 ms, so 638 steps cost at least 638 × 72 ms = 46 seconds of pure delay, before any byte count. (Our calculation, not the post’s.) The two-level scheme crosses the ocean once, and pays 72 ms once.
Small messages feel delay most. The post says the small routing statistics of the mixture-of-experts layers (counts of how many tokens each expert got) were “coordinated and synchronized separately, at every step.” Their size is tiny, but if each step had to wait a round trip for them, it would add at least 145 ms to a 2 second step. That would cost 7 percent of utilization (2 ÷ 2.145 = 93%). Small messages must be overlapped or delayed by design; bandwidth cannot help them.
One last effect. A sync is done only when its last piece lands. Suppose a sync splits into 1,000 chunks and each chunk has a 1 percent chance of being slow. The chance that all 1,000 are fast is 0.991000, about 0.004 percent. So almost every sync has at least one slow chunk, and the slow chunk sets the finish time. This is tail latency. The post’s remedies match the problem: re-request only the missing pieces, and launch a duplicate transfer when a deadline hits. Sending a piece twice costs a little bandwidth and removes the wait for the unlucky one.
Two machines in one campus, 1 km apart, need 1 ÷ 200,000 = 5 microseconds one way. Two cities on opposite coasts of a large country, about 4,000 km apart (illustrative), need 20 ms one way and 40 ms round trip. The post’s sites need 72 ms one way and 145 ms round trip. A 2 second step swallows all three without noticing, but a protocol that asks one question per layer, one per step, and waits for each answer, may notice a great deal.
The lesson for design is simple. Ask for big things rarely, and ask for small things in the background. Do not make a GPU wait for an answer that has to cross an ocean.
Chapter 9
Put every earlier number together and see what the post’s 25 Gbps link allows, step by step, and where it would break
Now we use everything. The post’s authors had 160 B300 GPUs in the US and 160 GB300 GPUs in Asia, about 9,000 miles apart, a 32B-parameter mixture-of-experts model, and a bidirectional link of 25 Gbps. They synced every 50 steps. They report that the two-site run reached about 0.2525 bits per byte against 0.2549 for standard training at the same compute. This chapter does not explain why quality held up; later lessons do. It checks that the wire could carry the plan.
On these numbers the plan fits with wide margin. The sync needs one fifth of the link, even in bf16. But the margin depends on a figure the post does not give: the step time. Use the device to see how far the margin stretches. The purple bars are the fragments of one sync, sent one after another on the link. The vertical line is the end of the 50-step window.
Choose a number format and how many fragments the model is cut into, then drag the step time. Bars that cross the line land late, in the next window.
The sync cadence (50 steps), the model (32B parameters) and the 25 Gbps link are the post’s. The step time is illustrative because the post does not give it. Fragment bars are laid end to end for simplicity; the post staggers their start times across the window and paces them, which lowers the peak but not the total.
Slide the step time down to 0.4 s with bf16. The window shrinks to 20 s, and the 20.48 s sync no longer fits: the last fragment lands late. Now press int8 and it fits again. The break-even is simple: the sync fits when 50 × Tstep ≥ Ts, so Tstep ≥ 20.48 ÷ 50 = 0.41 s for bf16. Faster chips, smaller models and smaller per-step batches all push the step time down and the pressure up.
The post says a late-arriving update can still be committed. That choice changes what “late” costs: the GPUs do not stop. They train on slightly stale averages, and the update is merged when it arrives. The lateness, in steps, is Ts ÷ Tstep. For our toy that is 20.48 ÷ 2 = 10.2 steps. A few ten-step delays inside a 50-step window are what the outer optimizer and the late-commit rule of the post exist to absorb.
The post's second experiment split 64 GB300 GPUs at one site into eight cells of eight GPUs each, and replaced the all-reduce with butterfly mixing. Cells pair up. In stage one, cell i trades with cell i XOR 1 (0 with 1, 2 with 3, and so on). In stage two, it trades with cell i XOR 2. In stage three, with cell i XOR 4. After 3 = log2 8 stages every cell has heard from all eight. No cell ever talks to more than one partner at a time.
The schedule has numbers of its own. Each fragment is exchanged six times in 50 steps, two full butterflies, which is once every 50 ÷ 6 = 8.3 steps. A cell sends its candidate at step t, keeps training at t + 1, and blends the partner’s result at t + 2. So each exchange has two steps, 4 s in our toy, to finish. That is a hard deadline, and the byte arithmetic tells you how large a fragment may be: on a 400 Gbps port, 4 s × 50 GB/s = 200 GB, far more than the model; on 25 Gbps, 4 s × 3.125 GB/s = 12.5 GB.
How many bytes does butterfly move compared with a ring? If each stage sent a full fragment (an assumption; the post does not give payload sizes), one butterfly sends 3 × S per cell, and two per window send 6 × S. A ring all-reduce among 8 sends 1.75 × S once. Butterfly would then move about 3.4 times more bytes. It buys something else with them: no global barrier, no waiting on the slowest of eight. Inside one site, where wires are fast, that is a good trade. The post imagines slower partners simply delivering later, and nobody waits.
Four numbers are missing from the post, and each one shifts the margin. The step time, which sets the window. The exchange format, which sets the message. The share of the link that other traffic uses. And how well 160 GPUs spread their send across the fragments. A reader who wants to repeat the experiment must measure all four. A reader who only wants to judge whether the plan is sane can use this chapter’s arithmetic, and will find that it is: a fifth of the link even in bf16.
Look also at what the plan does to the two sites. They have different chips (B300 and GB300), different parallelism and different batch sizes. The post tunes microbatching so both take similar time per step. If one site took twice as long per step, its window would be twice as long, and the faster site would idle or run ahead. The arithmetic of this chapter is per site: each site has its own Tstep and its own window.
Chapter 10
Keep the numbers, the checklist and the formulas in one place, and see where to go next
The whole lesson fits in one chain of arithmetic. Count the bytes (parameters times bytes each). Divide by the link in gigabytes per second (Gbps divided by 8). Compare that time with the time the GPUs spend computing between syncs. Hide it, shrink it, spread it or make it rarer until the ratio is comfortable. Then add the delay that distance forces on every small message.
| What | Number | Why it matters |
|---|---|---|
| Gbps to GB/s | divide by 8 | Link labels use bits, file sizes use bytes |
| The post’s model | 32B parameters, 256 experts, top-8; 32× sparse | Bytes follow all parameters, compute follows active ones |
| Message in bf16 | 32B × 2 bytes = 64 GB | The unshrunk upper case for one sync |
| The post’s link | 25 Gbps = 3.125 GB/s; 64 GB in 20.5 s | Far too slow to sync every step |
| One InfiniBand NDR port | 400 Gbps = 50 GB/s; 64 GB in 1.28 s | 16× the long link, inside a building |
| NVLink 5 (Blackwell) | 1.8 TB/s per GPU, both ways; about 900 GB/s one way | Inside an island the wires are generous |
| Ring all-reduce | each worker sends 2(N−1)/N × S in 2(N−1) steps | Bytes level off near 2S; steps (and delay) grow |
| Utilization | blocking Tc/(Tc+Ts); overlapped min(1, Tc/Ts) | The share of time GPUs really work |
| INTELLECT-1, 10B, 38 min per 100 steps | all-reduce 103 s, 382 s, 469 s: 95.7%, 85.6%, 83.0% | Same GPUs, farther apart, less useful time |
| Bandwidth needed | 8S / (H × Tstep) Gbps; 5.12 Gbps for 64 GB, H = 50, 2 s steps | Syncing less often divides the need by H |
| Streaming DiLoCo, 95% utilization | 1 to 5 Gbit/s versus 100, 200, 300 Gbit/s for data parallel (1B, 10B, 100B) | About two orders of magnitude less bandwidth |
| Light in fibre | about 200,000 km/s; 14,484 km: 72 ms one way, 145 ms round trip | A floor no cable upgrade can lower |
| Bandwidth-delay product | 25 Gbps × 145 ms = 452 MB in flight | Many connections or large windows to fill the pipe |
| The post’s result | 0.2525 against 0.2549 bits per byte at the same compute | About 1% better, with the wire as the limit |
pythondef gb_per_s(gbps): # Chapter 1: bits to bytes return gbps / 8 def message_gb(params_b, bytes_per=2, keep=1.0, index_bytes=4): # Chapter 2 and 7 per = bytes_per + (index_bytes if keep < 1 else 0) return params_b * keep * per # billions x bytes = GB def ring_sent_gb(s_gb, n): # Chapter 4: bytes each worker sends return 2 * (n - 1) / n * s_gb def utilization(t_c, t_s, overlap): # Chapter 5 return min(1, t_c / t_s) if overlap else t_c / (t_c + t_s) def gbps_needed(s_gb, h, t_step): # Chapter 6: hidden sync return 8 * s_gb / (h * t_step) def rtt_s(km, c_fibre=200_000): # Chapter 8: a floor, not a measurement return 2 * km / c_fibre # The post's run, with a toy step time of 2 s s = message_gb(32) # 64.0 GB t_s = s / gb_per_s(25) # 20.48 s t_c = 50 * 2.0 # 100 s window print(utilization(t_c, t_s, overlap=False)) # 0.83 print(utilization(t_c, t_s, overlap=True)) # 1.0 print(gbps_needed(s, 50, 2.0)) # 5.12 Gbps print(rtt_s(14_484)) # 0.14484 s
The Core Automation post argues that training compute should be codeveloped with algorithms that use scattered islands. This lesson priced the wire for that argument. It did not teach the algorithms: local SGD and model averaging, communication compression, gossip training, optimizers and momentum and the other pieces get their own lessons in the series, together with a lesson for each paper the post links. Start with data parallel and all-reduce, then heterogeneous and unreliable compute and training on compute islands.
Rohan Anil, The Hitchhiker’s Guide to Training on Compute Islands, Core Automation, 2 November 2026 (the 32B model, 160 + 160 GPUs, 25 Gbps, 9,000 miles, sync every 50 steps, 0.2525 against 0.2549 bits per byte, fragments, pacing, butterfly schedule). Douillard et al., DiLoCo (H = 500, 500 times less communication). Douillard et al., Streaming DiLoCo (95% utilization at 1 to 5 Gbit/s against 100 to 300 Gbit/s; 4-bit exchange). Prime Intellect, INTELLECT-1 (Table 2, int8 all-reduce). Patarasuk and Yuan, Bandwidth optimal all-reduce algorithms for clusters of workstations, 2009. NVIDIA, NVLink (1.8 TB/s per Blackwell GPU) and ConnectX-7 and Quantum-2 NDR (400 Gb/s). Seide et al., 1-bit SGD, Interspeech 2014 (error feedback). Light in fibre at about two thirds of its vacuum speed is textbook physics. Toy numbers (the 2 s step, the 4 MB window, the 6-byte sparse entry) are labelled illustrative where they appear.
Now press Present or Teach and explain the budget from memory: bytes, link, time, window, ratio, and the delay. Then go back to the hero and find the smallest sync gap that keeps the GPUs busy on 25 Gbps.