DeepSeek Open-Sources Production-Grade DeepInfer Inference Code for the Ascend Platform
On the evening of December 2, DeepSeek open-sourced the production-grade inference code for DeepInfer on Huawei's Ascend platform, covering optimizations for core operators, communications, memory management, inference workflows, and task scheduling. In online testing, with an average input length of 98,400 tokens, the median time to first token was 277 milliseconds, single-stream output speed reached 137.9 tokens per second, and the input cache hit rate reached 97.2%. Components required for a complete online service—including distributed KV Cache, orchestration for disaggregated prefill and decoding, and cross-replica load balancing—have not yet all been released.
Why read this
AI score 65
Drawing on online latency, output speed, and cache hit rates, the article illustrates the engineering path through which domestic computing power is moving from offline adaptation to validation in production environments.
Topics
Body · AI translation
DeepSeek Open-Sources Again: What Has It Achieved This Time? Science and Technology Daily, December 3, 2026, 13:26:51, Beijing
◎ Science and Technology Daily reporter Cui Shuang
On the evening of December 2, DeepSeek officially open-sourced the production-grade inference code for DeepInfer on Huawei’s Ascend platform.
DeepSeek disclosed that this open-source release systematically optimizes core operators, communications and memory management, inference workflows, task scheduling, and more. With these optimizations, DeepInfer has achieved world-leading low latency and cost efficiency on Huawei’s Ascend platform and has handled large-scale user traffic for DeepSeek V4.1 Flash in a production environment.
What does this open-source release mean? What key technological breakthroughs underpin it? And what impact will it have on China’s domestic computing power ecosystem? Science and Technology Daily interviewed relevant experts.
Image source: Visual China Group
Question 1: What does open-sourcing the inference code mean?
“The landmark significance of this open-source release is that domestic computing power is beginning to undergo the dual tests of real-world service quality and commercial viability in cutting-edge large-model inference,” Zhong Xinlong, director of the Artificial Intelligence Research Office at the Center for Future Industry Research of the China Center for Information Industry Development, told the reporter.
If a large model’s weights embody the capabilities it acquires through training, its inference code determines how computing power is used to turn those capabilities into actual services. The same large model may vary considerably in operating efficiency, service quality, and cost depending on the hardware platform and inference software supporting it.
“What has been released this time is the core inference code that has been validated in production. Components required for a complete online service—including a distributed key-value cache (KV Cache), orchestration separating prefill and decoding, and cross-replica load balancing—have not yet all been made public,” Zhong explained. Its value lies in allowing external teams to directly draw on the engineering experience that leading model companies have accumulated under real traffic conditions, rather than having to start from scratch.
“The benchmark for domestic computing power is shifting from ‘offline benchmark scores’ to token production capacity in real-world operations,” Zhong said. In the past, adapting domestic chips often demonstrated only that a model could run. When actually confronted with large-scale, highly concurrent business demand, response speed, throughput, and operational stability are the real yardsticks.
Online test data released by DeepSeek show that, with an average input of 98,400 tokens, the Ascend SuperPod achieved a median time to first token of 277 milliseconds and a single-stream output speed of 137.9 tokens per second.
Question 2: What key technological breakthroughs underpin this move?
Running large models efficiently on domestic computing platforms requires both reducing unnecessary computation and fully unlocking the hardware’s performance potential.
The first step is to reduce redundant computation. With the rapid development of applications such as long-text processing and agents, large models must repeatedly process vast amounts of historical information. By establishing a large-scale distributed cache system, DeepSeek can reuse previous computation results across machines, avoiding repeated consumption of computing resources. In these online operations, the input cache hit rate reached 97.2%, significantly improving the system’s actual processing capacity.
The second step is optimization tailored to the hardware characteristics of domestic chips. Because chips differ in hardware architecture, simply porting code makes it difficult to fully utilize their performance. Zhong explained that DeepSeek carried out specialized optimizations for computing methods, data access, inter-chip communications, and other areas based on the characteristics of Ascend chips.
The third step is to improve computing-resource utilization. “In conventional inference, accelerator cards may sit idle while waiting for the central processing unit (CPU) to schedule tasks. The new engine enables asynchronous batch scheduling by default, overlapping preparation for the next batch of tasks with computation currently underway on the device,” Zhong said. It is like a production line that prepares the raw materials needed for the next batch of products while processing the current batch, thereby reducing the time equipment spends idle while waiting.
Question 3: What impact is this expected to have on China’s domestic computing power ecosystem?
“Domestic chips do not have to wait until their single-card performance fully catches up with advanced foreign products before they can enter core operations and compete commercially,” Zhong said. Through coordinated software-hardware optimization and comprehensive cost control, domestic computing power can be deployed in more core business scenarios.
As artificial intelligence applications continue to expand, demand for computing power for large-model inference is steadily growing. Compared with training, model weights remain relatively fixed during inference, making targeted optimization for specific hardware easier. Zhong believes that if more online inference workloads can be migrated to domestic computing platforms, some of the high-end computing resources originally used for those workloads could be freed up for research and development of next-generation frontier models.
Meanwhile, the development of domestic large models and domestic chips is expected to become more closely interconnected. In the past, some domestic chips did not begin model adaptation until after their hardware design had been completed. Today, leading model companies can provide chipmakers with feedback on computing, storage, communications, and other issues encountered in real-world operations, offering more targeted directions for optimizing next-generation hardware designs.
This open-source release also provides engineering experience that other domestic chipmakers can draw upon. Zhong believes that sharing upper-layer software interfaces, compilation tools, and inference frameworks could reduce the cost of migrating models between different domestic chips and promote greater openness and collaboration across China’s domestic computing power software ecosystem.
“In the future, what customers purchase will increasingly be effective tokens that meet quality and latency requirements. Competition among computing service providers will also shift from how many card-hours they sell to how much it actually costs to produce one million effective tokens,” Zhong said.
Editor: Ma Yue (intern)
Reviewer: Zhang Shuang
AI Trends