Training Large Language Models on 100,000 Domestic AI Accelerators: Three Core Challenges

    This article breaks down the three main challenges of training large language models on a 100,000-card domestic computing cluster: controlling the cost of effective compute, managing high-speed interconnect and communication, and building a self-reliant software ecosystem. It explains the underlying systems-engineering formula, offers capacity planning and communication optimization practices, and outlines a staged rollout path from single-node benchmarks to full-scale training.

    1. The Core Issue: 100,000 Cards Is a Systems Engineering Problem, Not a Hardware Pile

    When people discuss training a super-large model on 100,000 domestic accelerators, the first reaction is often about the procurement budget: multiply the per-card price by the number of cards and you get a figure in the hundreds of billions. But what really determines whether the project succeeds is not how many cards you have. It is whether those 100,000 cards can sustain high utilization, low communication overhead, and recoverable fault tolerance over a training cycle that lasts weeks or even months.

    Abstract the problem and the compute demand for training a super-large model can be roughly expressed as:

    1. Total training time ≈ (model parameters × compute coefficient per token × training tokens) / (number of cards × effective compute per card × cluster efficiency)

    This equation tells us three things: the number of cards is only part of the denominator; effective compute per card is affected by operator implementation and precision choices; and cluster efficiency (communication share, failure downtime, load imbalance) is often the largest variable. So the three core challenges of a domestic computing solution—scale and cost, interconnect and communication, and software ecosystem—are essentially three facets of the same systems engineering problem.

    2. First Challenge: Controlling Compute Scale and Cost

    2.1 From Buying Cards to Buying Effective Compute

    Budget evaluation cannot stop at the per-card purchase price. What you actually need to account for is the cost per unit of effective compute, which consists of:

    • Accelerators plus the supporting servers, memory, and local storage;
    • High-speed interconnect network equipment, optical modules, and cables (at 100,000-card scale, the network-side share of spending rises significantly);
    • Data center power and cooling, where power density directly determines how many cards fit in a single rack;
    • Long-term operations staff, spare parts pools, and the failure replacement cycle.

    2.2 Capacity Planning Recommendations

    Start with small-scale benchmarks. Measure the per-card throughput and scaling efficiency of the target model under the real parallel strategy, then extrapolate the total linearly. This avoids the common trap of “estimating by peak compute, delivering at half speed.” At the same time, reserve 10%–20% spare cards for failure replacement and rolling upgrades, so that a training job does not have to restart entirely because of a few failed nodes.

    2.3 Cost Control Measures

    Use tiered storage and on-demand loading to reduce data-side overhead; trade mixed precision and a reasonable recomputation strategy for the best balance of memory and time; split training into parallelizable stage tasks and improve overall occupancy through container platforms and queue scheduling. In the cloud, separate long-running training from elastic debugging: use a stable compute pool for the former and elastic resources for the latter, avoiding paying for peak capacity.

    3. Second Challenge: High-Speed Communication Across 100,000 Cards

    3.1 Why Communication Becomes the Bottleneck

    Large model training typically combines data parallelism, tensor parallelism, pipeline parallelism, and sequence/context parallelism. Different parallel dimensions have completely different network requirements: tensor parallelism performs an all-reduce at every layer, is the most sensitive to bandwidth and latency, and is usually confined to a high-bandwidth domain within a single node; pipeline parallelism uses point-to-point transfers, is latency-sensitive but moves small amounts of data; and gradient synchronization in data parallelism can be delayed, bucketed, and overlapped with computation to hide it.

    3.2 Topology and Layered Design

    A sound approach is to build a four-tier bandwidth hierarchy of “intra-card—intra-node—intra-rack—cluster,” placing the most communication-intensive parallel dimension in the highest-bandwidth domain and the latency-tolerant dimensions in the upper tiers. On the network side, you need a non-blocking or near-non-blocking switching architecture, a sensible oversubscription ratio plan, and a rail-based multipath design to improve aggregate bandwidth and fault tolerance.

    3.3 Communication Optimization Checklist

    • Overlap computation and communication: trigger gradient reduction by bucket during backpropagation to hide synchronization time;
    • Gradient compression and low-precision communication: reduce transfer volume while keeping convergence under control;
    • Topology-aware parallel partitioning: keep parallel groups within the same high-bandwidth domain;
    • Collective communication library tuning: bucket size, number of channels, and timeout thresholds need to be adjusted based on measurements.

    Illustrative configuration (pseudocode, expressing the idea only):

    1. # Bind parallel strategy to communication domains
    2. parallel = ParallelConfig(
    3. tensor_parallel=8, # bound to the intra-node high-bandwidth domain
    4. pipeline_parallel=8, # across racks, mainly point-to-point
    5. data_parallel=auto, # remaining cards, gradient sync can overlap
    6. )
    7. comm = CommConfig(bucket_mb=200, overlap=True, timeout_min=30)

    4. Third Challenge: Software Ecosystem and a Self-Reliant Training Stack

    4.1 The Real Migration Cost Lies in Operators and Debugging

    Breaking away from dependence on an existing programming ecosystem is not difficult because of writing a model script that runs. The difficulty lies in three things: complete operator coverage and numerical stability; framework-level support for parallel strategies, memory management, and fault tolerance; and the debugging and performance analysis toolchain that developers are used to. If any one of these is missing, “it runs” turns into “it runs unstably and slowly.”

    4.2 A Layered Decoupling Engineering Approach

    A recommended approach is to introduce an intermediate representation layer between the model definition and the hardware backend, writing attention, normalization, and mixed precision strategies as backend-agnostic abstractions, then letting the compilation and graph optimization layer handle operator fusion, memory reuse, and pipeline scheduling. This way the same model code can switch across multiple backends, and migration cost drops from a “rewrite” to an “adaptation.”

    1. # Backend-agnostic model abstraction example
    2. model = build_model(config) # hardware-independent model definition
    3. backend = Backend("domestic_accelerator", precision="bf16")
    4. compiled = compile(model, backend, fusion=True, memory_reuse=True)
    5. trainer = Trainer(compiled, parallel=parallel, comm=comm,
    6. checkpoint="object_storage", resume=True)

    4.3 Stability and Observability

    At 100,000-card scale, failures are the norm, not the exception. You must build: second-level failure detection and automatic isolation; periodic checkpoints (written to object storage with multiple versions retained); job-level elastic rescheduling; and a monitoring and alerting system covering throughput, memory, communication latency, temperature, and power. Log services and metrics dashboards must be able to pinpoint “which card, which link” is slowing down the whole system.

    1. Single-card and single-node benchmarks: determine operator coverage, numerical precision, and effective per-card throughput;
    2. Thousand-card scaling validation: measure the scaling efficiency curve and find the communication inflection point;
    3. Ten-thousand-card stability drills: inject failures and validate checkpoints and rescheduling;
    4. Full-scale training and cost review: use “cost per unit of effective compute” and “effective training time ratio” as the final evaluation metrics.

    6. Conclusion

    Training super-large models on 100,000 domestic cards is never about a single hardware metric. It is about whether the three curves—cost, interconnect, and ecosystem—can be flattened at the same time. Align parallel strategies with network topology, decouple the model from the backend, and make fault tolerance and observability part of the infrastructure, and domestic computing stops being a question of “can it run” and becomes an engineering question of “how stable, how fast, and how cost-efficiently it runs.” For teams that want to carry out large model training and fine-tuning on a self-reliant computing platform, the lowest-risk, highest-return path is to first refine scaling efficiency and stability at small and medium scale, then scale up gradually. General-purpose capabilities such as the container platform, object storage, log service, and monitoring and alerting offered by Baidu AI Cloud can be combined on demand as the underlying infrastructure components for such a training system.