{"course":{"slug":"ai-actually-explained","title":"AI, Actually Explained","url":"https://addaly.com/learn/ai-actually-explained","level":"beginner","track":"start"},"lesson":{"slug":"the-chip-built-for-games","title":"The chip that was built for games","url":"https://addaly.com/learn/ai-actually-explained/the-chip-built-for-games","position":46,"of":92,"minutes":9,"answer":"GPUs accelerate the parallel arithmetic in many neural networks. Real speed also depends on numerical precision, memory, communication and software; neither peak operations nor core counts alone predict a training or serving workload.","keyIdea":"GPUs accelerate the parallel arithmetic in many neural networks. Real speed also depends on numerical precision, memory, communication and software; neither peak operations nor core counts alone predict a training or serving workload."},"body":{"format":"markdown","text":"## Two ways to be fast\n\nA laptop CPU typically has a relatively small number of versatile cores, suited to varied instructions and tasks with dependencies. A word processor, for example, must react to input, manage documents and perform many different operations. Actual designs differ; core count and clock speed alone do not determine performance.\n\nA GPU devotes substantial hardware to running arithmetic across many data elements in parallel. This developed from graphics workloads, including operations on large numbers of pixels. The cores execute organised groups of instructions, with limits and overheads; thousands of cores do not mean every operation in a programme runs simultaneously.\n\n## Why that is the shape of training\n\nLarge matrix multiplications are a major part of many dense neural networks' training work. They multiply arrays of activations and weights and combine the results. Many products can be computed in parallel, while additions, layers, communication and updates introduce dependencies. Other model architectures and operations have different performance profiles.\n\nThat substantial parallel arithmetic made GPUs useful for neural networks. AlexNet was an influential demonstration, not the first use: a 2009 ICML paper, for example, studied large-scale deep unsupervised learning with graphics processors. The history includes both earlier experiments and later improvements in software and hardware.\n\nNvidia introduced CUDA in 2007 to make general-purpose programming on its GPUs more accessible. Researchers used GPUs for machine learning before 2012 as well as for scientific simulation. A mature programming ecosystem helped adoption; it is not evidence that one decision alone caused a particular present-day market share.\n\n## The numbers\n\nPeak arithmetic figures need their formats attached. A GTX 580 provided roughly 1.5 trillion FP32 floating-point operations per second. The 2020 A100 lists 312 trillion dense BF16 tensor operations per second; an H100 SXM lists about 990 trillion in that reduced-precision format. These are not like-for-like FP32 figures or guaranteed application-speed ratios. The H100 SXM's maximum configurable power is up to 700 watts, rather than every H100 constantly drawing that amount.\n\n> Figure: Reported peak arithmetic: check the precision and chip variant. Bars (approximate peak TFLOPS; precision differs by bar): GTX 580, FP32 peak (2010) 1.5; A100, dense BF16 tensor peak (2020) 312; H100 SXM, dense BF16 tensor peak (2022) 990. These bars retain three reported peak figures, but they are not a like-for-like application-speed comparison. The GTX 580 value is FP32 arithmetic; A100 and H100 values are dense BF16 tensor arithmetic. Real speed also depends on memory, communication and the workload. H100 SXM has configurable power up to 700 watts.\n\nLarge training runs use many accelerators connected by fast networks. Meta's Llama 3 report describes training on up to 16,384 H100 GPUs. OpenAI's GPT-4 report did not disclose its hardware or training compute, so widely repeated cluster estimates should not be treated as official specifications. At large scale, arithmetic, memory, communication, reliability, power and cooling can all constrain progress.\n\n## Memory is another constraint\n\nArithmetic throughput is only part of the story. Memory capacity and bandwidth can constrain a workload. Seventy billion parameters stored at sixteen bits each require about 140 gigabytes in decimal units for the weights alone, before caches, activations and other overheads. That exceeds an 80-gigabyte H100's memory. Lower precision, offloading or several devices can change what fits, each with trade-offs. \"Fits\" should refer to the complete chosen workload, not just the weights.\n\n## Who else makes them\n\nOther accelerators include Google's TPUs and chips from other suppliers. Google's first TPU targeted inference and was operating in its data centres in 2015; its second generation, announced in 2017, supported training as well. Many phones also contain specialised machine-learning hardware. Export rules affect some advanced-chip sales, but a specific model's hardware and performance should be read from its report rather than inferred from its country.\n\n## The free path\n\nYou do not need to buy an accelerator to begin learning. Hosted notebooks such as Google Colab offer free tiers, but GPU availability, time limits and quotas vary and are not guaranteed. Small examples may run on an ordinary CPU. Whether a notebook can train or adapt a particular model depends on its memory, data, settings and current resource allowance.\n\n## What a graphics chip is bad at\n\nDependencies limit parallelism. Ordinary autoregressive text generation produces successive tokens in order, but each token still involves parallel numerical work, and servers can batch requests. Processing a known prompt differs from decoding new tokens; caches and speculative methods can also change efficiency. More generated steps generally add work and latency, but it is not true that most GPU capacity must always sit idle or that training is invariably fast."},"check":{"question":"Why are GPUs useful for training many large neural networks?","options":[{"text":"They guarantee faster execution for every task because each core has a higher clock speed.","correct":false,"tempting":"Parallel throughput differs from per-core clock speed; not every workload benefits."},{"text":"They accelerate large amounts of parallel arithmetic, while memory, communication and other dependencies still matter.","correct":true},{"text":"They remove memory limits entirely by storing every large model inside each individual arithmetic core.","correct":false,"tempting":"GPU memory is finite, and the whole workload must fit or be distributed."},{"text":"They were first designed for neural training, and graphics rendering was added only after 2012.","correct":false,"tempting":"Graphics workloads preceded general GPU programming and neural applications."}]},"prev":{"slug":"the-2012-moment","title":"The photograph competition that turned the field","url":"https://addaly.com/learn/ai-actually-explained/the-2012-moment"},"next":{"slug":"one-architecture-ate-everything","title":"One architecture ate everything","url":"https://addaly.com/learn/ai-actually-explained/one-architecture-ate-everything"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'The chip that was built for games', in AI, Actually Explained. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-actually-explained/the-chip-built-for-games (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"The chip that was built for games","courseTitle":"AI, Actually Explained","module":{"index":5,"slug":"how-it-got-here","title":"How it got here, and what changed in 2022"},"answer":null,"keyIdea":"GPUs accelerate the parallel arithmetic in many neural networks. Real speed also depends on numerical precision, memory, communication and software; neither peak operations nor core counts alone predict a training or serving workload.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"type":"bars","title":"Reported peak arithmetic: check the precision and chip variant","caption":"These bars retain three reported peak figures, but they are not a like-for-like application-speed comparison. The GTX 580 value is FP32 arithmetic; A100 and H100 values are dense BF16 tensor arithmetic. Real speed also depends on memory, communication and the workload. H100 SXM has configurable power up to 700 watts.","unit":"approximate peak TFLOPS; precision differs by bar","series":[{"label":"GTX 580, FP32 peak (2010)","value":1.5},{"label":"A100, dense BF16 tensor peak (2020)","value":312},{"label":"H100 SXM, dense BF16 tensor peak (2022)","value":990,"highlight":true}]},"alt":"Figure: Reported peak arithmetic: check the precision and chip variant. Bars (approximate peak TFLOPS; precision differs by bar): GTX 580, FP32 peak (2010) 1.5; A100, dense BF16 tensor peak (2020) 312; H100 SXM, dense BF16 tensor peak (2022) 990. These bars retain three reported peak figures, but they are not a like-for-like application-speed comparison. The GTX 580 value is FP32 arithmetic; A100 and H100 values are dense BF16 tensor arithmetic. Real speed also depends on memory, communication and the workload. H100 SXM has configurable power up to 700 watts."}},"blocks":[{"t":"h2","id":"two-ways-to-be-fast","runs":[{"text":"Two ways to be fast"}]},{"t":"p","runs":[{"text":"A laptop CPU typically has a relatively small number of versatile cores, suited to varied instructions and tasks with dependencies. A word processor, for example, must react to input, manage documents and perform many different operations. Actual designs differ; core count and clock speed alone do not determine performance."}]},{"t":"p","runs":[{"text":"A GPU devotes substantial hardware to running arithmetic across many data elements in parallel. This developed from graphics workloads, including operations on large numbers of pixels. The cores execute organised groups of instructions, with limits and overheads; thousands of cores do not mean every operation in a programme runs simultaneously."}]},{"t":"h2","id":"why-that-is-the-shape-of-training","runs":[{"text":"Why that is the shape of training"}]},{"t":"p","runs":[{"text":"Large matrix multiplications are a major part of many dense neural networks’ training work. They multiply arrays of activations and weights and combine the results. Many products can be computed in parallel, while additions, layers, communication and updates introduce dependencies. Other model architectures and operations have different performance profiles."}]},{"t":"p","runs":[{"text":"That substantial parallel arithmetic made GPUs useful for neural networks. AlexNet was an influential demonstration, not the first use: a 2009 ICML paper, for example, studied large-scale deep unsupervised learning with graphics processors. The history includes both earlier experiments and later improvements in software and hardware."}]},{"t":"p","runs":[{"text":"Nvidia introduced CUDA in 2007 to make general-purpose programming on its GPUs more accessible. Researchers used GPUs for machine learning before 2012 as well as for scientific simulation. A mature programming ecosystem helped adoption; it is not evidence that one decision alone caused a particular present-day market share."}]},{"t":"h2","id":"the-numbers","runs":[{"text":"The numbers"}]},{"t":"p","runs":[{"text":"Peak arithmetic figures need their formats attached. A GTX 580 provided roughly 1.5 trillion FP32 floating-point operations per second. The 2020 A100 lists 312 trillion dense BF16 tensor operations per second; an H100 SXM lists about 990 trillion in that reduced-precision format. These are not like-for-like FP32 figures or guaranteed application-speed ratios. The H100 SXM’s maximum configurable power is up to 700 watts, rather than every H100 constantly drawing that amount."}]},{"t":"p","runs":[{"text":"Large training runs use many accelerators connected by fast networks. Meta’s Llama 3 report describes training on up to 16,384 H100 GPUs. OpenAI’s GPT-4 report did not disclose its hardware or training compute, so widely repeated cluster estimates should not be treated as official specifications. At large scale, arithmetic, memory, communication, reliability, power and cooling can all constrain progress."}]},{"t":"h2","id":"memory-is-another-constraint","runs":[{"text":"Memory is another constraint"}]},{"t":"p","runs":[{"text":"Arithmetic throughput is only part of the story. Memory capacity and bandwidth can constrain a workload. Seventy billion parameters stored at sixteen bits each require about 140 gigabytes in decimal units for the weights alone, before caches, activations and other overheads. That exceeds an 80-gigabyte H100’s memory. Lower precision, offloading or several devices can change what fits, each with trade-offs. “Fits” should refer to the complete chosen workload, not just the weights."}]},{"t":"h2","id":"who-else-makes-them","runs":[{"text":"Who else makes them"}]},{"t":"p","runs":[{"text":"Other accelerators include Google’s TPUs and chips from other suppliers. Google’s first TPU targeted inference and was operating in its data centres in 2015; its second generation, announced in 2017, supported training as well. Many phones also contain specialised machine-learning hardware. Export rules affect some advanced-chip sales, but a specific model’s hardware and performance should be read from its report rather than inferred from its country."}]},{"t":"h2","id":"the-free-path","runs":[{"text":"The free path"}],"role":"free"},{"t":"p","runs":[{"text":"You do not need to buy an accelerator to begin learning. Hosted notebooks such as Google Colab offer free tiers, but GPU availability, time limits and quotas vary and are not guaranteed. Small examples may run on an ordinary CPU. Whether a notebook can train or adapt a particular model depends on its memory, data, settings and current resource allowance."}]},{"t":"h2","id":"what-a-graphics-chip-is-bad-at","runs":[{"text":"What a graphics chip is bad at"}]},{"t":"p","runs":[{"text":"Dependencies limit parallelism. Ordinary autoregressive text generation produces successive tokens in order, but each token still involves parallel numerical work, and servers can batch requests. Processing a known prompt differs from decoding new tokens; caches and speculative methods can also change efficiency. More generated steps generally add work and latency, but it is not true that most GPU capacity must always sit idle or that training is invariably fast."}]}],"check":{"question":[{"text":"Why are GPUs useful for training many large neural networks?"}],"options":[{"text":[{"text":"They guarantee faster execution for every task because each core has a higher clock speed."}],"correct":false,"tempting":[{"text":"Parallel throughput differs from per-core clock speed; not every workload benefits."}]},{"text":[{"text":"They accelerate large amounts of parallel arithmetic, while memory, communication and other dependencies still matter."}],"correct":true,"tempting":null},{"text":[{"text":"They remove memory limits entirely by storing every large model inside each individual arithmetic core."}],"correct":false,"tempting":[{"text":"GPU memory is finite, and the whole workload must fit or be distributed."}]},{"text":[{"text":"They were first designed for neural training, and graphics rendering was added only after 2012."}],"correct":false,"tempting":[{"text":"Graphics workloads preceded general GPU programming and neural applications."}]}],"order":[3,2,1,0],"why":null},"prev":{"slug":"the-2012-moment","title":"The photograph competition that turned the field","minutes":9},"next":{"slug":"one-architecture-ate-everything","title":"One architecture ate everything","minutes":9}}}