GPUs: Why AI Runs on Graphics Chips

From video games to AI supercomputers. Graphics chips were built for video games, but their thousands of parallel cores turned out to be perfect for training AI. Here is why.

Close-up of an Nvidia G71 graphics chip on a circuit board

A graphics processor from the mid-2000s: Diego3336, CC BY 2.0

Built to paint pixels

A computer's main processor, the CPU, is like a small team of brilliant generalists. It handles a few tasks at a time very quickly and can switch between all sorts of jobs. A graphics processing unit is more like a stadium full of workers who each do simple arithmetic, all at the same moment.

That design came from video games. Drawing a 3D scene means calculating the color of millions of pixels many times per second, and each pixel can be worked out mostly on its own. So graphics chips grew thousands of small cores that run the same kind of math in parallel.

Video: How do Graphics Cards Work? Exploring GPU Architecture (Branch Education), embedded from YouTube.

Why AI needs that kind of math

Neural networks spend nearly all their time multiplying large grids of numbers, called matrices, and adding up the results. Every one of those multiplications is simple, and many can happen at once. That is exactly the workload GPUs were designed for.

In 2007 Nvidia released CUDA, software that let programmers use graphics chips for general calculations, not just pictures. Researchers soon found that neural networks trained many times faster on GPUs. In 2012 AlexNet, trained on two consumer gaming cards, won a landmark image recognition contest and helped start the deep learning boom.

From one card to giant clusters

Modern AI chips are far beyond gaming cards. Data center accelerators include special units for matrix math, very fast stacked memory, and high-speed links so thousands of chips can work as one. Training a leading language model can occupy tens of thousands of such chips for weeks, inside buildings that need enormous amounts of electricity and cooling.

GPUs are not the only option. Google designs its own Tensor Processing Units, and other companies build custom chips for AI. Phones and laptops increasingly include small neural processing units to run AI features locally.

Why it matters to you

The supply and cost of these chips shape which companies can build the biggest models, what AI services cost, and how much energy the industry uses. They are also why many AI tools run in the cloud rather than on your own device. When you hear that AI is limited by compute, this is what people mean: how many of these parallel math engines can be built, powered and kept cool.

Media credits
  • A graphics processor from the mid-2000s: Diego3336, CC BY 2.0
  • A modern data center AI accelerator: 极客湾Geekerwan, CC BY 3.0
  • Inside a supercomputing data center: Derrick Coetzee from Berkeley, CA, USA, CC0

Text written by Strawberry Lemonadai.

← How AI Image Generators WorkAI Agents Explained →

Shop

The Strawberry Lemonadai collection

Tees and hoodies in the Strawberry Lemonadai colors, printed to order in the USA. Use code FIRST15 from the newsletter for 15% off your first order.

Watch

Strawberry Lemonadai Shorts

Quick, accurate, under a minute. Every Short is original and made only for this channel.

YouTube @StrawberryLemonadAI
Channel launching soon. Subscribe on the newsletter to hear first.
Get notified
A computer beat the world chess champion in 1997Photos: IBM Deep Blue at Computer History Museum (9361685537).jpg - Anton Chiang from Cupertino, CA, USA (CC BY 2.0) via Wikimedia Commons | Garry Kasparov (37097592314).jpg - Gage Skidmore from Peoria, AZ, United States of America (CC BY-SA 2.0) via Wikimedia Commons | Chess game Staunton No. 6 perfil view 8.jpg - Wilfredor (CC0) via Wikimedia Commons | Chess game Staunton No. 6.jpg - Wilfredor (CC0) via
An AI solved a 50 year biology puzzle and won a Nobel PrizePhotos: Human Oxy-Hemoglobin Protein.jpg - PDB code 2DN1 1.25 a resolution crystal structures of human (CC0) via Wikimedia Commons | Ribbon diagram of the DED.jpg - BQUB16-Oibanez (CC BY-SA 4.0) via Wikimedia Commons | Laboratory pipettes.jpg - J.N. Eskra (CC BY-SA 4.0) via Wikimedia Commons | Use of a Multichannel Pipette for High-Throughput Liquid Handling in a Biosafety Cabinet.jpg - Siduduziwe Nxumal
ChatGPT hit an estimated 100 million users in 2 monthsPhotos: BalticServers data center.jpg - BalticServers.com (CC BY-SA 3.0) via Wikimedia Commons | Diverse people using phones.jpeg - Rawpixel Ltd (CC BY 2.0) via Wikimedia Commons | Crowd of people with phones.jpg - Rawpixel Ltd (CC BY 2.0) via Wikimedia Commons | Sam Altman CropEdit James Tamim.jpg - TechCrunch (CC BY 2.0) via Wikimedia Commons | Ilya Sutskever and Sam Altman in TAU.jpg - Eladkarmel (CC B
The T in ChatGPT comes from one 2017 paperPhotos: Mountain View (CA, USA), Charleston Road, Google-Fahrräder -- 2022 -- 2901.jpg - Dietmar Rabich (CC BY-SA 4.0) via Wikimedia Commons | Mountain View (CA, USA), Charleston Road, Abstellplatz für Google-Fahrräder -- 2022 -- 2899.jpg - Dietmar Rabich (CC BY-SA 4.0) via Wikimedia Commons | BalticServers data center.jpg - BalticServers.com (CC BY-SA 3.0) via Wikimedia Commons | Пример кода на Java.jpg
The word robot was invented for a 1920 playPhotos: Karel Čapek podepisuje první výtisky Povětroně, Pestrý týden 27.1.1934.jpg - Unknown authorUnknown author (Public domain) via Wikimedia Commons | Karel Čapek 30.léta.jpg - re-photo by David Sedlecký (Public domain) via Wikimedia Commons | Plakat za predstavo R.U.R Rossmus Universal Robots v Narodnem gledališču v Mariboru 28. oktobra 1933.jpg - Unknown authorUnknown author (Public domain) via Wikim
Newsletter

The weekly AI digest

The AI stories that actually matter this week, explained in plain English, plus one useful tool tip. No hype, no jargon, unsubscribe anytime.