DeepSeek 以 Apache 2.0 协议开源了其生产服务所用的推理引擎 DeepInfer,8 小时内获得 6.3K+ stars。该版本只支持 DeepSeek-V4.1-Flash,运行在 NVIDIA SM100 GPU 或华为昇腾 950 芯片上,仅覆盖离线推理,不含 KV cache、prefill 与 decode 分离以及副本间负载均衡等完整服务栈组件。
DeepSeek just open-sourced DeepInfer, the inference engine behind its production services, under the Apache 2.0 license.
and it got 6.3K+ stars in 8 hours
The release runs only DeepSeek-V4.1-Flash, on NVIDIA SM100 GPUs or Huawei Ascend 950 chips, and covers offline inference rather than a complete serving stack.
It omits the parts that turn an engine into a service: a KV cache system, prefill and decode disaggregation, and load balancing across replicas.
What ships is the speed layer, including DSpark, which drafts up to 5 tokens ahead and uses confidence estimates to schedule their verification.
Bounded replay trims prefill by recomputing only a 140-token suffix sized to cover the sliding attention window.
A companion library, deepseek-recipe, will turn Chat Completions, Responses and Messages requests into DeepSeek V4 and V4.1 prompts that match the official API’s behaviour.
来源:Rohan Paul · x.com