DeepSeek releases optimised inference code for Huawei chips
DeepSeek says the engine already serves V4.1 Flash users, but a full hosted service still needs additional infrastructure.
confirmed 20 claims · 18 confirmed 6 sources · 3 primary · 2 regions Checked 2 Dec 2026, 11:57 UTC
TL;DR
DeepSeek released optimised DeepInfer code for Huawei Ascend, saying it already serves V4.1 Flash users. Some service components remain unpublished, and its revenue figures are not a matched Nvidia comparison.
- 01The code supports V4.1 Flash on Huawei Ascend 950 and Nvidia SM100.
- 02DeepSeek says the optimised engine already handles production traffic.
- 03A full hosted service still needs components outside the release.
- 04DeepSeek reports $17.60 revenue per accelerator-hour at off-peak prices, not profit.
DeepSeek announced optimised inference code for Huawei Technologies' Ascend chips on 1 December, opening more of the software behind its DeepSeek V4.1 Flash service. Developers deploying on Huawei hardware can inspect and reuse the engine, although building a complete online service still requires components outside the release.
The code extends DeepInfer, the framework DeepSeek first open-sourced in October, the South China Morning Post reported. DeepSeek says the optimised version already handles large volumes of user traffic. Its announcement described improvements to computation, communication between chips, memory management and task scheduling.
Inference is the work a trained model does when it processes a request and generates an answer. For a service with many users, the challenge is to keep responses quick while making efficient use of expensive accelerators.
The engine is public; the whole service is not
DeepSeek lists V4.1 Flash as the supported model and Huawei Ascend 950 accelerators with ARM-based hosts among the supported hardware. Nvidia SM100 graphics processors are also supported. The code is released under the Apache 2.0 licence.
The public package provides offline inference, allowing developers to run the model through supplied examples. Its requirements include Linux, Python 3.12 and Huawei's CANN 9.3 software for the Ascend path.
A complete service needs more. The repository excludes a system for storing and reusing a model's conversation state, separation of the vision, prompt-processing and response-generation stages, and traffic balancing across replicas. Some underlying engine functionality for that separation is already implemented, but the service-level assembly remains work for the deployer.
In its deployment guidance, DeepSeek says cache management and load balancing are closely tied to its internal infrastructure and are not yet fully open-sourced. That explains how code used in production can be public without the entire production system being available to download.
For an outside operator, the remaining work affects both performance and staffing. Reusing an inference engine can shorten development, but someone still has to connect storage, distribute requests and operate the service.
Revenue per card is not profit
DeepSeek's deployment Q&A puts revenue at $17.60 per accelerator-hour for its 950DT-PC16 UBL128 configuration, using off-peak prices. That is a company-reported revenue calculation, rather than a measurement of earnings after equipment, power and operating costs.
SCMP compared DeepSeek's claim with earlier TokenWatt research using Nvidia H200 chips, but noted that the configurations differed. Different hardware arrangements and serving conditions prevent that comparison from settling which platform is faster or cheaper for a customer's workload.
A per-card revenue figure can change with pricing and utilisation even when the underlying hardware stays the same.
The benchmark tools make testing possible
DeepSeek supplies benchmark instructions that separate prompt processing, known as prefill, from response generation, or decode. The examples expose workload settings and print the configuration with the results, giving developers a way to make their own tests reproducible.
The same documentation distinguishes repeatability from independent numerical correctness. A run that reproduces a saved result is useful evidence of consistency; it is not, by itself, a full check that the model's answers are correct. Performance testing needs a separate assessment of output quality.
For a pilot, keep the model checkpoint, input lengths, output lengths and software versions fixed. Then compare response delays and completed requests under the expected number of simultaneous users. Include the missing service components before using an offline result to forecast a live deployment.
Overseas chip access remains under scrutiny
The release comes as Nvidia tightens checks on overseas cloud customers. On 30 November, Nvidia said non-US neocloud providers would have to use Fleet Intelligence to verify chip identity and location for audits. It also committed to continuing checks at customer sites after shipment.
Breakline covered those requirements separately. DeepSeek's release offers developers more software for an alternative hardware platform, while the repository's Nvidia support shows that its inference work still spans both suppliers.
Our take: test the service around the code
Public production code gives engineering teams something more useful than a vendor ranking: a system they can inspect and test. Independent deployments that reproduce the latency and cost benefits after adding the missing infrastructure would make the case for switching stronger.
DeepSeek says it will continue releasing inference code and optimisations for future models. The next things to watch are reproducible third-party results and whether more cache-management and load-balancing code becomes public; the deployment guidance gives no release date for those remaining components.
How this story unfolded
Every source we used
| # | Source | Type | Date | Backs claim | |
|---|---|---|---|---|---|
| 01 | DeepInfer repository and release documentation · DeepSeek | Primary | #1, #4, #5, #6, #7, #8, #9, #10, #11 | Open ↗ | |
| 02 | DeepSeek open-sources code to run AI models on Huawei chips · South China Morning Post | Report | 2 Dec 2026 | #1, #2, #3, #4, #14, #20 | Open ↗ |
| 03 | DeepSeek V4.1 Flash inference deployment Q&A · DeepSeek | Official | #3, #10, #12, #13, #20 | Open ↗ | |
| 04 | DeepInfer offline examples and benchmark instructions · DeepSeek | Official | #8, #15, #16, #17 | Open ↗ | |
| 05 | NVIDIA expands national security and export compliance · NVIDIA | Primary | 30 Nov 2026 | #18, #19 | Open ↗ |
| 06 | Nvidia requires overseas neoclouds to verify AI chips · Breakline | Primary | 1 Dec 2026 | #18, #19 | Open ↗ |
Questions, answered
Q1What did DeepSeek release?
Optimised DeepInfer inference code for V4.1 Flash on Huawei Ascend, extending its October framework release.
Q2Is the complete production service public?
No. Cache management and load balancing remain not fully open-sourced; the public package provides offline inference.
Q3Does the revenue figure prove Huawei beats Nvidia?
No. It is a company revenue calculation at specified pricing; the cited H200 comparison used a different configuration.
Something wrong?
Tell us what's wrong and, if you can, where you saw the right version. Every report is read, and fixes go on the article and into our corrections log.