DeepSeek Open-Sources DeepInfer for Huawei Ascend

The release provides production-level inference code for the Huawei AI stack while highlighting performance gaps compared to NVIDIA hardware.

DeepSeek has officially open-sourced DeepInfer, its production-level inference code optimized for the Huawei Ascend platform. The release provides a rare look at how high-end Chinese AI hardware performs under the pressure of large-scale user traffic, specifically utilizing DeepSeek V4.1 Flash. By making this code public, DeepSeek is offering a blueprint for running sophisticated models on a 128-card supernode architecture outside the dominant NVIDIA ecosystem.

Performance benchmarks in the production environment

Accompanying the release is a detailed comparison between Ascend and a leading competing product, highlighting the current performance gap in real-world scenarios. In the prefill stage, the Ascend platform achieved a full-load throughput of 26.03K per card, significantly trailing the 77.74K managed by its competitor. This disparity continues into the decode stage, where Ascend’s 7.409K throughput per card is less than half of the 17.84K recorded by the rival hardware. Latency also remains a hurdle; the P50 first-token latency for Ascend was measured at 277 milliseconds, compared to 205 milliseconds for the competition.

These technical differences translate directly to the bottom line. Based on off-peak pricing, the hourly income per card for the Ascend system stands at 117.9 yuan, while the competing product generates 318.1 yuan per hour. However, DeepSeek’s implementation shows high efficiency in data management, maintaining an average input cache hit rate of 97.2% and preserving the KV cache for over 72 hours after it becomes inactive.

The widening hardware gap

While the open-sourcing of DeepInfer marks a milestone for the Huawei-based AI stack, it also underscores the challenges facing domestic hardware. During an investor conference call last month, DeepSeek’s Liang Wenfeng noted that Huawei’s technology currently lags behind NVIDIA by approximately two years. This assessment aligns with external projections from Epoch AI, which estimates that by 2026, Huawei’s total AI computing power will represent less than 4% of NVIDIA’s capacity. For developers, DeepInfer represents a critical tool for maximizing the utility of available hardware as the industry navigates these performance constraints.