Scaling AI Network Infrastructure for Large Language Model Training at 100K+ GPU Scale

meta · Tech · 2024 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: 100K+ GPU AI training network infrastructure

Meta needed to evolve its AI network from a 24K GPU single-building cluster to a 100K+ GPU multi-building region while preserving training throughput and operational reliability under congestion, long-distance, PFC, buffer, and firmware issues.

Constraints:

Architecture

Meta's network evolved from a 24K GPU, one-building Llama 3 cluster to a 100K+ GPU, five-building regional cluster. The 24K design used a CRAM approach with two AI zones per data hall and an ATSW super-spine layer. The 100K+ design scales that pattern across 38 AI zones, supporting services, CTSW/RTSW layers, deep-buffer switches, aggressive PFC threshold tuning, low-latency networking, dashboards for all-layer health metrics, queue fixes for RoCE control packets, transient-congestion mitigation, and firmware debugging.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["100K+ regional cluster"] --> B["AI zones"]
  B --> C["RTSW switches"]
  C --> D["CTSW switches"]
  B --> E["Supporting services"]
  D --> F["Lossless RoCE traffic"]
  G["Monitoring dashboards"] --> A
  G --> C
  G --> D
  H["Firmware and optics stack"] --> A
  I["24K Llama 3 cluster"] --> J["ATSW super-spine"]
  I --> B
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
24K Llama 3 cluster Single-building generative-AI cluster with four data halls and 24,000 interconnected GPUs. ATSW super-spine, AI zones
100K+ regional cluster Five-building, 20-data-hall regional cluster with over 100,000 GPUs. AI zones, RTSW switches, CTSW switches, Supporting services
AI zones GPU-packed zones deployed two per data hall using the CRAM approach. RTSW switches, Supporting services
ATSW super-spine Aggregation tier used to interconnect the eight AI zones in the 24K cluster. 24K Llama 3 cluster
RTSW switches Rack/topology switches connected to GPUs and tuned with aggressive PFC thresholds. CTSW switches, AI zones
CTSW switches Deep-buffer switches intended to absorb congestion and reduce head-of-line blocking. RTSW switches
Monitoring dashboards Network-health dashboards exposing metrics at all layers. RTSW switches, CTSW switches, 100K+ regional cluster
Lossless RoCE traffic Bulk training traffic carried in lossless queues with PFC behavior. RTSW switches, CTSW switches
Supporting services Storage and support systems feeding datasets to GPUs. AI zones
Firmware and optics stack NIC firmware and optics support layer whose divergent settings caused performance regression. 100K+ regional cluster

Data flow

Training data flows from storage/supporting services into AI zones and GPUs across a regional training network. Within each building, GPU servers connect through RTSWs and CTSWs; across buildings, aggregation layers connect many data halls. Monitoring dashboards expose health metrics, while network fixes move control traffic into lossless queues, tune buffers/PFC, and mitigate transient congestion so training jobs can continue ramping without downtime.

3 supporting quotes
“Supporting services include storage servers that feed the data set to the GPUs.”transcript, stated
“we invested heavily in in monitoring and and creating the the dashboards which would give us the health network health”transcript, stated
“We moved all that rocky control traffic back into the lossless queue so that it won't get dropped”transcript, stated

Why this architecture

Meta packed GPUs into AI zones to maximize building capacity for Llama 3, then moved to a multi-building regional design when next-generation models demanded more scale. The network architecture adds deep buffers, PFC tuning, health dashboards, and fleet-safe rollout practices because congestion and firmware issues can otherwise degrade large training jobs in ways that only appear at 8K-to-100K GPU scale.

3 supporting quotes
“We really wanted to pack as many GPUs in this one building as we could.”transcript, stated
“While this 24K cluster served its purpose for Llama 3, next gen uh generative AI models demanded greater GPU scale.”transcript, stated
“The foremost challenge that we knew we were going to run into would be the large amount of network congestion.”transcript, stated

Models used: Llama 3 · Llama 4 · generative AI training workloads

Scale

Alternatives considered (roads not taken)

Keep the 24K single-building design

Rejected because: Llama 4 and next-generation models demanded greater GPU scale.

“next gen uh generative AI models demanded greater GPU scale. So now this brings us to the 100K plus cluster.”transcript, stated

Let PFC propagate through congestion

Rejected because: Large queue buildups and head-of-line blocking would harm model performance.

“This actually leads to a potential for head-line blocking. We obviously don't want to be in a scenario where we have large queue buildups”transcript, stated

Treat lossy RoCE control drops as harmless

Rejected because: Control-packet loss degraded workload performance even though lossy traffic was under 1% of traffic.

“lossy Q carries actually less than 1% of the traffic. The bulk of the traffic actually is the rocky traffic which is going in the lossless cues.”transcript, stated

Roll congestion fixes fleet-wide without staged monitoring

Rejected because: Meta deployed the fix in one DC first, monitored side effects, and then rolled it out without downtime.

“We deployed this fix in one of the DCs, monitored the performance just to make sure there's no side effects and then rolled it out into the rest of the fleet without any downtime”transcript, stated

Patterns

latency-optimization (infrastructure)

Meta tuned buffers, PFC thresholds, low-latency networking, and control-traffic queues to protect training throughput.

“One of the first actions that we took was to put deep buffer switches on the CTSWs.”transcript, stated
“tune the thresholds to be very aggressive on the RTSW so that we PFC rest of the network as less as possible.”transcript, stated

observability-tracing (operations)

Meta built dashboards with network-health metrics at all layers to debug high-scale training problems.

“dashboards which would give us the health network health metrics at all layers all the time.”transcript, stated

canary-rollout (deployment)

Meta deployed the congestion fix in one data center, monitored side effects, and then rolled it out fleet-wide without downtime.

“deployed this fix in one of the DCs, monitored the performance just to make sure there's no side effects and then rolled it out into the rest of the fleet without any downtime”transcript, stated

fallback-degradation (reliability)

The network mitigates transient congestion by detecting buffer contention and PFCing back into the network.

“We actually detect this situation and PFC back into the network when this happens mitigating the transient congestion.”transcript, stated

Tradeoffs

Cluster scaling approach

Chose multi-building regional cluster over single-building 24K cluster.

Rationale: Next-generation generative AI models demanded more than 24K GPUs.

“next gen uh generative AI models demanded greater GPU scale. So now this brings us to the 100K plus cluster.”transcript, stated

Congestion mitigation

Chose deep buffers plus aggressive PFC threshold tuning over allowing PFC/head-of-line blocking to propagate.

Rationale: The design absorbs congestion locally and reduces performance-damaging queue buildup.

“put deep buffer switches on the CTSWs. The idea has been that they can absorb the congestion without actually PFCing the other side”transcript, stated

Fleet rollout

Chose one-DC monitored rollout over immediate fleet-wide network fix.

Rationale: The staged rollout avoided downtime and checked for side effects while jobs were ramping.

“monitored the performance just to make sure there's no side effects and then rolled it out into the rest of the fleet without any downtime”transcript, stated

Gotchas (what bit them)

PFC can create head-of-line blocking at AI scale.

Root cause: Lossless traffic and bursty AI workloads create congestion and queue buildup.

Resolution: Meta installed deep-buffer CTSWs and tuned RTSW thresholds to reduce PFC propagation.

“priority flow control which is PFC for maintaining the lossless environment or lossless network. This actually leads to a potential for head-line blocking.”transcript, stated
“The idea has been that they can absorb the congestion without actually PFCing the other side”transcript, stated

Tiny lossy-queue traffic caused workload degradation.

Root cause: RoCE control packets were carried in a lossy queue that dropped under ramp-up, even though it was less than 1% of traffic.

Resolution: Meta moved RoCE control traffic back into the lossless queue and retuned buffers.

“lossy Q carries actually less than 1% of the traffic.”transcript, stated
“We moved all that rocky control traffic back into the lossless queue so that it won't get dropped”transcript, stated

Some performance bugs only reproduce at large GPU scale.

Root cause: The firmware regression required an 8K GPU job across multiple DCs to reproduce and normal metrics did not point to the issue.

Resolution: Meta traced the problem to divergent NIC firmware settings and fixed part of the lost performance.

“there were 8K GPUs that were needed at least to reproduce the problem it wouldn't happen at a smaller scale”transcript, stated
“the new Nick firmware version had divergent settings from rest of the fleet which actually caused some regression.”transcript, stated

Multi-building AI clusters create unavoidable distance penalties.

Root cause: The 100K+ cluster spans five data centers over 3 km, adding propagation delay.

Resolution: Meta developed low-latency networking and invested in monitoring to preserve performance.

“there are five DCs in in the 100k plus cluster which are spanning over 3 km.”transcript, stated
“the distance which results in higher propagation delay and more time delays to the to the model.”transcript, stated

Evaluation

Meta evaluates the network through GPU scale, cluster topology, health dashboards at all layers, congestion/drop behavior, workload performance, fleet rollout monitoring, and large-scale reproduction tests.

Metrics: 24K GPUs · 100K+ GPUs · 38 AI zones · Five buildings · 20 data halls · More than 3 km span · Less than 1% lossy queue traffic · 8K GPU reproduction job · 30% performance degradation · 10% performance recovered from firmware fix

3 supporting quotes
“In total here we have 38 AI zones bringing the total scale of GPUs to over 100,000.”transcript, stated
“lossy Q carries actually less than 1% of the traffic.”transcript, stated
“Once we found that and fixed it, we were able to recuperate about 10% of the performance.”transcript, stated

Outcomes

The case reports a 24K GPU Llama 3 cluster, a 100K+ GPU cluster with five buildings, 20 data halls, 38 AI zones, more than 3 km span, an 8K GPU reproduction job, 30% DC-level degradation, about 10% recovered performance, and future clusters that may cross one million GPUs over distances above 100 km.

3 supporting quotes
“We evolved from this to a whole building network like that 24K cluster that we went over. Then we evolved again from one building to multi-building”transcript, stated
“Once we made these fixes, we were actually able to move forward.”transcript, stated
“This is a super cluster that will span an entire metropolitan area”transcript, stated