Clicked Gallery

What is a Tensor Processing Unit (TPU)?

Highlighted from a real engineering doc. Explained by Clicked.

Used in a sentence

Engineering Notes · AI Systems

The paper credited the speedup to running the model on tensor processing units rather than general-purpose hardware.

The reader highlighted one word in the docs. Clicked explained the technical term “tensor processing units” in plain language:

Explained in three depths

Same facts, different vibe — Slang mode 😎

The Clicked way

●○○

Overview

A tensor processing unit, or TPU, is a chip designed by Google to do one kind of arithmetic: multiplying grids of numbers. That is the work neural networks spend most of their time on. A tensor is just such a grid, so the chip is named after the thing it multiplies. Chips sit on a ladder, and each rung trades away more flexibility for more speed at one task. A CPU keeps a few cores clever enough for anything; a GPU keeps thousands of simple cores for parallel work; a TPU casts the one operation into its wiring.
●○○

Overview

A tensor processing unit, TPU, is what happened when Google looked at its AI bill and stopped paying for versatility. On a normal chip, the actual math takes up maybe 1 part in 10 of the silicon; the rest is machinery for being ready for whatever you throw at it. The workload the TPU was built for asks one favour only: multiply the grid, again, forever. So the TPU holds onto the grid engine, ditches most of the rest, and does its one trick at wholesale volume. Versatile? Not remotely. Cheap at the single job that matters? That is the whole idea. 😎

A quick take — often all you need.

●●○

Detail

A tensor processing unit is a chip that does one kind of arithmetic, the grid multiplication neural networks are built on, and almost nothing else. Google designed it that way. Every ability a chip carries costs room and power even while it sits unused: circuitry for deciding what runs next, for handling any kind of program. Strip those away and the freed room holds more multiply units. The first TPU, in Google's data centers from 2015, shows what this buys. One multiply unit does a tiny job: it multiplies a pair of numbers. That chip carried 65,536 of them working at once and swept a whole grid in one pass, where an ordinary processor takes a few numbers at a time. The design has a cost. A TPU cannot be pointed far from its one operation, so it earns its keep where that operation runs at enormous volume. Google, running neural networks all day, is such a place, which is why a search company designs chips. Most other AI work still runs on more flexible chips, partly because TPUs are mostly rented through Google's cloud, and partly because flexibility is safer while models keep changing. Early generations could only run finished models, taking questions in and producing answers; later ones do the training as well. What has never changed is the trade: the abilities left out of the wiring cannot be added back.
●●○

Detail

A tensor processing unit is what remains of a chip when you delete everything except the job. Silicon is floor area, and floor area is the whole game. On TPU number one, the part that decides what happens next took 2 of every 100 units of that floor, and the math plus the data feeding it took nearly two-thirds. A general processor is closer to the opposite: most of its floor goes on flexibility, on scheduling, predicting and shuffling, and the honest math gets a corner. Neither layout is wrong. Both layouts are honest bets on different futures. The general chip bets your next task is unknown, so it hangs onto every tool. The TPU bets your next task is the same as your last million jobs, so it bolts one tool to the floor and clears the rest out. No drawers, no spares, no just-in-case. When the bet lands, you get more math per watt than the flexible chip could give you. When the work drifts somewhere new, the TPU stands there holding its one tool, waiting for the old work to come back around. 😎

Want more? One click digs deeper.

●●●

Analogy

A tensor processing unit is a printing press, where an ordinary processor is a hand that writes. The hand can produce any page you ask of it, at a hand's pace. The press produces exactly one page, the one set into its type, and setting that type is slow and costly. But once the type is set, copies pour off the press by the thousand, faster than any number of hands. Change the page and the press must be re-set; ask for a poem mid-run and it cannot oblige. Presses never replaced pens. They took over the one situation that repays the setup: the same page, wanted in enormous numbers. That is the TPU: one page, set in silicon, printed all day.
●●●

Analogy

A tensor processing unit is the waffle iron in a kitchen full of frying pans. A pan cooks anything, eggs, steak, pancakes, whatever the morning demands, because the pan makes no assumptions. The waffle iron makes one enormous assumption: it will only ever be asked for waffles. The recipe is cast into the metal itself, so it turns out perfect waffles faster than the pan ever could, and it is a comically bad tool for everything else. Buy one only if you truly eat that many waffles. That is the TPU: one dish, built into the machine, for a kitchen that serves it all day. 😎

Unfamiliar concept? A real-world example makes it click — fresh analogies on tap.

AI explanations may contain errors · Not professional advice

Formal definition — The same term, explained the usual way

A tensor processing unit (TPU) is an application-specific integrated circuit, an ASIC, developed by Google to accelerate neural-network workloads, with fabrication carried out by manufacturing partners. Its core is a systolic array: a large grid of multiply-accumulate units through which data flows step by step, so that matrix multiplication proceeds without returning to memory between operations. The first generation, deployed in Google's data centers in 2015 and described publicly in 2017, used a 256-by-256 array performing 8-bit arithmetic and served inference only; subsequent generations added training support and higher-precision formats. TPUs are offered to external customers chiefly through Google's cloud services.

Want Clicked to explain terms like “tensor processing units” directly in your browser — including on PDFs?

Add to Chrome — Free

50 free Explanations · No credit card required