Maintaining large-scale AI capacity at Meta
Meta keeps its GPU training fleet, planned to reach 600,000 GPUs, current by rolling firmware, driver and network upgrades through "maintenance trains". These take one small maintenance domain offline at a time, so all capacity except that domain stays available. Lower-level components are upgraded gradually across hosts, while the job container, including CUDA, stays consistent for each job. Domain size is chosen by trading interruption cost against buffer capacity. The OpsPlanner orchestrator serializes overlapping operations, about a million per day, and enforces that hosts are upgraded before returning to production, with autostop and automatic offboarding as safeguards.
Related posts
- Meta’s Infrastructure Evolution and the Advent of AI
Meta Engineering easyNoviceMeta's infrastructure grew from a LAMP stack with per-university databases to a global fleet of millions of machines. Along the way it added Memcache and TAO, edge POPs, a backbone network, cache-invalidation systems for cross-region consistency, and fleet systems such as Twine, Tectonic, ZippyDB, Shard Manager, Kraken, Taiji and Maelstrom. AI workloads changed those assumptions. Recommendation models brought GPUs into the fleet, and LLM training pushed synchronous jobs from 128 to thousands of GPUs, where one failure halts the whole job; Meta reports cutting the interruption rate by about 50x. It went on to build two 24k H100 clusters (InfiniBand and RoCE), a 129k-H100 cluster made by emptying five data centers, air-assisted liquid-cooled GB200 racks, AMD MI300 deployments, and its own MTIA silicon for ranking and ads inference.
- How Meta trains large language models at scale
Meta Engineering easyNoviceTraining LLMs at Meta shifted workloads from many small recommendation jobs to a few enormous GPU jobs, forcing changes across hardware, data center layout, reliability, networking and storage. Meta adapted its Grand Teton H100 platform (700W TDP, HBM3, still air-cooled), repacked data halls for GPU density, and tracks common failure modes such as GPUs dropping off PCIe, DRAM/SRAM uncorrectable errors and network cable faults. Instead of choosing between fabrics, it built two 24K-GPU clusters, one RoCE and one InfiniBand, and tuned both to equivalent performance for Llama 3 training. The tuning relied on topology-aware placement of parallelism traffic, custom collectives such as recursive doubling/halving in place of rings, and load balancing to handle fat flows.
- Building Meta’s GenAI Infrastructure
Meta Engineering easyNoviceMeta built two 24,576-GPU NVIDIA H100 clusters for GenAI training, including Llama 3. One uses a RoCE fabric on Arista 7800 and OCP switches and the other uses InfiniBand, both with 400 Gbps endpoints, on Grand Teton servers. Storage combines a FUSE API over a flash-optimized Tectonic for synchronized checkpointing with a Hammerspace parallel NFS for interactive debugging. Large-cluster AllGather utilization initially ranged from 10% to 90%. Topology-aware job scheduling, routing changes and NCCL tuning brought it back above 90%, and PyTorch process-group startup dropped from hours to minutes.
- Inside Prometheus: Meta’s Journey to a Gigawatt-Scale Supercluster
Meta Engineering hardMasterPrometheus is Meta's gigawatt-scale AI training supercluster in New Albany, Ohio, built in phases toward roughly 1 million GPUs. It runs NVIDIA GB200 (Catalina/Ariel, 800G scale-out per GPU) and GB300 (Clemente) NVL72 racks on a dedicated Ethernet back-end network with building-level fabrics of up to 20,736 GPUs and an aggregation network spanning 2 to 100+ km. Reliability engineering covers 64-of-72 GPU slices with in-rack spares (about 13% overprovisioning), parallelism-aware fault tolerance, async delta checkpointing, and targeted fixes for NVLink signal integrity and HBM faults. These cut interruptions by 99% and delivered over 85% goodput for pre-training, over 90% for RL, and an MTBI above 54K GPU hours.
- Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams
Together AI easyNoviceMulti-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm. Scheduler-enforced quotas by GPU count, spend or reservation window, conflict-free advance booking and automatic burst to on-demand capacity keep one team from starving others. Teams choose CUDA driver, shared memory and storage at booking time. Nodes get acceptance testing before handoff (DCGM diagnostics, GPU burn, single- and multi-node NCCL, NVBandwidth), with tiered repair: reprovision for software faults, cluster migration for hardware failures. The guide is framed around Together AI's own offering.