Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    How large AI training runs work: GPUs, parallelism and failures

    A large AI training run spreads one model across thousands of GPUs that work in lockstep for weeks. Meta reports training Llama 3 405B on up to 16,000 H100 GPUs,[1] splitting the work four ways so each GPU's share fits in its memory,[2] and logging 466 job interruptions in one 54-day stretch, most of the unexpected ones from hardware.[3]

    Editor reviewedUpdated Explainer15 claims · 7% primaryFrontier AI, Artificial intelligence, Next-gen computing hardware
    Reading level: 3 passages differ; the rest is the same for everyone.

    This page is part of the Frontier AI course. Read AI scaling laws first for why labs train ever-larger models, then this page for what such a training run is physically. The next steps are synthetic data and, later, how AI inference works.

    A frontier training run is one very large job: a single model is trained on trillions of tokens by thousands of chips working in lockstep. Meta’s report on Llama 3 gives a detailed public account. Its 405-billion-parameter model was pre-trained on 15.6 trillion tokens using 3.8 × 10^25 floating-point operations,[4] on up to 16,000 NVIDIA H100 GPUs.[1] Most of what follows comes from that report and from DeepSeek’s report on DeepSeek-V3, so these are the labs’ own accounts.

    The hardware

    The basic unit is a server holding eight GPUs, the chips that do the arithmetic. Inside a server the GPUs are wired together with a very fast link; between servers the network is slower.[1][5] A training cluster is thousands of these servers joined into one machine. For background on the chips, see GPUs, TPUs and NPUs.

    Meta lists H100 GPUs with 80GB of HBM3 each, eight per Grand Teton server, connected within a server by NVLink.[1] DeepSeek describes a similar layout for DeepSeek-V3: 2,048 H800 GPUs, NVLink and NVSwitch inside each eight-GPU node and InfiniBand between nodes.[5] The bandwidth gap between the inside of a node and the network between nodes shapes how the model is split.[6]

    Splitting one model across thousands of GPUs

    A large model and its training data are far too big for one chip’s memory, so the work is divided. Some methods split the data, so many copies of the model learn from different examples and then compare notes. Others split the model itself, layer by layer or even inside a layer.[7] Meta used four kinds of splitting at once for Llama 3.[2]

    Megatron-LM showed in 2019 that intra-layer (tensor) model parallelism could train transformers of up to 8.3 billion parameters on 512 GPUs, as a way around memory limits.[8] ZeRO attacked the same problem from the data-parallel side by removing redundant copies of model state, and reported training models of over 100 billion parameters on 400 GPUs.[9] Llama 3 combines tensor, pipeline, context and data parallelism (“4D parallelism”) so each GPU’s parameters, optimizer states, gradients and activations fit in its memory.[2] Tensor parallelism splits weight tensors across devices; pipeline parallelism splits the model into stages by layer; context parallelism splits long input sequences; and data parallelism runs batches in parallel and synchronises after each step.[7]

    Even well tuned, the GPUs do useful model arithmetic at under half their peak rate: Meta reports a Model FLOPs Utilization of 38 to 43% for its configurations.[10]

    Failures, checkpoints and restarts

    With tens of thousands of parts running for weeks, something breaks often: Meta counted several unexpected interruptions a day on average.[3] Because all GPUs work in lockstep, one failed chip can stop the whole job.[11] So the run saves its progress regularly, called checkpointing, and restarts from the last save.[12]

    In a 54-day snapshot of Llama 3 405B pre-training, Meta counted 466 job interruptions: 47 planned and 419 unexpected. About 78% of the unexpected ones were attributed to confirmed or suspected hardware issues, and GPU problems alone were 58.7%.[3] Checkpoints hold between 1 MB and 4 GB of model state per GPU, and checkpointing more often cuts the work lost after each failure.[12] With automated recovery, Meta reports more than 90% effective training time and only three significant manual interventions in that period.[13] DeepSeek reports that DeepSeek-V3’s run had no irrecoverable loss spikes and no rollbacks.[14]

    Power and the physical world

    A training cluster also behaves like a large electrical load. Meta reports a 1 to 2% daily swing in throughput because mid-day heat affected the GPUs’ clock speeds, and power swings of tens of megawatts across the data centre when tens of thousands of GPUs pause or resume together.[15] The wider picture is covered in AI data centres and power.

    Cost: what the published numbers mean

    DeepSeek reports that DeepSeek-V3’s full training took 2.788 million H800 GPU hours, about $5.576 million at an assumed $2 per GPU hour.[14] The same report says the figure covers only the final training run and excludes prior research and ablation experiments,[14] so it is not the total cost of building the model. DeepSeek also reports using FP8 mixed-precision arithmetic for more efficient training.[5]

    What is known and what is open

    Known, from the labs’ own reports: frontier training needs thousands of GPUs, several kinds of parallelism and heavy automation to survive frequent hardware faults.[2][3] Published training costs cover only the final run, not the research that led to it.[14]

    Open questions this page does not settle: how cluster sizes, failure rates and costs compare for frontier models whose developers have not published training reports. Every figure here is a lab’s own account and has not been independently audited.

    Next in the crash course

    Developing in AI & Computing

    Questions readers ask

    How many GPUs does it take to train a frontier AI model?

    Thousands. Meta reports training Llama 3 405B on up to 16,000 NVIDIA H100 GPUs, and DeepSeek reports training DeepSeek-V3 on a cluster of 2,048 H800 GPUs.[1][5]

    Why can't a big model be trained on one GPU?

    It doesn't fit. NVIDIA's Megatron-LM paper said very large models are hard to train because of memory limits, so labs split the model's parameters, optimizer states, gradients and activations across many GPUs.[8][2]

    How often do training runs fail?

    Often, at this scale. Meta reports 466 interruptions in a 54-day period of Llama 3 405B pre-training, 419 of them unexpected, with about 78% of those traced to confirmed or suspected hardware problems.[3]

    How much did DeepSeek-V3 cost to train?

    DeepSeek reports 2.788 million H800 GPU hours, about $5.576 million at an assumed rental price of $2 per GPU hour, and says the figure excludes earlier research and ablation experiments.[14]

    Sources

    · 15 claims from 5 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      Meta reports that Llama 3 405B was trained on up to 16,000 NVIDIA H100 GPUs, each with 80GB of HBM3 memory, in servers of eight GPUs connected by NVLink. reportedas of 2026-11-22

    2. [2]

      To fit Llama 3 405B across its GPUs, Meta combined four kinds of parallelism (tensor, pipeline, context and data parallelism) so that each GPU's share of parameters, optimizer states, gradients and activations fits in its memory. reportedas of 2026-11-22

    3. [3]

      Meta reports 466 job interruptions during a 54-day snapshot of Llama 3 405B pre-training, 47 planned and 419 unexpected; about 78% of the unexpected ones were attributed to confirmed or suspected hardware issues, and GPU issues were the largest category at 58.7%. reportedas of 2026-11-22

    4. [4]

      Meta reports that its flagship Llama 3 model, with 405 billion parameters, was pre-trained on 15.6 trillion text tokens using 3.8 × 10^25 floating-point operations, almost 50 times more than the largest Llama 2 model. reportedas of 2026-11-22

    5. [5]

      DeepSeek reports that DeepSeek-V3 was trained on a cluster of 2,048 NVIDIA H800 GPUs, with eight GPUs per node linked by NVLink and NVSwitch and InfiniBand between nodes, and that it used FP8 mixed-precision training for efficiency. reportedas of 2026-11-22

    6. [6]

      The Llama 3 report says the 405-billion-parameter model does not fit in the GPU memory of one machine with eight H100 GPUs, so Meta ran inference in BF16 across 16 GPUs on two machines, using tensor parallelism within each machine and pipeline parallelism across them. reportedas of 2026-11-22

    7. [7]

      The Llama 3 report describes tensor parallelism as splitting individual weight tensors across devices, pipeline parallelism as dividing the model into stages by layers, context parallelism as dividing the input into segments, and data parallelism as processing data in parallel on many GPUs that synchronise after each training step. reportedas of 2026-11-22

    8. [8]

      NVIDIA's 2019 Megatron-LM paper said very large transformer models are hard to train because of memory limits, and used intra-layer model parallelism to train models of up to 8.3 billion parameters on 512 GPUs. reportedas of 2026-11-22

    9. [9]

      The ZeRO paper (SC20) described a method that removes memory redundancy in data- and model-parallel training, and reported training models of over 100 billion parameters on 400 GPUs. confirmedas of 2026-11-22

    10. [10]

      Meta reports an overall Model FLOPs Utilization of 38 to 43% for its Llama 3 405B training configurations, meaning the GPUs did useful model arithmetic at under half their peak rate. reportedas of 2026-11-22

    11. [11]

      The Llama 3 report says synchronous training is less fault-tolerant because a single GPU failure may require restarting the entire job. reportedas of 2026-11-22

    12. [12]

      The Llama 3 report says checkpointing saves each GPU's model state, from 1 MB to 4 GB per GPU, for recovery and debugging, and that more frequent checkpoints reduce the work lost after a recovery. reportedas of 2026-11-22

    13. [13]

      Despite the interruptions, Meta reports more than 90% effective training time for Llama 3, with significant manual intervention needed only three times in the 54-day period. reportedas of 2026-11-22

    14. [14]

      DeepSeek reports that DeepSeek-V3's full training took 2.788 million H800 GPU hours, about $5.576 million at an assumed $2 per GPU hour, and says this excludes prior research and ablation experiments; it also reports no irrecoverable loss spikes or rollbacks. reportedas of 2026-11-22

    15. [15]

      Meta reports that Llama 3 405B throughput varied by 1 to 2% over the day because of mid-day temperatures, and that tens of thousands of GPUs changing power draw together can swing data-centre power consumption by tens of megawatts. reportedas of 2026-11-22

    Revision history (1)
    1. Page created.

    Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Jun 14, 2027.

    Cite this page

    "How large AI training runs work: GPUs, parallelism and failures." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/how-ai-training-runs-work

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.