GPU
What is GPU?
In one sentence: A GPU, or Graphics Processing Unit, is a computer chip that can do thousands of simple calculations at the same time, which makes it perfect for AI.
GPUs were first built to draw video game graphics, which needs lots of math done in parallel. Neural networks need the same kind of math, mainly multiplying big grids of numbers. So GPUs became the main engine for training and running AI.
What does GPU look like?
NVIDIA's H100 and B200 are GPUs used in AI data centers.
Why does GPU matter?
GPUs are the most important and most wanted hardware in AI today.
GPU vs. NPU
GPUs deliver massive parallel power for training and fast LLM generation at high wattage, while NPUs are ultra-efficient low-watt accelerators built into phones and laptops for battery-friendly on-device AI.
| Dimension | GPU | NPU |
|---|---|---|
| Power draw | 75 W to 700+ W per chip | Typically 2 W to 15 W inside a mobile SoC |
| Best for | Model training, heavy local LLMs, cloud serving | Always-on voice, background vision, small local models |
| Memory setup | Dedicated high-speed GDDR or HBM VRAM | Shares system unified RAM |
GPU vs. TPU
GPUs are flexible parallel processors backed by the broad CUDA ecosystem, while Google's TPUs are purpose-built matrix systolic arrays wired into giant high-speed pods solely for neural network math.
| Dimension | GPU | TPU |
|---|---|---|
| Architecture | General SIMT cores + Tensor Cores | Custom systolic matrix-multiply arrays |
| Availability | Buy the hardware or rent from almost any cloud | Mainly rented through Google Cloud |
| Software stack | CUDA, PyTorch, vLLM, TensorRT-LLM | JAX, XLA, PyTorch/XLA |
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/gpu/">GPU, explained simply</a> (The AI Math Dictionary)