DeepSeek Open-Sources Its Ascend Inference Framework, but Production Serving Still Lacks Three Pieces
DeepInfer has opened up the core offline inference capabilities of DeepSeek-V4.1-Flash on Ascend 950, covering kernels, parallelism, scheduling, and stability features; however, the official documentation explicitly states that a complete production service still requires developers to supply three missing pieces themselves: KV cache, prefill-decode disaggregation, and cross-replica load balancing.

- Opens the core offline inference features needed for large-scale serving
- Supports Ascend 950 NPU and specified software/hardware environments
- Provides batch-invariant inference and deterministic sampling
- Reduces overhead through drafting, replay, and asynchronous scheduling
When a developer puts DeepSeek-V4.1-Flash on an Ascend 950 server, what they see first is not a ready-to-deliver online service, but an entry point from which they can build from source, download models, and run offline inference. DeepInfer has opened up the inference core used by DeepSeek's large-scale production service, supporting Ascend 950 and aarch64 hosts; but the official repository explicitly notes that KV cache, prefill-decode disaggregation, and cross-replica load balancing must still be supplied separately. In other words, the engine has been handed to developers, but the complete service still needs to be assembled by themselves.
The engine is provided, the service is not
DeepInfer is the high-performance inference framework used by DeepSeek's large-scale production service. What is open-sourced this time is offline inference, covering the main capabilities of the inference engine; the full online production service is not included.
"Offline inference" (processing inputs in batches and returning results) is not on the same layer as an online service facing users' real-time requests; it mainly addresses questions such as how the model runs and how computation is organized. After obtaining the code, developers can build an inference pipeline on their own hardware. The repository's original text defines this release directly: the open version provides core functionality to support large-scale serving.
The project's license is Apache-2.0 (permitting use, modification, and distribution of the code). The code license is relatively permissive, but a license addresses "whether it can be legally used and further developed," not "whether all production components are already present out of the box."
To get DeepInfer running, the Ascend environment must meet these three requirements
DeepInfer's requirements on the Ascend side are clear: Huawei Ascend 950 NPU, an aarch64 host, plus the CANN 9.3 software environment.
An NPU (neural processing unit) is the chip that executes model computations; aarch64 is the instruction set architecture used by the host. The Ascend chip handles accelerated computing, while the host architecture runs the programs and system components that host the framework. All three are indispensable: having only an Ascend 950 device is still not enough to get the environment running.
| Supported target | Explicit requirement | Deployment implication |
|---|---|---|
| Huawei Ascend 950 NPU | Paired with an aarch64 host | The host and Ascend hardware combination must meet the specified architecture |
| Ascend software stack | CANN 9.3 | Compatibility cannot be judged by chip model alone |
Ascend is not the only path; the project also supports NVIDIA SM100 GPUs (graphics processing units), but this path cannot substitute for the above Ascend environment requirements.
If a developer has other generations of Ascend devices, an x86 host, or an environment where CANN 9.3 has not yet been deployed, they cannot directly extrapolate the Ascend 950 support scope listed by the project as out-of-the-box compatibility.
The current official repository does not provide third-party retest results of vendor benchmarks, so only the support scope can be confirmed; actual throughput or latency on different chips cannot be inferred from it.

What inference capabilities are available for DeepSeek models?
DeepInfer currently explicitly supports DeepSeek-V4.1-Flash. What developers get is not just an entry point for running the model, but also batch-invariant inference, deterministic sampling, structured output, and parallelism and scheduling options for large-scale deployment.
First, the group most easily overlooked: whether results can be reproduced. Batch-invariant inference is about "whether the result changes when the same request is placed into different batch combinations." After enabling DEEPINFER_BATCH_INVARIANT=1 (the switch that makes batch results consistent), model results remain consistent, but it constrains computation results, not that request latency will not vary with the current batch load. Deterministic sampling tightens the reproduction conditions further: only when the input tokens, sampling parameters, and seq_seed (the random seed controlling the sampling sequence) are fixed, while MTP_VARLEN (variable-length multi-token prediction) is disabled, is the output consistent. In other words, whether the same input can be reproduced depends not only on the prompt, but also on whether the sampling parameters, seed, and runtime configuration are consistent.
Structured output allows generated results to be consumed directly by programs. DeepInfer supports constraining generated content with regular expressions, JSON Schema (rules specifying JSON fields and types), or EBNF (a rule form describing grammatical structure), making it suitable for feeding model output into downstream parsing pipelines rather than only receiving a piece of free text.
Parallelism and scheduling are prepared for large-scale deployment. Attention DP (splitting attention computation across multiple devices), balanced CP (evenly distributing context-parallel tasks), MoE EP (distributing mixture-of-experts routing across multiple devices), and EPLB (balancing the load of expert replicas) each handle different levels of distributed execution; on the scheduling side, asynchronous scheduling and a zero-overhead batch scheduler (a mechanism that reduces the extra overhead of batch scheduling) are provided, overlapping device execution with host-side scheduling.
These capabilities are described by the official DeepSeek repository. They prove that the framework provides the corresponding features and configuration entry points, but actual throughput, latency, and scaling efficiency still depend on the specific deployment environment and workload.

How does it wait one step less and compute one stretch more?
DeepInfer chains together "guess the next step, verify the guess, limited replay, parallel scheduling" to reduce time spent by devices waiting idle.
DSpark (a draft generation and confidence verification mechanism) first prepares draft tokens for subsequent output, then arranges verification based on confidence estimates, reducing the time the main decoding pipeline waits for guess results. There is an upper limit on how far it guesses: the maximum draft length is controlled by DEEPINFER_USE_NEXTN_DECODE, with a default value of 5, preparing at most 5 draft tokens at a time, without unbounded forward guessing.
On the prefill side, speedup comes from bounded replay via SWA (sliding-window attention context mechanism). The system replays only a restricted suffix rather than reprocessing the full context. V4.1 retains 140 tokens by default and requires that the suffix cover the sliding window and the maximum rollback length, reducing prefill computation.
Waiting time is moved away by the scheduler. Asynchronous scheduling is enabled by default, overlapping batch scheduling on the CPU with device execution: while the device is still running the previous batch, the CPU can prepare the next batch. The official documentation calls it a zero-overhead batch scheduler.
This Ascend 950DT update specifically touches four layers
The November 28, 2026 update advances the Ascend 950DT inference path from "can run" to "can control, can reproduce, can schedule." The changes are concentrated in four layers: operators, sampling, expert parallelism, and memory allocation.
The operator layer adds fused attention, Mega Gate, Mega-MHC, FP8 einsum output, and native DeepSelect. Fused attention places attention-related computation into a more compact execution path; Mega Gate and Mega-MHC are the gating and cache management mechanisms in this Ascend adaptation, handling information filtering and cache reuse respectively. FP8 einsum output lets matrix-multiplication-like operations output directly in FP8 format (low-precision floating-point data), reducing intermediate result format conversions; native DeepSelect brings candidate token selection into the Ascend-side implementation, eliminating the need to follow the generic path.
The sampling layer in this update adds batch-invariant inference and deterministic sampling; the mechanisms were explained earlier, so here just a note: they have entered this Ascend path.
For expert scheduling, EPLB (expert-parallel load balancer, responsible for distributing requests among model experts) adds UDMA (unified direct memory access, reducing CPU involvement in data movement).
At the memory allocation layer, the KV cache (which stores processed context for subsequent tokens to continue using) now uses hugepages (large-page memory, carrying the cache in larger memory pages), reducing management overhead from frequent small-page mappings and making the cache memory layout more suitable for the underlying runtime.
The runtime also captures target sampling and verification into the device graph and fuses fixed-page host I/O into the execution flow—sampling, verification, and host input/output enter the same device execution graph, reducing the coordination cost of switching back and forth between host and device during runtime.
Three pieces still missing before it can handle online traffic
What developers get is a runnable inference engine, not a complete service stack that can handle online traffic. The gaps listed officially are concentrated in three places: caching, stage separation, and replica scheduling; without any one of them, service-oriented deployment still requires continued engineering work.
The first is the KV cache (a cache storing computed attention keys and values) system. During inference, the keys and values produced by preceding tokens are reused; a production-oriented KV cache system manages this kind of state. It is not a single operator, but a foundational component that must be integrated into model execution, memory allocation, and the request lifecycle. This release does not include it, so developers cannot yet directly assemble the existing kernels and scheduling capabilities into a cache layer that can handle continuous requests.
The second is the disaggregated deployment of VE (verification stage), Prefill (prefill stage), and Decode (token-by-token decoding stage), i.e., VE/Prefill/Decode disaggregation (running verification, prefill, and decode separately). After separation, different stages can allocate resources according to their respective computational characteristics, and the organization of the online service can also change. The official documentation also states that most of the required engine functionality has already been implemented, but stage separation itself is not included in this release.
The third piece is scheduling after scaling replicas. Prefill and decode each use data-parallel replicas, meaning multiple sets of instances share the same type of requests; a production service also needs load balancing between prefill replicas and decode replicas (distributing requests across different instances). Without this layer of scheduling, even if multiple replicas can all execute, they cannot automatically distribute work according to real-time pressure, and a scaled-out service still requires the team to design its own distribution rules.
| Capability required for a complete production service | Status in this release | Direct impact |
|---|---|---|
| KV cache system | Not included | Cache state management still needs to be built separately |
| VE, Prefill, and Decode separation | Not included | Independent deployment and resource organization by stage still need to be filled in |
| Load balancing of prefill and decode replicas | Not included | Requests cannot be automatically distributed across data-parallel replicas |
Returning to the scenario where a developer puts a model on an Ascend server, the offline inference core is already usable, but a complete service still needs these three components filled in. What DeepInfer opens up is the core capability of production-grade inference, not a complete out-of-the-box production service. After filling them in on their own, can DeepInfer achieve the efficiency and stability of DeepSeek's internal production service under real business workloads?
The source is DeepSeek's official GitHub repository DeepInfer; this article is based on the repository README, hardware requirements, feature list, and the November 28, 2026 update. The benchmark configuration and the boundaries of the open-source version follow the official description and are not equivalent to the measured capability of a complete production service.
Glossary · Plain-language notes appearing in this article
The full text of in-depth pieces, research interpretations, and tool tutorials, as well as all podcasts, are in the members' area.