What is a graphics processing unit?

Definition

A graphics processing unit contains many execution units designed to process large groups of data in parallel. Although developed for graphics, the same architecture works well for matrix multiplication and other numerical operations used in neural-network training and inference.

Performance depends on more than arithmetic capacity. Memory bandwidth, kernel design, data movement, synchronization, and communication with other processors determine how much of the hardware's theoretical throughput a workload actually uses.

ELI5

A graphics processing unit is a processor with many small execution units that perform similar calculations in parallel. The design works well for the matrix operations used in AI training and inference.

For example, a GPU can calculate many parts of a neural-network layer at the same time instead of processing them one by one. Real speed also depends on memory bandwidth, software kernels and how efficiently data reaches the processor.

Acronyms and aliases

GPU acronymgraphics processor variant

Frequently asked questions

Why are graphics processing units used for AI?

They can execute many numerical operations concurrently and are supported by software optimized for the matrix operations common in neural networks.

Does a faster graphics processing unit always make a model faster?

No. Memory movement, communication, kernel efficiency, software overhead, and workload shape can prevent an application from using the available compute.

Videos explaining graphics processing unit

  1. Simran Arora beside the words LLMs Struggle With Multi-GPU Kernels