# DeepSeek Open-Sources Inference Code for Huawei Ascend Chips, Publishing Performance Data That Shows Both Progress and Gaps

> Source: <https://epyhia.com/deepseek-open-sources-inference-code-for-huawei-ascend-chips>
> Published: 2026-12-02 18:16:54+00:00

**Key takeaway:** DeepSeek's Ascend 950DT sparse attention kernels reach 425 TFlops in prefill (98.5% of peak) and 372 TFlops in decoding (86.1%), and DeepEP-Ascend V1.1 replaces Huawei's HCCL with PyTorch ProcessGroup for bootstrap, topology discovery and memory channels.

# DeepSeek Open-Sources Inference Code for Huawei Ascend Chips, Publishing Performance Data That Shows Both Progress and Gaps

Chinese AI startup DeepSeek has released production-grade inference code that lets developers run its V4.1 Flash model on Huawei's Ascend 950DT processors, providing a detailed public look at how domestic Chinese hardware performs in a live, large-scale serving environment. The release, announced Tuesday, includes the DeepInfer framework under an Apache 2.0 licence, along with optimised kernels for attention, communication, memory management and task scheduling [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny)[\[2\]](https://www.huaweicentral.com/deepseek-allowing-developers-to-run-its-ai-models-on-huawei-ascend-chips).

DeepSeek says the system is already handling "large volumes of user traffic in production" and achieves "world-leading levels of inference latency and cost efficiency" on the Ascend platform [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny). The company also published per-card revenue estimates based on off-peak pricing: 118 yuan (US$17.70) per accelerator card per hour [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny). For comparison, it cited earlier research by AI startup TokenWatt running the same V4.1 Flash model on Nvidia H200 chips without the new inference code, which showed revenue between US$1.80 and US$8.84 per card per hour — though DeepSeek noted the configurations were different [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny).

## What the code actually contains

The release covers three main components. DeepInfer is the inference engine that executes the model; it was separately open-sourced in October [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny). FlashMLA provides the attention kernels used in both prefill and decoding stages. DeepEP-Ascend handles expert-parallel communication for mixture-of-experts routing. FlashMLA and DeepEP-Ascend received Ascend-specific updates in late November [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep).

FlashMLA's November 26 update adds a fused norm+RoPE+attention+RoPE+cast kernel for the Ascend 950 and support for 128 query heads in prefill and decoding [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep). DeepSeek reports the optimised sparse attention kernels now reach up to 425 TFlops in prefill (98.5% of the chip's theoretical peak) and up to 372 TFlops in decoding (86.1%), up from 410 and 360 TFlops at the September 30 release [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep). The new fused kernel reaches up to 406 TFlops in prefill and 350 TFlops in decoding on the Ascend 950DT [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep).

DeepEP-Ascend V1.1, merged November 27, removes the dependency on Huawei's HCCL runtime for bootstrap, topology discovery and memory channels, switching to PyTorch's ProcessGroup instead [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep). It also adds error recovery, new collectives and expert load-balancing functions [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep). DeepSeek says the library achieves expert-parallel dispatch bandwidth of 373–375 GB/s at 8 ranks and 313–320 GB/s at 128 ranks on Ascend 950DT chips [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep).

## Performance claims and the necessary caveats

DeepSeek's own README lists comparative figures for Nvidia hardware: up to 1,350 TFlops for sparse prefill and 1,024 TFlops for sparse decoding on the B200 [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep). A separate comparison in the release data shows an unnamed "SM100" Nvidia chip achieving 77.74K tokens per second in prefill versus 26.03K on Ascend, and 17.84K versus 7.409K tokens per second in decoding [\[2\]](https://www.huaweicentral.com/deepseek-allowing-developers-to-run-its-ai-models-on-huawei-ascend-chips). The specific Nvidia model behind "SM100" is not identified in the released data [\[2\]](https://www.huaweicentral.com/deepseek-allowing-developers-to-run-its-ai-models-on-huawei-ascend-chips).

DeepSeek explicitly notes that the DeepEP-Ascend bandwidth results were collected on "a proof-of-concept Huawei driver and firmware package with extra manual configuration that is not a public release," and that larger expert-parallel sizes and the combine step are still being optimised [\[3\]](https://mlq.ai/news/deepseek-pushes-new-huawei-ascend-950-kernels-into-flashmla-and-deepep). The revenue comparison with TokenWatt's H200 numbers also comes with the company's own disclaimer that the configurations differed [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny).

## Why it matters

The release is a concrete technical step in China's effort to reduce dependence on restricted Nvidia hardware. U.S. export controls have cut Chinese firms off from top-tier GPUs, pushing them toward software optimisation on domestic alternatives like Huawei's Ascend family [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny). By publishing the full inference stack — not just benchmarks but the code running in production — DeepSeek lets other teams verify, adapt and extend the work on their own Ascend clusters.

DeepSeek said it plans to publish updates for future models and hopes to accelerate AI deployment on domestic platforms [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny). The company is also hiring researchers in multimodal understanding, model training, robot control and embodied AI [\[1\]](https://www.scmp.com/tech/tech-trends/article/3376558/deepseek-open-sources-code-run-ai-models-huawei-chips-amid-us-nvidia-scrutiny).

What remains unknown is how the Ascend 950DT's performance and cost profile will hold up at scale across diverse workloads, and whether the proof-of-concept firmware used for the communication benchmarks will become a stable public release. For now, the data is out — and it is specific enough to be tested.
