AI Chip Inference Performance: Why Operator Optimization Determines Real Hardware Utilization
This article examines why the real benchmark for domestic AI accelerators is not whether they can run large model inference, but how close operator implementations can get to peak hardware capability. It explains the three-layer inference stack, why memory-bound decoding makes operators the deciding factor, how to read MFU and bandwidth utilization correctly, and which software stack optimizations matter most. Readers will also find practical guidance on building evaluation baselines and tracking TTFT, TPOT, throughput, and P99 before migrating to new hardware or software stacks.
1. Background: What the Debate Is Actually About
A recurring topic in recent industry discussion is a domestic AI accelerator that, after a new general-purpose version reached commercial deployment, was said to run inference workloads for a new release of a leading large model, with core operators reportedly optimized close to the hardware’s theoretical limits.
The discussion has not centered on a yes-or-no question about whether the chip can run the model at all. It has focused on a more engineering-oriented question: can domestic chips approach their peak hardware capability under real model workloads?
That distinction matters. “It runs” is a question of functional correctness and belongs to the compatibility category. “Approaching the hardware limit” is a question of efficiency and belongs to the engineering maturity category. The first determines usability; the second determines cost per token, and the second is the dividing line that decides whether a class of compute can carry large-scale online serving.
The information boundary should be stated clearly first. Available public material consists mostly of discussion summaries and first-hand accounts from practitioners, with no complete official technical announcement. The summaries mention articles discussing the optimization of several core operators to the hardware limit on a certain generation of domestic accelerator card. People involved in related work have also said that a previous-generation version reached roughly 95% compute utilization in the prefill stage, and that their team raised it to 97%~98% by tuning a low-level heterogeneous computing software stack, with the relevant implementation open-sourced. As for the claim of “full adaptation on the new chip,” it should not be treated as a confirmed product fact until complete official technical documentation is available.
None of this prevents an analysis of the technical value, because the substantive part lies precisely in two terms: “core operators” and “software optimization.”
2. Why Operators Decide the Outcome for Domestic Compute
The execution chain of large model inference can be roughly split into three layers: the framework layer (scheduling, batching, KV cache management), the operator layer (attention, normalization, matrix multiplication, activation, quantization and dequantization), and the hardware layer (compute units, on-chip cache, memory bandwidth, interconnect links).
The framework layer decides how the pieces are arranged, the hardware layer sets the physical ceiling, and the operator layer decides how much of that ceiling can actually be consumed. In practice, the same accelerator showing several-fold differences in end-to-end throughput across different operator implementations is common. The reasons are not hard to understand:
- Memory access dominates compute. During decoding, every generated token requires reading all weights and the KV cache again, so arithmetic intensity is extremely low and performance is determined almost entirely by memory bandwidth. If the operator implementation skips vectorized memory access and cache reuse, bandwidth utilization drops sharply.
- Fusion determines how often intermediate tensors land in memory. Without fusing attention with normalization, or activation with matrix multiplication, intermediate results are written back to memory repeatedly, which spends the bandwidth budget on data movement.
- Tail effects couple with the parallel partitioning strategy. Once sequence length, batch size, or tensor parallelism degree changes, hard-coded tiling parameters inside an operator cannot adapt to the workload, producing a clear collapse in utilization.
Schematically, the skeleton of a high-performance decode attention operator looks roughly like this (it only expresses the optimization approach and is not tied to any specific platform API):
# Pseudocode: a general approach combining fusion, tiling, and vectorized memory accessdef fused_decode_attention(Q, K_cache, V_cache, block_table, tile):out = zeros_like(Q)for kv_block in block_table: # traverse the KV cache block by block to improve localityk = load(K_cache, kv_block, tile) # contiguous block loads, coalesced accessv = load(V_cache, kv_block, tile)s = matmul(Q, k.T) * scalem_new = max(m_prev, rowmax(s)) # online softmax, avoids materializing everythingp = exp(s - m_new) * (l_prev / exp(m_new - m_prev))out = out * (l_prev / l_new) + matmul(p, v)m_prev, l_prev = m_new, l_newreturn out / l_prev
Not a single line here is proprietary to a particular vendor. It reflects the industry’s general practice: block-wise traversal, online softmax, incremental state updates, and contiguous memory access. Whether domestic chips can deliver depends on whether implementations like this have been carefully refined, not on the advertised peak number.
3. How to Read Performance Metrics: MFU, Bandwidth Utilization, and Real Cost
MFU (Model FLOPs Utilization), which keeps coming up in the discussion, needs to be understood correctly. It is defined as the ratio of measured effective floating-point throughput to the hardware’s theoretical peak floating-point throughput:
MFU = (6 * N_params * tokens_per_sec) / peak_FLOPS= achieved_FLOPS / peak_FLOPS
Going from 95% to 97%~98% adds only two or three percentage points in absolute terms, but the meaning is entirely different. It means the “last mile” loss of the hardware has been compressed to somewhere near the measurement error range, and the room for further gains from software optimization is already very limited. In engineering terms this is a maturity signal: compilation optimization, operator libraries, memory management, and scheduling policies have formed a closed loop.
At the same time, readers should be reminded that high MFU does not equal a good end-to-end experience. Evaluating an inference service requires looking at at least four dimensions together:
- Throughput (tokens/s): determines unit cost;
- Time to first token (TTFT): determined by the prefill stage and strongly correlated with compute utilization;
- Time per output token (TPOT): determined by the decode stage and strongly correlated with memory bandwidth and batching strategy;
- Service elasticity and stability: P99 behavior under long-tail requests and bursty traffic.
Prefill is compute-intensive, so MFU can naturally be made high. Decode is memory-intensive, so MFU is usually significantly lower, and bandwidth utilization is the metric to watch there. Mixing metrics from the two stages when talking about “95% utilization” is a common misreading.
4. Software Stack Coordination: The Underrated Half of the Work
Operators approaching the hardware limit are never the result of a single heroic effort; they come from coordination across the whole software stack. A reusable optimization checklist roughly includes:
- Graph-level optimization: operator fusion, constant folding, common subexpression elimination, reducing kernel launch counts and scheduling overhead;
- Memory hierarchy management: explicit control of on-chip cache and multi-level buffering, tiered placement of weights and KV cache, avoiding repeated data movement;
- Quantization and low precision: using lower bit widths where accuracy permits, which directly relieves the memory bottleneck;
- Coordination between parallel strategy and operators: the partitioning used by tensor parallelism and pipeline parallelism must match the operator’s tiling strategy, otherwise communication eats the compute gains;
- Communication and compute overlap: splitting collective communication into chunks and interleaving it with computation to hide interconnect latency;
- Batching and cache reuse: continuous batching and prefix cache hits reduce repeated prefill;
- Observability loop: collecting operator timing, bandwidth, and cache hit rates through a unified logging service and monitoring and alerting system, forming a measure-locate-optimize-regress cycle.
In engineering practice, the last item is the most worth investing in. Without fine-grained profiling, no conclusion about “optimizing to the hardware limit” can be verified.
5. Practical Impact for Users and Enterprises
In the short term, progress like this will not show up as a new button in a user interface. Its impact is indirect but far-reaching:
- Cost structure changes: only when cost per token drops can product forms with longer context, higher call frequency, and more complex reasoning chains be supported;
- Supply stability improves: diversified compute supply means supply chain risk is spread out and service continuity is better protected;
- More room for choice: enterprises are no longer locked into a single ecosystem when selecting infrastructure and can match options to their own workload characteristics;
- Engineering capability spills over: operator and compilation optimization skills can be reused for other workloads such as recommendation, search, and multimodal.
For enterprise developers, the pragmatic approach is to build your own baseline evaluation set, fix the model version, input length distribution, and concurrency model, and keep TTFT, TPOT, throughput, and P99 in the same report for continuous tracking. When introducing new hardware or a new software stack, run a small-scale A/B test first, then decide whether to migrate.
6. Conclusion: Stay Cautious About Claims, Focus on Verifiable Engineering Capability
Back to the original question. If the reports about domestic AI chips supporting inference for a leading large model are accurate, the significance is not the completion of one adaptation, but the validation that software optimization can push domestic compute utilization close to the hardware limit. Until complete official technical material is available, we should stay cautious about the adaptation status of specific models; but what can be confirmed is that operator-level optimization, a mature compilation stack, and observability are the necessary path for any compute ecosystem to scale. For developers, rather than chasing news, it is better to build up evaluation baselines, profiling capability, and tuning methodology first, because those capabilities hold on any hardware.
