DeepSeek open-sources inference engine DeepInfer
2026-10-21 · GitHub
DeepSeek released DeepInfer on GitHub, the high-performance inference framework that powers its large-scale production services; this release is the offline-inference version with the core features needed for serving at scale.
According to the README, it integrates optimized kernels (FlashMLA, DeepGEMM, DeepEP, TileKernels and custom TileLang kernels), attention data parallelism and MoE expert parallelism with load balancing, asynchronous scheduling that overlaps CPU scheduling with device compute, and decoding acceleration using draft tokens with confidence-scheduled verification. Batch-invariant and deterministic sampling options keep outputs identical across batch compositions (NVIDIA only).
Setup needs Python 3.12 and an environment variable to pick nvidia or ascend; the default checkpoint DeepSeek-V4.1-Flash-1017 is pulled from Hugging Face and run with an example script. The README is candid that prefill/decode disaggregation and data-parallel load balancing, needed for a full service, are not included. It is Apache-2.0 licensed and credits vLLM, SGLang and TensorRT-LLM, noting it was originally built mainly on vLLM.
It is the first full look at DeepSeek's serving stack, useful for teams self-hosting its models, though benchmarks were run on 4 SM100 GPUs for prefill and 64 for decode.