What is a GPU (Graphics Processing Unit)?
A GPU is a processor that runs very many arithmetic operations in parallel across many cores and, because this suits neural network matrix calculations, is widely used to train and run AI models.
It differs from GPU memory in function: the GPU computes, while GPU memory holds weights and intermediate results and is often the limit. CPU inference can suffice for small models and low traffic; large models and high concurrent load need GPUs.
- Topic
- Infrastructure and runtime
- Also known as
- Graphics processor
How a GPU (Graphics Processing Unit) works
- Matrix multiplications are split into thousands of small pieces and run in parallel across cores.
- Model weights and the KV cache sit in high-bandwidth GPU memory; for language models memory bandwidth often limits generation speed.
- If a model does not fit, it is split across GPUs or shrunk by quantisation; a 70 billion parameter model's 16-bit weights alone need 70 billion × 2 bytes = 140 GB.
- The inference engine batches requests and manages memory; a faster GPU alone does not mean a faster system.
In more detail
Tensor cores and low-precision units
Modern AI GPUs do not rely only on standard shader or CUDA cores; most deep learning throughput comes from specialised matrix engines, such as NVIDIA Tensor Cores or AMD Matrix Cores, that execute fused multiply-accumulate operations in low precision (BF16, FP16, FP8 and FP4). Understanding these specialised units explains why peak AI FLOPS can be an order of magnitude higher than FP32 graphics performance.
Multi-GPU interconnects and the communication bottleneck
When a large model is split across multiple GPUs using tensor or pipeline parallelism, the interconnect between GPUs often becomes the primary bottleneck. Datacentre GPUs use high-bandwidth coherent links such as NVLink/NVSwitch (hundreds of GB/s per GPU) and InfiniBand/RoCEv2 across nodes, whereas PCIe-only or consumer GPUs suffer severe communication overhead during all-reduce synchronisations.
HBM versus GDDR and the software ecosystem
Beyond raw hardware specifications, GPU selection locks an enterprise into a software ecosystem, primarily NVIDIA's CUDA/cuDNN/TensorRT stack versus AMD's ROCm stack or Intel's oneAPI. While inference engines such as vLLM and PyTorch increasingly support multiple vendors, kernel maturity, quantised kernel availability and multi-node communication libraries still differ markedly in production.
Commonly confused terms
| Term | How it differs |
|---|---|
| CPU | CPUs feature a few complex cores optimised for sequential control logic, branching and low-latency single-thread work; GPUs pack thousands of simpler arithmetic units optimised for high-throughput parallel matrix operations. |
| NPUs and AI ASICs | GPUs are programmable general-purpose parallel processors supported by broad software stacks (CUDA, ROCm); AI ASICs/NPUs (such as TPUs, Trainium or Groq LPU) hardwire specific matrix/dataflow pipelines for maximum efficiency on narrower workloads. |
Why a GPU (Graphics Processing Unit) matters for on-premises AI
In in-house AI, GPU memory capacity and count directly set the largest model that can run and how many users can be served at once. The choice depends on model size, context length, concurrent users and target latency. Server-class GPUs are built for memory capacity, error-correcting memory, cooling and continuous operation; desktop GPUs may suffice for trials.
A defence body runs a model analysing aerial imagery on GPUs in an air-gapped server cluster; GPU count and memory are chosen to process the image stream in real time.
Common questions
Is GPU memory the same as system memory?
No. GPU memory is high-bandwidth memory on the GPU; system memory belongs to the CPU. For fast operation, model weights must fit in GPU memory.
Can desktop GPUs replace server-class GPUs for in-house AI?
For trials and small models, yes. In production, memory capacity, error-correcting memory, continuous operation, cooling and support favour server-class GPUs.
Related terms
- GPU memory
- GPU utilisation
- Matrix multiplication
- Model memory footprint
- Parallel computing
- GPU sharing
- CPU inference
- Quantisation
- Key-value cache
Sources
- Raina, Madhavan and Ng, Large-scale deep unsupervised learning using graphics processors, ICML 2009
- Krizhevsky, Sutskever and Hinton, ImageNet Classification with Deep Convolutional Neural Networks, NeurIPS 2012
- Kwon et al., Efficient Memory Management for Large Language Model Serving with PagedAttention, 2023
Related page on this site: Supermicro page · In the glossary: Glossary, D to L