Training Large Language Models on 100,000 Domestic AI Chips: Three Core Challenges
This article breaks down the three main challenges of training large language models at the 100,000-chip scale on domestic compute: capacity planning under effective utilization targets, cluster communication bottlenecks, and software ecosystem maturity. It covers a rough FLOPs estimation method, three-tier budgeting, topology-aware parallel mapping, hierarchical collective communication, computation-communication overlap, observability, and a "correct first, then fast" adaptation path.
1. Why 100,000 Chips Is a Qualitative Threshold
Scaling model training from a thousand chips to a hundred thousand is not simply multiplying the machine count by one hundred. Parameter size, optimizer states, gradients, and activations together determine memory consumption, and memory determines how the model is sharded across devices. The sharding strategy determines the communication pattern, which is in turn constrained by network topology and link bandwidth. If any single link in that chain is estimated too optimistically, it shows up in the first week of training as idle compute.
A widely used rough estimate is that the floating-point operations required for training equal roughly 6 times the parameter count times the number of training tokens. For a model with hundreds of billions of parameters trained on trillions of tokens, the total lands around 10^25. If the cluster achieves only about 30% effective utilization, actual wall-clock time stretches to more than three times the theoretical figure. So the first step in capacity planning is not a procurement list. It is defining a target range for effective utilization, then working backward to the chip count and network specifications.
Cost needs the same structured breakdown. Beyond the purchase price of the accelerators themselves, you have to account for companion servers, memory, local storage, high-speed network equipment, data center power and cooling, and the ongoing electricity bill. A practical approach is to build three budget tiers: a conservative tier (enough chips but a higher network oversubscription ratio), a balanced tier, and an aggressive tier (non-blocking network but tight chip count). Run small-scale validation of the same parallelization strategy on all three configurations before deciding where to invest.
# Illustrative input checklist for capacity planning (pseudocode)required_flops = 6 * params * tokenseffective_flops = peak_flops_per_card * cards * utilizationeta_hours = required_flops / effective_flops / 3600budget = cards * unit_price + network + storage + power * hours
2. Cluster Communication: The Real Bottleneck at 100,000 Chips
Once the chip count reaches six figures, communication shifts from a secondary cost to the primary one. Data parallelism adds all-reduce of gradients, tensor parallelism adds high-frequency collective communication inside each layer, pipeline parallelism adds point-to-point transfers, and expert parallelism adds sparse, bursty, irregular dispatch and aggregation. All four land on the same network. Without isolation and scheduling, they compete for bandwidth and starve each other.
Engineering practice usually addresses this on three levels. First, topology-aware parallel mapping: keep the most communication-heavy tensor parallelism inside a single node or rack, spread pipeline parallelism across tiers with more headroom, and let data parallelism carry cross-rack traffic. Second, hierarchical collective communication: reduce within the node first, then reduce across nodes, which cuts the number of cross-domain messages. Third, overlap computation with communication: bucket gradients and trigger communication per bucket so transfers hide behind backward computation.
# Illustrative implementation of hierarchical reduction with bucket overlapfor bucket in reversed(grad_buckets):local = reduce_within_node(bucket) # Aggregate within the node firstasync_all_reduce(local, stream=comm_stream) # Asynchronous cross-node communicationoverlap_with_backward(bucket) # Overlap with backward computation
Observability is mandatory as well. Link bandwidth, collective communication latency, wait time, and the proportion of slow nodes should feed into logging and alerting systems. When an individual node drags down the whole step time, you want to locate and isolate it quickly, not reconstruct the failure after training has already crashed.
3. Software Ecosystem: From “It Runs” to “Fast and Stable”
Moving off a mature, established ecosystem is hard not because individual operators cannot be implemented, but because of operator library coverage, graph compilation optimization, mixed-precision strategy, distributed fault tolerance, and the completeness of the debugging toolchain. A pragmatic path is layered decoupling: keep model definitions and parallelization strategies hardware-agnostic, push operator implementations and scheduling below the abstraction layer, and hide hardware differences behind a unified device interface.
# Device-agnostic training loop skeletonfor step, batch in enumerate(loader):with autocast(dtype=compute_dtype):loss = model(batch)loss.backward()optimizer.step(clip_grad=True)if step % log_interval == 0:metrics.report(step, loss)
For the adaptation phase, proceed in the order “correct first, then stable, then fast.” Start with a small model to verify numerical consistency and the convergence curve, then add checkpoint resume, fault self-healing, and gradient anomaly detection, and only then fuse hot operators and reuse memory for performance. Alongside this, models and checkpoints, training logs, and metrics can live on general-purpose capabilities such as object storage, logging services, and monitoring and alerting, while training jobs run on a container platform for elastic scaling and isolation between teams.
4. What Open Sourcing Actually Changes
If a complete “100,000 chips plus an independent ecosystem” training stack were fully opened up, the impact would not be a single benchmark number. It would be turning scarce engineering experience into public knowledge: sharding rules, communication optimization patterns, fault-tolerance design, tuning methodology. Those who come later would not have to repeat the same mistakes, and the industry’s overall trial-and-error cost would drop. For developers, three things are most worth taking away: a reusable capacity estimation method, a topology-aware paradigm for parallelization and communication optimization, and an ecosystem adaptation route that gets correctness right before performance.
