Large-Scale AI Training Performance Benchmarks: A Deep Dive into Scaling Efficiency
This article analyzes a new round of large model training benchmarks covering pretraining and agent reinforcement learning tasks. It breaks down a complete training run completed in about 102 seconds on 8,192 self-developed tensor processing units, examines the three-point scaling curve from 2,048 to 8,192 accelerators, and explains how to calculate scaling efficiency. It also outlines four common bottlenecks behind efficiency decay and lists reusable tuning practices for large-scale training platforms.
1. Background: What a New Benchmark Round Revealed
A recent industry benchmark organization published the first batch of submissions for a new round of large model training performance evaluations. This round received ten results in total, covering two task categories: model pretraining and agent reinforcement learning, the latter being included in the evaluation for the first time. The participating hardware included a cloud vendor’s self-developed seventh-generation tensor processing unit as well as mainstream accelerator cards from the industry. Of the ten results, four came from self-developed chip platforms and six from general-purpose accelerator card platforms.
What truly drew attention was a pretraining result for an ultra-large-scale mixture-of-experts (MoE) model: a cloud vendor used 8,192 self-developed tensor processing units to complete training and reach the quality threshold defined by the benchmark in about 1.70 minutes (roughly 102 seconds). When the scale was reduced to 4,096 units, the system’s scaling efficiency was 96%.
It is important to emphasize that “102 seconds” is not an inference latency figure, but a complete training round that includes data loading, forward and backward computation, gradient synchronization, and optimizer state updates. Understanding this is essential to correctly interpreting the engineering meaning of such numbers.
2. The Scaling Curve Behind Three Data Points
The same submitter provided three configurations for this project, forming a clear scaling curve:
| Number of Accelerators | Time | Speedup vs. Baseline |
|---|---|---|
| 2048 | ~302 seconds | 1.00x (baseline) |
| 4096 | ~157 seconds | ~1.92x |
| 8192 | ~102 seconds | ~2.96x |
From 2,048 to 4,096, the scale doubled and the time was halved, with a speedup ratio close to the ideal 2.0. From 4,096 to 8,192, the scale doubled again, but the speedup ratio dropped to about 1.54, corresponding to a scaling efficiency of roughly 77%. The shape of this curve is more informative than any single data point: it shows that the system scales nearly linearly in the small-to-medium range, while observable communication and scheduling overhead begins to appear at the ten-thousand-card scale.
The same evaluation round also listed several public reference results, covering general-purpose accelerator card clusters and self-developed chip clusters of different scales. The shortest time was held by a ten-thousand-card general-purpose accelerator cluster. All results were self-disclosed by the respective submitters; the testing methodology was consistent, but the engineering implementations varied. Therefore, cross-comparison should focus on the premise of “whether the quality threshold was reached” rather than simply comparing decimal points.
3. How to Calculate Scaling Efficiency
Scaling efficiency is one of the most practical metrics for judging the maturity of a large-scale training platform. Its general definition is as follows:
def scaling_efficiency(t_base, n_base, n_target, t_target):"""t_base: time at baseline scalen_base: number of accelerators at baseline scalen_target: number of accelerators at target scalet_target: time at target scaleReturns the efficiency ratio under ideal linear scaling"""ideal_speedup = n_target / n_baseactual_speedup = t_base / t_targetreturn actual_speedup / ideal_speedup
For the 4,096-card case, the ideal speedup is 2.0 and the measured value is about 1.92, giving an efficiency of about 96%. For the 8,192-card case, the ideal speedup is 4.0 and the measured value is about 2.96, giving an efficiency of about 74%–77%. In engineering practice, above 90% is generally considered excellent, around 80% is acceptable, and below 70% calls for focused bottleneck investigation.
4. Four Common Bottlenecks in the Performance Curve
Efficiency decay during large-scale scaling almost always falls into one of the following four causes:
- Collective communication overhead. Tensor parallelism and expert parallelism introduce substantial AllReduce / AllToAll communication at every layer. The larger the scale, the higher the proportion of cross-node links. The dynamic AllToAll caused by expert routing is especially difficult to hide.
- Load imbalance. In MoE models, the distribution of tokens across experts is naturally skewed, and a few hotspot experts can leave the entire batch of devices waiting, creating a “bucket effect.”
- Data pipeline and checkpoint overhead. Data preprocessing, host-side scheduling, and periodic state saving can take up a considerable proportion of an extremely short training round—when per-step time is compressed to the second level, any fixed overhead is amplified.
- Topology and scheduling constraints. The size of the high-speed interconnect domain within a rack, task orchestration granularity, and the speed of isolating faulty nodes all show up directly on the scaling curve.
5. Reusable Tuning Practices
- Measure before optimizing: Use profiling tools to separately quantify the proportions of computation, communication, and data waiting, avoiding tuning by intuition.
- Layered combination of parallel strategies: Use the high-bandwidth domain within a node for tensor parallelism, and data parallelism and expert parallelism across nodes, to reduce cross-domain traffic.
- Overlap communication with computation: Pipeline gradient synchronization and expert dispatch with backward computation to hide what can be hidden.
- Control fixed overhead: Increase per-step computation to amortize scheduling costs, and adopt asynchronous or sharded state saving to reduce checkpoint blocking.
- Improve observability: With monitoring and alerting, logging services, and metrics dashboards, continuously track throughput, scaling efficiency, and abnormal nodes, turning occasional jitter into locatable events.
- Build on a mature platform foundation: A container platform handles elastic orchestration and self-healing, object storage holds training data and artifacts, and a message queue decouples the data supply chain, significantly reducing duplicated investment in in-house infrastructure. Baidu AI Cloud offers a relatively complete combination of such general capabilities, making it easier for teams to focus their energy on the model and parallel strategy itself.
6. Conclusion
The value of the 102-second result lies not in the number itself, but in the analyzable scaling curve it provides: near-linear scaling at small-to-medium scales, about 77% efficiency at the ten-thousand-card scale, and an explicitly stated quality-threshold premise. For engineering teams, the right approach is to treat benchmarks as a medical checkup report—quantify the current state with a unified efficiency formula, locate bottlenecks with segmented profiling, and then converge item by item using parallel strategies, communication overlap, and an observability system.
