Core Operators Approaching Peak: The Evolution of the Domestic AI Compute Ecosystem
Recent updates to domestic AI accelerators show core operators like sparse attention, expert parallel communication, and general matrix multiply (GEMM) achieving over 98% peak hardware utilization in specific scenarios. While this does not equate to absolute performance parity with advanced international chips, it signals a critical transition from merely "running" to "maximizing hardware." This article explores the engineering depth behind these system-level optimizations—ranging from operator fusion to topology-aware communication—and outlines the remaining gaps in absolute performance, software ecosystem maturity, and production stability. It also provides a practical checklist for developers optimizing large language model inference on diverse hardware.
Recent public materials have highlighted updates to core operators designed for domestic AI accelerators. Paths including sparse attention, expert parallel communication, general matrix multiply (GEMM), and vocabulary selection have been systematically optimized. In certain scenarios, hardware peak utilization has surpassed 98%, communication payload utilization reaches 90%–95%, and decode utilization has increased from slightly over 80% to around 86%. We should neither simply interpret these numbers as “domestic compute having caught up with international advanced levels” nor underestimate their engineering value. A more accurate assessment is that domestic compute is transitioning from “can run” to “can run fully,” with significantly enhanced software-hardware co-design capabilities at the single-operator level, though there is still a considerable distance to go before achieving a mature software ecosystem and end-to-end production-grade advantages.
1. Calibrating Concepts: Peak Utilization is Not Generational Parity
When discussing such optimizations, it is essential to separate two concepts: “hardware peak utilization” and “absolute performance level.” The former refers to how much of an accelerator’s own theoretical peak is consumed by a specific operator, with the denominator being that specific card’s peak. The latter refers to where absolute throughput, latency, bandwidth, and energy efficiency stand compared to mainstream international products during the same period. A 98.5% utilization rate only indicates that scheduling, partitioning, pipelining, and memory access are very close to the hardware’s theoretical limit; it does not automatically mean absolute performance has caught up with chips featuring more advanced manufacturing processes, higher bandwidth, or stronger matrix capabilities.
In public cases, sparse prefill utilization increased from 95% to 98.5%, decode from 83% to 86.1%, and GEMM single-operator utilization reached the 99.8%/99.5% magnitude. The true value of these numbers lies in engineering depth, not as a conclusion for cross-product comparison. Notably, prefill is typically a compute-intensive phase. Through operator fusion, tiling, pipeline parallelism, and precision conversion, it is relatively easy to saturate the compute units. Decode, however, is more memory-intensive and dequantization-intensive. The KV Cache must be read from VRAM, dequantized, and then fed into the compute units, meaning the bottleneck often lies in bandwidth, memory access patterns, and dequantization throughput. Moving decode utilization from 83% to 86.1% is usually more difficult than moving prefill from 95% to 98.5%. This detail explains the depth of optimization better than the headline numbers.
2. What These Optimizations Actually Changed
From a technical perspective, these updates are not single-point “parameter tuning” but system-level reconstructions around the end-to-end pipeline. They can be categorized into four types:
2.1 Operator Fusion: Reducing VRAM Roundtrips and Startup Overhead
Before and after attention, there is usually a string of fragmented operations: normalization, rotary position embedding (RoPE) for queries/outputs, precision conversion, and residual connections. If each operation launches a separate kernel, it results in repeated VRAM read/writes, increased startup overhead, and intermediate tensor occupation. Fusing normalization, RoPE, attention, output RoPE, and precision conversion into a single kernel can significantly reduce memory transfers and scheduling instances. The pseudocode roughly looks like this:
# Before optimization: multiple small operators chained, intermediate results repeatedly written to VRAMx = norm(x)q = rope(q)o = attention(q, k, v)o = rope(o)o = cast(o, fp8)# After optimization: fused operator completing multiple transforms at onceo = fused_norm_rope_attn_rope_cast(x, q, k, v)
The difficulty of fusion lies not in “combining functions” but in register pressure, shared memory usage, boundary handling, and numerical consistency. Over-fusing can lead to a drop in occupancy, while under-fusing fails to eliminate transfers. Fine-grained trade-offs must be made based on hardware resources.
2.2 Sparse Attention: Optimizing Prefill and Decode Separately
The bottlenecks for prefill and decode are different. Prefill has large batches and is compute-intensive, making it suitable for saturating compute units via tiling, pipelining, and fusion. Decode has small batches and is memory-intensive, requiring optimization of KV Cache layout, reduction of invalid reads, and improved dequantization efficiency. Public materials mention completing different head scales and KV layout combinations. The essence is to ensure operators have usable instances across different model structures, precisions, and sparsity modes, rather than just covering a single “demo shape.” This improved coverage is crucial for production environments, as real models rarely have a single specification.
2.3 Communication Paths: Removing Middle Layers to Approach Payload Limits
In expert parallelism scenarios, communication is often the end-to-end bottleneck. Removing circuitous middle communication layers and switching to more direct channels can push Dispatch bandwidth to 90%–95% of the physical payload limit when expert parallelism is low. This means optimization focus has shifted from “can communicate” to “fewer copies, less queuing, less protocol overhead.” However, communication optimization is highly topology-dependent: the optimal paths differ for intra-node, inter-node, and various interconnect media, necessitating topology awareness and fallback strategies.
2.4 GEMM and Vocabulary Selection: Improving Single-Operator Efficiency and E2E Coverage
GEMM is the core computation in Transformers. BF16/FP8 single-operator utilization reaching the 99.8%/99.5% magnitude indicates that tiling, pipelining, and precision paths are relatively mature. The acceleration path for large-scale vocabulary selection operators indicates that optimization scope has expanded from “large matrices” to “long-tail operators.” In end-to-end inference, long-tail operators like vocabulary selection, sampling, and normalization have low individual footprints, but their cumulative latency and synchronization overhead cannot be ignored.
3. Why Decode Optimization is Harder: The Divide Between Compute-Bound and Memory-Bound
The prefill phase usually has large batches and long sequences, with large matrix multiply dimensions. Compute units are easy to saturate, so optimization focuses on tiling, pipelining, and fusion. The decode phase is different: each step processes only a few tokens, reducing the arithmetic intensity of matrix multiplies. KV Cache reads, dequantization, sampling, and synchronization become the main conflicts. At this point, low utilization does not necessarily mean poorly written operators; rather, hardware bandwidth and memory access patterns limit the ceiling. Boosting decode from 83% to 86.1% shows that optimizers have delved into memory access layouts, dequantization instructions, cache reuse, and pipeline scheduling.
This also explains a common misreading: you cannot judge the quality of an inference system solely by single-operator peak utilization. Production environments care more about end-to-end latency, throughput, tail latency, VRAM usage, and stability. A single operator at 98% does not equal end-to-end 98%; there is also framework scheduling, communication, batching strategies, memory allocation, and sampling logic in between.
4. What This Means for Domestic Compute
First, engineering scheduling capabilities are validated. Being able to push multiple core operators near hardware peaks indicates that compilers, operator libraries, parallel strategies, memory management, and precision paths have formed reusable engineering methods. This is the ability to “maximize hardware,” not just “run a demo.”
Second, the hardware-software co-design methodology is transferable. Operator fusion, tiling, pipelining, topology-aware communication, precision conversion, and KV Cache layout optimization are cross-hardware universal methods. Optimization experience ground out on one accelerator today can be consolidated into templates, auto-tuning rules, and performance models, reducing subsequent adaptation costs.
Third, ecosystem usability is improved. Developers’ biggest fear is not low peaks, but “can run but not fast, can run but not stable.” Core operators transitioning from usable to efficient will lower the barrier for model migration and inference deployment. However, we must remain clear-headed: an ecosystem is more than just operators; it also includes framework adaptation, debugging tools, performance analysis, numerical consistency, long-term stability testing, and community documentation. Single-point operators approaching peak performance are only a necessary condition for ecosystem maturity.
Fourth, system-level bottlenecks will be exposed. Once single operators approach peak performance, end-to-end bottlenecks will shift to communication, scheduling, I/O, memory allocation, and batching strategies. This is a good thing for domestic compute: it forces the software stack to evolve from “operator optimization” to “system optimization,” and from benchmarks to production pipelines.
5. Three Gaps Not to Be Underestimated
1. The Absolute Performance Gap. The denominator for peak utilization is the hardware’s own peak, which cannot replace cross-product absolute throughput comparisons. Chips with more advanced processes, higher bandwidth, and stronger matrix capabilities may still hold a significant lead in absolute magnitude. Software optimization can narrow the gap, but it is difficult to bridge chip generational differences in the short term.
2. The Software Ecosystem Maturity Gap. The advantage of a mature parallel computing ecosystem is not just fast operators, but the network effect of toolchains, libraries, frameworks, debuggers, performance analysis, numerical validation, and developer habits. Domestic compute requires long-term investment; it cannot catch up through a single concentrated update.
3. The Production Stability Gap. 98% in a benchmark is not the same as 98% in a production environment. Real workloads feature dynamic shapes, mixed precision, long-tail operators, communication jitter, and fault recovery. Continuous regression benchmarks must be established, covering prefill, decode, expert parallelism, long sequences, low batches, and high concurrency scenarios.
6. A Practical Checklist for Developers
- Prioritize End-to-End Metrics: Do not look only at single-operator peak utilization. Simultaneously record throughput, P50/P99 latency, VRAM usage, communication proportion, and failure rates.
- Prioritize High-Yield Fusion: Prioritize fusing small operators around attention, normalization, RoPE, precision conversion, and residuals, but use performance analysis to confirm that register pressure and occupancy have not degraded.
- Topology-Aware Communication: In expert parallelism scenarios, design paths separately for intra-node/inter-node, retain fallback strategies, and avoid over-designing under low parallelism.
- Balance Precision and Numerical Consistency: Establish error baselines for FP8/BF16 paths, covering long sequences, extreme values, and sampling logic to avoid being “fast but inaccurate.”
- Establish Observability: Whether building your own cluster or using general cloud platforms like Baidu AI Cloud, establish baseline dashboards combining container platforms, monitoring alerts, and log services to continuously track operator-level and end-to-end metrics.
- Abstract Multi-Hardware Backends: Make fused operators, communication strategies, and precision paths into configurable backends to avoid binding business code to a single hardware and to reduce migration costs.
In conclusion, these core operator optimizations are a hard signal that domestic compute is shifting from “can run” to “can run fully,” indicating that hardware-software co-design and engineering scheduling capabilities have entered deep waters. However, it is not the endgame for “ecosystem parity,” nor is it proof of “absolute performance parity.” Viewing peak utilization rationally and continuing to flesh out the toolchain, system optimization, and production stability is the correct path for the domestic compute ecosystem to advance.
