AI
DeepSeek opens production inference engine, giving Huawei equal footing with Nvidia
The Chinese AI lab has released DeepInfer, its internal serving software, with built-in support for both Nvidia and Huawei chips—signaling a major shift in its infrastructure strategy.
1/2
The New Stack
DeepSeek has unveiled DeepInfer, the inference engine powering its production API, and made it available as open-source software. The move democratizes access to the optimizations that have helped the company achieve efficient model serving at scale.
What DeepInfer offers#
The Apache 2.0-licensed framework enables developers to run DeepSeek's models on their own infrastructure with production-grade performance. Rather than simply distributing model weights for anyone to serve with third-party tools like vLLM, DeepInfer packages DeepSeek's own approach to managing inference—handling request routing, distributing computation across accelerators, and generating responses efficiently.
The engine bundles several custom components DeepSeek previously open-sourced separately:
- FlashMLA, DeepGEMM, and DeepEP — optimized computing kernels and communication libraries
- Speculative decoding — a technique that generates multiple tokens simultaneously for faster output
- Asynchronous scheduling — reduces processor idle time waiting for new work
- Structured outputs — lets developers enforce specific response formats
A companion library, deepseek-recipe, converts API requests into model inputs and processes outputs, available in both Rust and Python. Together, these tools let developers replicate DeepSeek's API behavior in self-hosted deployments.
The announcement arrived alongside an updated version of DeepSeek's V4.1 Flash model and new Search and Fetch APIs for web search capabilities.
Why the shift from 2025's hesitation#
Just months ago, DeepSeek had documented why releasing its full inference engine seemed impractical. The software had evolved from an early fork of vLLM into a tightly customized system dependent on DeepSeek's internal infrastructure—particularly cluster management tools—making it unsuitable for external deployment without major reworking.
The company also worried its small research team couldn't maintain another major open-source project. This time around, DeepSeek appears to have found a middle path: it has released the core inference components and optimization kernels while leaving developers to build supporting infrastructure themselves. The public version currently supports offline inference and batch processing, but excludes KV cache management, cross-machine partitioning, and replica load balancing—pieces operators would need to assemble separately for a full service.

