Inside Google’s TPU: Systolic Arrays, Pods, and the Ironwood Generation
[!NOTE] TL;DR: A TPU strips away everything that isn’t matrix multiplication. Its systolic array pulses data through a fixed grid of multiply-accumulate units with weights held stationary — no thread scheduling, no cache hierarchy fighting for bandwidth. Scale that cell-level simplicity across thousands of chips wired together by a dedicated inter-chip interconnect, and you get the Ironwood pod: 9,216 chips behaving like one giant matrix engine.
Google built its first TPU in 2015 for a boring, urgent reason: neural network inference was about to cost more than the company could afford on general-purpose hardware. Eleven years later, that inference chip has grown into the infrastructure Anthropic is deploying at million-chip scale. The architecture’s core idea never changed — it’s worth understanding precisely.
Table of Contents
The Systolic Array: A Heartbeat for Matrices
A GPU computes matrix multiplication by orchestrating thousands of threads, each fetching operands from shared memory, multiplying, accumulating, writing back. The scheduling logic, register files, and caches that make this general also make it expensive: a large fraction of every clock cycle and every watt goes to machinery that isn’t doing arithmetic.
The systolic array deletes that machinery. Picture a physical grid of multiply-accumulate (MAC) units — in the original TPU, 256 × 256 = 65,536 of them. Weights are loaded into the grid and stay put (“weight-stationary” dataflow). Input activations then enter from one edge and pulse through the array one cell per cycle: each unit multiplies its incoming value by its resident weight, adds the result to a running partial sum, and passes it to the next unit. Output tiles emerge from the far edge like products off a conveyor belt.
The consequences cascade:
- No per-element memory fetches. Each operand is read once from memory and reused by every cell it passes through — the memory wall that dominates GPU power budgets mostly disappears.
- Deterministic timing. Data movement is fixed in hardware, so the compiler knows exactly when every byte arrives. That makes performance predictable rather than heuristic.
- Density. MAC units without thread-management overhead pack far more math per square millimeter and per watt than general-purpose cores.
The price is rigidity: if your computation doesn’t map onto dense matrix operations, the array sits idle.
Anatomy of an Ironwood Chip
Each TPU7x (Ironwood) chip carries two TensorCores — the systolic matrix engines — plus four SparseCores, specialized units for the embedding lookups and scatter-gather operations that dominate recommendation and mixture-of-experts workloads. The per-chip numbers:
| Spec | TPU7x (Ironwood) | v5p | v6e (Trillium) |
|---|---|---|---|
| Peak BF16 per chip | 2,307 TFLOPs | 459 | 918 |
| Peak FP8 per chip | 4,614 TFLOPs | 459 | 918 |
| HBM per chip | 192 GiB | 95 | 32 |
| HBM bandwidth | 7,380 GB/s | 2,765 | 1,638 |
| ICI bandwidth | 1,200 GB/s | 1,200 | 800 |
| Chips per pod | 9,216 | 8,960 | 256 |
Note what scaled hardest: memory and bandwidth, not just FLOPs. A 4x compute jump came with a 6x HBM capacity jump over Trillium — a chip designed for the inference era, where serving trillion-parameter models is memory-bandwidth-bound, not FLOP-bound.
From Chip to Pod: The Interconnect Is the Computer
A single accelerator is a component; the pod is the product. 9,216 Ironwood chips connect through a bidirectional inter-chip interconnect (ICI) at 1.2 TB/s per chip — a dedicated fabric separate from the datacenter network, letting the whole pod behave as a single giant accelerator for collective operations. Pods link onward through the datacenter network (DCN) for multi-pod training.
This topology explains why TPU capacity is sold in slices and pods rather than cards: the value proposition isn’t the chip, it’s the pre-wired supercomputer. It’s also why Google’s pitch to Anthropic — “a million TPUs” — is an infrastructure claim, not just a chip claim.
The Software Contract: XLA or Nothing
TPUs have no CUDA equivalent — there is no “write your own kernel” escape hatch. Everything runs through XLA (Accelerated Linear Algebra), a compiler that takes a whole computation graph and fuses, schedules, and lays it out onto the systolic array statically. On TPU7x the supported frameworks are exactly two: JAX (native, first-class) and PyTorch (via the XLA path). TensorFlow — the framework the first TPUs were built to serve — isn’t supported on the newest generation, a quiet signal of where Google sees its developer gravity.
This contract is the TPU’s deepest trade-off. When your model fits XLA’s worldview — static shapes, standard transformer blocks — compilation yields performance that hand-tuned scheduling can’t beat. When it doesn’t, there is no Plan B.
Frequently Asked Questions
Q: What is a systolic array? A: A grid of multiply-accumulate units where data flows rhythmically cell-to-cell, one step per clock cycle — like blood pulsing through a heart. Weights are pre-loaded and held stationary while inputs stream through, so each memory read serves many computations. It’s the core of every TPU and the main reason TPUs are more energy-efficient per matrix operation than general-purpose processors.
Q: How many chips are in a TPU pod? A: The Ironwood (TPU7x) pod spans 9,216 chips connected by a dedicated 1.2 TB/s-per-chip inter-chip interconnect. Earlier generations ranged from 256 chips (v6e/Trillium) to 8,960 (v5p).
Q: What are SparseCores on a TPU? A: Specialized units alongside the matrix TensorCores that handle embedding lookups and memory-irregular operations — the dominant pattern in recommendation models and mixture-of-experts architectures. Ironwood carries four per chip.
Q: Do TPUs support PyTorch? A: Yes, through the PyTorch/XLA path, and JAX is fully first-class. Everything compiles through XLA rather than executing kernels directly. Notably, TensorFlow is not supported on TPU7x.
Q: Why can’t I just buy a TPU card? A: Because the product isn’t the chip — it’s the pod: thousands of chips pre-wired through a dedicated interconnect fabric. TPUs are consumed as cloud slices or, starting with deals like Meta’s 2027 roadmap, as Google’s own datacenter deployments. The interconnect is the differentiator, and it doesn’t come in a PCIe card.