AI accelerators are chips built to do the arithmetic of AI models much faster than an ordinary processor can. The best known is the GPU, the graphics processing unit, which was first built to draw video-game graphics. Others are designed only for AI, such as Google's TPU and the custom chips that large cloud companies design for their own work. An accelerator does not replace the main processor, the CPU. It sits beside the CPU and takes over the heavy arithmetic.
Here is how it works in general. An AI model is mostly a very large set of numbers. Training or running it means multiplying huge grids of numbers together, billions of times. A CPU has a limited number of powerful cores: from a handful in a laptop to a few hundred in the largest server chips. These cores do different tasks one after another. An accelerator has thousands of small cores, which do the same multiplication on different numbers at the same moment. It also has high-bandwidth memory stacked beside it, so that the numbers reach the cores quickly. To train a large model, thousands of accelerators work on one job together, joined by very fast links into an AI cluster.
These chips have changed the buildings around them. A rack of AI accelerators uses many times the electricity of an ordinary rack of servers. The newest racks give off so much heat that air cannot cool them, so cold liquid is piped right up to the chips. That is why data centre power and cooling is being redesigned, and why data-centre operators now look first for sites with plenty of electricity. The links between the accelerators matter as much as the chips themselves, which is the subject of AI cluster networking.
Take, for example, a small start-up that wants to train a model in Indian languages. It cannot afford to buy a cluster, so it rents accelerators by the hour from a GPU cloud. The government-backed IndiaAI Mission also offers GPU time to start-ups and researchers at lower prices.
Consider wireless earphones that cancel noise or recognise a spoken command. A TinyML chip inside them is a very small accelerator that runs a tiny model on battery power.
How are AI accelerators different from a CPU? The CPU is the general-purpose processor that runs the operating system and decides what happens next. An accelerator is very fast at one kind of work, the same arithmetic on many numbers at once, and poor at most other work. The kinds of processor are compared in CPU, GPU, SoC and FPGA. Training a model and answering users with it place different demands on these chips, as training vs inference explains.
Appears in
- Data centre interconnect (DCI)↗ Telecom networksData centre interconnect links are being built faster because AI accelerators in different buildings train one model together.
- Data centre power and cooling↗ Data centresData centre power and cooling must handle racks of AI accelerators that use several times more power than ordinary servers.
- AI clusters and rack-scale systems↗ Data centresAn AI cluster joins thousands of AI accelerators in racks, so they train one model as if they were one machine.
- AI cluster networking↗ Data centresAI cluster networking connects thousands of accelerators, which constantly exchange results while they train a model.
- GPU cloud↗ Cloud hostingA GPU cloud rents AI accelerators by the hour, so a small team can train a model without buying any chips.
- GPU-as-a-service platform↗ Infrastructure softwareA GPU-as-a-service platform decides which customer's job runs on each AI accelerator and bills each customer for its use.
- Parallel file system↗ Data storage and backupA parallel file system sends training data to thousands of AI accelerators at once, so none of them waits for data.
- Robotics foundation model↗ Generative AI applicationsA robotics foundation model is trained on large clusters of AI accelerators, then runs on a smaller chip inside the robot.
- Distributed computing framework↗ Generative AI applicationsA distributed computing framework splits one model's training across many AI accelerators on many machines.
- Edge AI↗ Generative AI applicationsEdge AI runs a small model on the AI accelerator inside a phone or camera, without sending data to the cloud.
- Sovereign AI cloud↗ Generative AI applicationsA sovereign AI cloud buys AI accelerators and keeps them inside the country, so the country's data stays at home.
- TinyML chips↗ Analog and embedded chipsA TinyML chip contains a very small AI accelerator that runs a model inside earphones on very little battery power.
- GPU↗ AI and data centre chipsA GPU is the most widely used AI accelerator, doing the same arithmetic on thousands of cores at once.
- AI accelerator↗ AI and data centre chipsAn AI accelerator chip is built only for AI arithmetic, to answer each request with less energy than a GPU.
- Custom AI ASIC↗ AI and data centre chipsA custom AI ASIC is an AI accelerator designed for one cloud company's own models and work.