Building 10,000-Accelerator AI Compute Clusters: A Practical Guide

    This guide covers the engineering challenges of running AI compute clusters at 10,000-accelerator scale and beyond. It covers a five-layer architecture, network and storage design, topology-aware scheduling, parallel training strategies, fault tolerance, observability, and a phased rollout plan with common pitfalls.

    1. Why Large-Scale Clusters Are More Than Server Count

    When a single cluster grows from thousands to tens of thousands, or even hundreds of thousands, of accelerators, its nature changes. It is no longer just a faster computing platform. It becomes a tightly coupled distributed system. At the scale of a thousand accelerators, network jitter, accelerators throttling their clock speed, and metadata hotspots in storage are often hidden by compute time. At 10,000 accelerators, a single slow node can stall the entire job through synchronization barriers, creating a global straggler effect. Overall throughput is then set by the slowest part of the system.

    Three core goals define large-scale cluster construction:

    • Effective compute ratio: The share of theoretical peak compute that goes to useful computation. It is typically reduced by three kinds of overhead: communication, data supply, and failure recovery.
    • Failure domain convergence: Limiting the scope of any failure to a granularity that can be quickly isolated and automatically recovered.
    • Operability: At 10,000-accelerator scale, annual hardware failures are a certainty, so operations must be automated rather than dependent on manual inspection.

    Several regions in China have deployed 10,000-accelerator clusters powered by domestically developed AI chips, with plans to scale toward 100,000 accelerators. A model development organization also plans to adopt similar AI infrastructure in its self-built data center. The shared technical implication is that compute supply is shifting from a competition over single-chip performance to a competition over cluster engineering capability.

    2. Overall Layered Architecture

    A cluster that supports 10,000-accelerator training can be broken into five layers. Each layer should have clearly defined SLAs and responsibility boundaries.

    Layer Key Components Main Risks
    Compute Accelerators, general-purpose CPUs, memory, local NVMe Accelerator throttling, memory failures, thermal limits
    Network Parameter-plane high-speed lossless network, business and storage network, out-of-band management network Congestion, link bit errors, topology mismatch
    Storage Parallel file system, object storage, cache acceleration layer Metadata hotspots, bandwidth contention
    Scheduling Cluster scheduler, queues and quotas, topology awareness Fragmentation, queuing delays, preemption jitter
    Operations Monitoring and alerting, log services, automated fault self-healing, energy management Slow diagnosis, slow recovery

    The out-of-band management network is often underestimated. Without an independent out-of-band channel, operators cannot remotely power-cycle a node or reset its firmware when the node’s operating system stops responding. Recovery time can then grow from minutes to hours.

    3. Networking: The Primary Factor in Cluster Performance

    Large clusters typically separate three networks: the parameter plane, the storage and business plane, and the management plane. The parameter plane carries gradient synchronization and collective communication. It must be lossless, low-latency, and high-throughput. Common practice is to use lossless Ethernet based on RDMA or a dedicated high-speed interconnect, combined with priority flow control and congestion control.

    Topology design commonly uses a two-tier or three-tier Fat-Tree. The main goal is to place each training job under the same leaf switch as much as possible, which reduces the number of hops across layers. When a job exceeds the capacity of a single leaf, use rail-optimized wiring so that NICs with the same index on different nodes connect to the same plane. This lets collective communication fully use its multipath characteristics.

    Network parameters must match the behavior of the collective communication library. The following is an illustrative configuration that shows which parameter categories to watch. It is not a set of values to copy directly.

    1. # Illustrative: key parameter categories for lossless networking and collective communication
    2. network:
    3. mode: rdma-lossless
    4. pfc_priority: 3 # Lossless priority
    5. congestion_control: ecn-based
    6. rail_optimized: true
    7. collective:
    8. algorithm: ring|tree(auto) # Ring for small scale; tree or hierarchical is often needed at large scale
    9. topology_aware: true
    10. chunk_size: auto-tune # Tune based on measured bandwidth-latency curves
    11. overlap_with_compute: true # Overlap communication with backward computation

    Before go-live, run a full-mesh bandwidth and latency matrix test with a collective communication benchmark, and produce a node-pair bandwidth heatmap. This heatmap serves as the baseline for locating slow nodes later. Without it, performance problems can only be guessed at.

    4. Storage: Do Not Let Data Supply Become the Bottleneck

    Storage demand in training follows a two-peak pattern. First comes dense metadata reads across large numbers of small files during dataset initialization. Then come long periods of high-bandwidth sequential reads during data loading, along with periodic large writes for checkpoints.

    A three-tier structure is recommended:

    1. Object storage as the persistent foundation for datasets and checkpoints. It offers low cost, near-unlimited capacity, and built-in multi-replica durability.
    2. Parallel file system as the high-performance namespace, providing high throughput and metadata handling for large directories.
    3. Node-local NVMe and memory caches as the hot-data acceleration layer, which turns random reads into local sequential reads.

    The two most effective engineering measures are dataset preprocessing with sharding and asynchronous checkpointing. Sharding converts raw samples offline into fixed-length block formats that can be read sequentially. Asynchronous checkpointing keeps saves from blocking training.

    ```python

    Illustrative: sharded data loading and asynchronous checkpointing

    def build_loader(shards, global_rank, world_size, batch_size):

    1. # Shard by rank modulo world size, ensuring no duplicates and no omissions
    2. local = [s for i, s