Home / Stories / AI at work
Google's TPU v8 is two chips: one for training, one for inference
Straight out of a Google Cloud Next briefing: TPU v8 is the first generation split into two independently designed chips, one built for training and one for inference. Here is what Google shared and why it matters.
Google just announced its next generation TPU, the v8, and for the first time it is not one chip. It is two. One is built specifically for training models. The other is built for everything after that: inference, the low-latency work that happens every time you call Gemini, send an API request or run a query.
I put this together in my hotel room at Google Cloud Next right after the briefing, working from my notes. The key point is that neither chip is a cut-down version of the other. They are two independently designed chips for two different jobs, and Google says the inference chip delivers a 10x performance jump over the previous generation.
Prefer to watch? The full video is right here. 11:09 · Watch on YouTube
Jump to a section in the video
Why split training and inference
Google has been building TPUs since 2013, and its experience is that it is far better to have one hyper-specialized chip for training extremely large models and a separate chip designed for extremely low-latency processing. In the past you might think of the most powerful chip for training and a less powerful one for running workloads. That is not what this is.
TPU 8t: the training chip
The training chip is designed to live in a pod with thousands of others. Pod scale, how many chips you can string together into one compute unit, is one of the key measures of AI training power. Google got 9,600 interconnected chips working together in a single pod.
Networking is the part I find most interesting. In large training runs, the biggest bottleneck often isn't how fast the chips compute. It is how fast they can move data between each other. Quadrupling scale-out bandwidth is a massive improvement, and Google says the result is an extremely stable training cluster.
TPU 8i: the inference chip
The inference chip runs the workloads behind the products and models we use every day. It reaches a pod scale of 1,152 chips, and Google quoted 10x the floating point performance of the previous generation, 7x larger HBM capacity, and eight exaflops per pod.
HBM is high bandwidth memory: DRAM chips stacked vertically, placed very close to the accelerator and connected with a very wide interface. That gives much higher memory bandwidth than regular server RAM, and AI workloads are often limited by memory bandwidth.
TPU v8, as briefed
| TPU 8t (training) | TPU 8i (inference) | |
|---|---|---|
| Purpose | Training large models | Running models after training |
| Pod scale | 9,600 chips | 1,152 chips |
| Compute vs. previous generation | 3x floating point | 10x floating point |
| Other gains | 2x network bandwidth, 4x scale-out bandwidth | 7x larger HBM capacity |
| Per pod | Not stated | 8 exaflops |
Figures as stated in Google's briefing and relayed in the video.
Why Google builds its own chips
There is a chip shortage, and everyone wants the biggest, fastest chips to train bigger models and run them more efficiently. Google's TPU v8 lets it do more with less: keep training chips on training and run models much more efficiently on the inference side. This is a generational leap.
It started with translation. Around 2013, Google worked out that if every user did just 30 seconds a day of voice recognition and translation on its existing CPUs, it would need, in its words, two more Googles worth of infrastructure. Custom chips could make that about 100 times more efficient. The initial investment was tens of millions of dollars and a team of 30 or 40 people.
The first TPU in 2015 was an ASIC for voice recognition. The next generation in 2018 brought liquid cooling, custom numerics and custom network interconnect, and Google moved from a three-year release cadence to yearly. The v7 was announced at last year's Next and now runs at massive scale across Google's data centers for both training and processing. The v8 took two years of development and thousands of engineers.
“This is a generational leap.”
The full stack advantage
Google isn't new at any of this. It builds fiber networks that carry much of the internet, data centers, energy generation from solar and wind, storage and networking, plus the software and foundation models on top: Search, Ads, YouTube, Photos, Gmail, Chat and Drive. Compared to others, it rarely goes down and has handled the entire AI build-out.
Demand is skyrocketing. Google Search has changed more in the last two years than in the 25 before it. More compute keeps producing better models, and we benefit on our own devices too, because smart models trained on huge infrastructure can run locally. I can see a day when many of these models run on the TPUs inside Pixel phones, and Apple's devices will be running Gemini, which is trained on these TPUs.
Bottom line
Splitting training and inference into two purpose-built chips is a big strategic bet, and the numbers Google shared back it up: a 9,600-chip training pod with 4x scale-out bandwidth, and an inference chip with 10x the compute and 7x the HBM. TPU v8 becomes generally available later this year.
