DeepSeek Open-Sources DeepInfer, Its Production Inference Framework Running on Ascend 950

AI寒武纪 · wechat · 2026-12-01

DeepSeek has open-sourced DeepInfer (github.com/deepseek-ai/DeepInfer), the same production inference framework serving massive DeepSeek-V4.1-Flash traffic. Released Huawei Ascend 950 DT-PC16 data shows: at 98K average input tokens, P50 time-to-first-token of 277ms, 138 tokens/s single-stream output, and 118 RMB/hour per card in revenue at off-peak pricing.

Key features: optimized runtime and sampler, Attention DP / balanced CP / MoE EP+EPLB parallelism, DSpark and confidence-based scheduling verification, bounded SWA replay, zero-overhead fully async batch scheduling, native batch-invariant inference, deterministic sampling, and structured output. The Ascend 950 stack was rebuilt with new fused attention/MegaGate/Mega-MHC/FP8 einsum operators, UDMA-based EPLB routing, huge-page KVCache allocation, and host-memory/device-graph overlap optimizations.

Caveat: this release covers the offline engine only; full production serving additionally requires an external KV cache system, system-level VE/Prefill/Decode disaggregation, and global load balancing across data-parallel replicas.

Related event: DeepSeek Open-Sources DeepInfer Production Inference Stack on Huawei Ascend(11 posts)→

Original post →

More from Infra

Infra channel →