Notes

AI Accelerators

A single training run for a frontier model is measured in months of continuous arithmetic. The chip doing that arithmetic is not a general-purpose processor — it is hardware shaped around one operation, multiply a matrix and add it to another, and much of what large language models are follows from what that hardware is good at.

What makes a chip an accelerator
  • Dedicated matrix units — NVIDIA's tensor cores, Google's TPU systolic array — that complete a whole small matrix multiply per instruction.
  • Very high-bandwidth memory beside the compute: an H100 moves over 3 TB/s, because generation is starved by memory traffic rather than by maths.
  • Native low-precision formats (bf16, fp8, int8), where each halving of precision roughly doubles throughput.
  • Fast interconnect such as NVLink or TPU optical links, since no single chip holds a frontier model.
The classes you meet

GPUs (A100, H100, and consumer cards for small models) dominate on the strength of CUDA's software depth. TPUs are Google's alternative, tightly coupled to JAX. A growing group of inference-first parts — AWS Inferentia, Groq, Cerebras — optimize token latency instead of training throughput. Apple silicon matters at the small end, where unified memory lets a laptop hold a quantized model.

Why the choice shows up in the model

Memory per chip sets how large a model can be served before it must be split; bandwidth sets tokens per second; supported precision decides whether quantization pays; interconnect speed decides whether tensor parallelism is cheap or ruinous. That a 70B model is served across eight cards rather than one is a hardware fact, not an algorithmic one.

AI accelerators are processors built around dense matrix multiplication rather than general computation — GPUs with tensor cores, Google's TPUs, and inference-specific parts — paired with high-bandwidth memory and fast chip-to-chip interconnect. They set the practical limits of working with large language models: memory per chip decides how big a model can be served before it must be split, bandwidth decides tokens per second, and the precisions supported decide whether quantization pays.

An ordinary computer chip is a generalist: it does a bit of everything, mostly one thing at a time. The maths behind a language model is the opposite — the same simple multiplication, repeated an astronomical number of times, all at once. AI accelerators are chips built for exactly that and little else. Graphics cards were the happy accident that started it, because drawing images needs the same kind of arithmetic. Purpose-built versions, like Google's TPUs, went further. They are the reason these models exist at all: the same training on ordinary processors would take centuries instead of months.