More Compute Won’t Make AI Faster. Google Just Showed Why (TPU 8)

summarized

TLDR

Google's TPU 8i inference chip trades compute for memory bandwidth because inference is memory-bound: generating a single token requires reading all model weights and KV cache, so faster memory (8,601 GB/s HBM) reduces latency more than extra petaflops. This principle drives Google's four TPU 8 systems, each optimized for a different bottleneck: memory bandwidth (8i, 8i Max), network hops (8i, 8TX), or confidential computing (8TX). The key metric is memory bandwidth per parameter, not peak compute.

Key points

TPU 8i has 10.1 petaflops and 8,601 GB/s HBM; TPU 8t has 12.6 petaflops and 6,528 GB/s.

Inference is memory-bandwidth-bound because each token requires reading all model weights.

TPU 8i's 384 MB SRAM is three times Ironwood's, enabling larger on-chip KV cache.

TPU 8i Max combines two 8i chips, doubling compute and bandwidth but not HBM capacity.

TPU 8TX uses 8t silicon with Boardfly network and adds confidential computing.

Tools mentioned

Techniques

  • memory bandwidth bottleneck analysis for inference
  • batching to share weight cost across users
  • KV cache management for long context decoding
  • systolic array matrix multiplication
  • torus vs Boardfly network topology for collectives
  • confidential computing with TEE and remote attestation
  • encrypted PCI Express links for data in transit
Transcript (captions)

0:00 Google's inference chip does less mass than its training chip, but it reads memory about a third faster. That one trade explains Google's four new TPU systems. By the end, you'll know which

0:10 system fits your workload and you'll check the trade with one division. The numbers come from Google's own spec table. TPU 8 i peaks at 10.1 petaflops at 4-bit precision and 8 t peaks at

0:22 12.6. 8 i reads its memory at 8,601 GB per second. 8 t reads at 6,528. So why would an inference chip give up compute to read memory faster? On November 9th, Google announced two more

0:37 systems, TPU 8 i Max and TPU 8 TX. That makes four 8th generation TPU systems in 1 year. The launch posts mostly give ratios like double the on-chip memory or up to two times lower latency. A ratio

0:51 doesn't tell you what a system is for or which problem it fixes. The answer to that question, why an inference chip gives up compute is inside one generated token.

1:01 Start with a real model. The 31 billion Gemma 4 came out on April 2nd and it has 30.7 billion parameters. Its config lists 60 layers and a maximum context of 262,144

1:14 tokens. Now the model writes one token. The new token passes through all 60 layers and each layer needs its own weights. So the chip reads every weight in the model to make that single token.

1:26 The chip also reads the KV cache. That's the store of keys and values that attention saved for every earlier token in the conversation. So the cache gets bigger with every

1:35 token. Picture a writer who must read a whole reference book again before each new word. The writer's hand is fast, but the reading takes almost all the time. A chip that decodes text has the same

1:46 problem. At 8 bits, each weight takes 1 byte. So Gemma's weights fill about 30.7 GB. One TPU 8 i reads its high bandwidth memory called HBM at 8,601 GB per second.

2:00 Divide the by the speed. One token takes at least about 3.6 milliseconds. That's roughly 280 tokens per second for one user, which engineers call batch size one. That figure comes from simple

2:12 division, not from Google, and it's a minimum. It assumes perfect use of bandwidth and leaves the KV cache out. It also assumes 8-bit weights, but Gemma's published

2:22 weights use BF16, a 16-bit format with two bytes for each weight. At two bytes per weight, the same division gives about 7.1 milliseconds. A real token takes longer. The maths is the easy

2:35 part. Google DeepMind's Jax Scaling Book says attention during decode does a tiny amount of maths while it loads a massive KV cache. So that step almost always waits on memory bandwidth. That answers

2:46 the opening question. A chip that waits on memory gains more from faster memory than from extra petaflops. Google's own slide at Hot Chips, a chip design conference, says it

2:56 directly. Inference needs more HBM bandwidth. The writer picture is wrong in one useful way. A chip can make the next token for many conversations from one read of the weights. That's

3:06 batching, and it shares the weight cost across users, but each conversation brings its own KV cache. The Scaling Book gives this minimum time for one single step, batch size times KV cache

3:17 bytes plus parameter bytes divided by memory bandwidth. Bigger batches and longer contexts make the cache a larger share of the bytes that each step reads. So the first limit is memory, and you

3:28 can make a token faster in two ways. You read memory faster or you keep more bytes on the chip next to the units that do the maths. Two more limits come later, the distance between chips and

3:39 trust. Follow one byte through a TPU. In TPUs in general, HBM, the big main memory, holds the tensors. Before the core can use them, the chip copies them

3:50 into on-chip SRAM, which Google's tables also label VRAM. From SRAM, the data goes into the matrix unit. That unit is a systolic array, a a of 256 by 256 multipliers. It does the large matrix

4:05 products that every layer needs. So the path is HBM, then SRAM, then the matrix unit. Every byte that isn't already in SRAM must cross the HBM link first. That crossing sets the 3.6 millisecond

4:17 minimum. Compare the memory sizes next. TPU 8 I has 288 GB of HBM, but only 384 MB of SRAM. The training chip 8 T has 216 GB of HBM and 128 MB of SRAM. The previous generation, Ironwood, had 192

4:36 GB of HBM at 7.37 terabytes per second. Google says 8 I has three times Ironwood's SRAM, so Ironwood had about 128 MB. So from Ironwood to 8 I, HBM bandwidth rose by about 17% and SRAM

4:52 tripled. The biggest change is the memory closest to the matrix unit. Google gives one reason for the triple SRAM. 8 I can hold a larger KV cache entirely on silicon. Google says that

5:03 reduces the idle time of the cores during long context decoding. That helps because the chip reads the KV cache for every token. If part of the cache stays in SRAM, that

5:12 part doesn't cross the HBM link again, so the matrix unit waits less. SRAM is still small. 384 MB is about 1/80th of Gemma's 30.7 GB of weight. No source says how much of a real model's

5:25 KV cache fits in it at a given context length. The model's design also matters. 50 of Gemma's 60 layers look back only at the last 1,024 tokens, so those layers keep a short cache. Only 10

5:37 layers attend to the full context, so in most of Gemma's layers, the cache stops growing after 1,024 tokens. TPU 8 I Max is the first new system. It puts two 8 I chips into one package.

5:50 Google says that doubles the compute, the SRAM, and the HBM bandwidth of 8 I. Google also says the package puts twice the silicon in the same rack space. If you double Google's 8 I figures, you get

6:01 17.2 terabytes per second of HBM bandwidth and 768 megabytes of SRAM. Network World reported the same numbers from Google's briefing. Do the Gemma division again. 30.7 gigabytes divided

6:14 by 17.2 terabytes per second is about 1.8 milliseconds per token. That only holds if the model splits across both 8 I chips at full bandwidth. The HBM capacity doesn't follow the doubling

6:25 pattern. Network World reports 384 gigabytes of HBM for 8 I Max. That's a third more than one 8 I, but two separate 8 I chips have 576 gigabytes. Google's own blog

6:39 gives no absolute capacity and no source explains the shortfall. Until Google publishes its own figure, treat 384 gigabytes as a reported number. Even so, the comparison holds. From the same

6:50 division, 8 I Max can read all of its HBM in about 22 milliseconds. One 8 I needs about 33. So, 8 I Max has more bandwidth for each gigabyte that it stores. That ratio

7:02 helps with long contexts. Long conversations make large KV caches and Google built the extra SRAM to hold those caches on the chip. 8 I Max doubles that SRAM again. One part has no

7:12 explanation yet. No source says how the two 8 I chips in the package exchange data or how fast that link is. The sources also don't say whether your software sees one chip or two.

7:23 The second limit is the distance between chips. A large model often runs across many chips. After each step, those chips must combine their partial results before the

7:32 next step can start. Engineers call these combining operations collectives. Ironwood and AT connect their chips in a torus, a three-dimensional grid whose edges wrap around.

7:42 In Ironwood's torus, each chip links only to its six nearest neighbors. So, data for a distant chip must hop through the chips between them. Take an 8 by 8 by 16 torus. Because the edges wrap

7:53 around, the farthest chip is half of each side away. That's 4 + 4 + 8, which makes 16 hops. 8 I uses a different network called Boardfly. Four chips form a ring on each

8:06 board. Then eight boards connect directly to each other over copper, and those eight boards make a group. Next, 36 groups connect through optical circuit switches, which route light

8:17 between fibers. That gives up to 1,024 active chips. The worst case drops from 16 hops to seven. That's about a 56% cut. Fewer hops give each collective a

8:28 shorter worst case path. That matters for decode because each new token needs reduction and synchronization steps across the chips. Google built a separate part of the chip just for those

8:37 steps. That part is the collective's acceleration engine, or CAE. Each 8i chip contains several dies, which are separate pieces of silicon in one package.

8:47 Each AI has two tensor cores on its compute dies, and those cores hold the matrix units that do the model's maths. The CAE is on a separate die, the IO die. In Ironwood, four sparse cores were

8:59 on the compute dies instead, and the CAE replaces them. The CAE's position matters. At Hot Chips, Google showed it in the IO die next to the network hardware. So collectives don't travel to

9:11 the compute dies or to HBM. Google says the CAE cuts on-chip collective latency by five times. The second new system is TPU 8TX. It uses the same silicon as the training chip,

9:23 8T. Google pairs that silicon with fifth generation AMD EPYC hosts and the Boardfly network from AI. Google claims up to two times lower latency than 8T with a near zero performance penalty.

9:34 The silicon is the same, so Google credits the Boardfly network for the gain. Some sites reported that is twice the speed, but Google didn't claim that. 8TX also adds confidential computing.

9:46 The near zero penalty refers to the speed cost of that security. In Google Cloud's general docs, confidential computing means data stays encrypted in memory while the system processes it.

9:56 A hardware trusted execution environment, or TEE, holds that data in an area of the processor that other software can't read. Remote attestation then checks that

10:06 environment before you send it data. Google's confidential GPUs extend this protection from the CPU over encrypted PCI Express links. PCI Express is the standard connection between a CPU and an

10:17 accelerator. Systems like this usually protect an accelerator that way. For 8TX, Network World reports that the system encrypts data as it moves from

10:26 host to TPU. It also reports that attestation covers the whole system. Google hasn't documented how 8TX enforces this. It doesn't name the TE technology that protects the data. It

10:38 also publishes no attestation flow or threat model, and its attestation docs don't list TPUs. Google also hasn't said what it measured to get the near zero penalty. Serve the Holmes analysis gives

10:50 a practical reason for the host choice. Each 8T chip connects to its host CPU through a PCI Express Gen 5 link with 16 lanes which carry data in parallel. A server with two fifth generation Epic

11:03 processors gives 128 Gen 5 lanes. That's enough for four TPUs plus network cards, so every device gets all of its lanes. Three of the four systems map to the three limits. 8T is the training chip

11:16 and 8TX reuses its silicon. AI and AI Max work on the memory limit with more bandwidth and more SRAM. Boardfly cuts the hops between chips in AI and 8TX. 8TX also adds trust. Google's

11:29 performance claims here like up to two times lower latency have no independent benchmark yet. Google has given no dates or prices for 8TX or AI Max. In April, Google promised general

11:41 availability for 8T and AI later in 2026. The right system depends on your workload. If you serve long chats and need speed for each user, look at AI Max first. If your data owner requires

11:53 encryption during processing, start with 8TX. Before you commit, ask Google for its attestation details. If neither applies, wait for prices and independent benchmarks.

12:04 One open question will shape how fast AI Max is in practice. If the model splits across its two AI chips, they must combine results for every token. No source says how fast the link between

12:15 them is or whether your software sees one chip or two. Google hasn't said yet.

Frontier News · by Hyperjump Technology