COURSE 24L1100% FREE
Verified 2026-08-14

Compute and accelerators

**Compute** is the work hardware does to train and run models. **Accelerators** (GPUs, TPUs, Trainium, Instinct MI300-class devices, etc.) speed the linear algebra AI relies on. Google’s TPU docs contrast CPUs (flexible, memory-bottlenec...

What it is

Compute is the work hardware does to train and run models. Accelerators (GPUs, TPUs, Trainium, Instinct MI300-class devices, etc.) speed the linear algebra AI relies on. Google’s TPU docs contrast CPUs (flexible, memory-bottlenecked), GPUs (thousands of ALUs, still general-purpose), and TPUs (matrix-specialized systolic arrays).

MEDIUM PRIORITYDIAGRAM
◷ IN PRODUCTION

Visual Spec & Architecture Diagram

Accelerator roles: CPU orchestration, GPU/TPU/Trainium training & inference, memory/networking bottlenecks icons.

Educational Focus: Warm-up map for the course.

Why it matters

Hardware shapes what is affordable, who can train frontier models, how much inference costs, and—via data centers—electricity demand (IEA *Energy and AI*, Apr 2025; LBNL US data-center reports).

How it works (plain)

CPUs are flexible generalists. GPUs shine at many parallel math ops. Custom ASICs (TPUs, Trainium) trade generality for matrix throughput. Training burns large one-time compute; inference at scale often dominates product bills. Memory bandwidth, HBM capacity, and networking matter as much as peak FLOPs marketing. MLPerf Training/Inference give industry-comparable timing-to-quality metrics—not a single “best chip” crown.

Everyday example

A kitchen blender vs a hand whisk—same job family, different throughput and energy.

Try it

For one AI feature you use, ask: is the bill driven by training, by chat tokens, by embedding search, or by humans reviewing outputs?

Myths

⚠️ Myth: Parameter count alone predicts your cloud bill.
✓ Reality: Architecture (dense vs MoE), context length, and traffic matter.
⚠️ Myth: Energy stories are simple single numbers.
✓ Reality: Boundaries and methods differ—see IEA/LBNL chapters; do not invent kWh.

Sources