Meta’s Infrastructure Evolution and the Advent of AI
Meta'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.
Related posts
- 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.
- 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.
- Maintaining large-scale AI capacity at Meta
Meta Engineering easyNoviceMeta 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.
- 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.
- OCP Summit 2026: Powering AI with Open Innovations in Scale-Up, Scale-Out, and Scale-Across Networks
Meta Engineering hardMasterMeta's OCP 2026 networking lineup centers on IcePack, its first liquid-cooled network rack, and IceCube 102.4T switch blades (128×800G, Tomahawk6C or Spectrum-6, running FBOSS on SAI). Flattened Planar Fabric connects each GPU through eight 100G links to eight planes, flattening the backend from 3-tier to 2-tier Clos, with NIC-level packet spraying and a host-inclusive control plane that steers traffic around failed planes. The BAG super-spine links fabrics across regions at petabit scale, measuring cable length in place to size lossless buffer headroom and using eBGP link-bandwidth signaling for weighted load balancing. Further announcements include the Tahan Ethernet scale-up switch for MTIA 300, a 72-accelerator ESUN-based design, the OSPA switch platform standard, SRv6 regional backbones, and open-source MetaRoCE.