DeepSeek open-sourced the inference engine behind its own production AI service.
DeepInfer is the framework DeepSeek uses to serve V4.1 Flash and they're giving away production tricks such as
โก DSpark speculative decoding
๐ง confidence-scheduled verification
๐ SWA bounded replay
โ๏ธ asynchronous scheduling
๐งฉ MoE expert parallelism + load balancing
๐ฏ structured JSON / regex / grammar output
๐ฌ deterministic + batch-invariant inference
Plus DeepSeek's own stack of
FlashMLA + DeepGEMM + DeepEP + DeepSelect + custom TileLang kernels
DeepSeek says that future model inference code + new optimizations will land on this stack too.
This is basically a look inside the code DeepSeek uses to make its enormous models practical to host.
So now other inference harnesses can study the production implementation.
โ ๏ธ Right now DeepInfer supports only
โ no consumer NVIDIA GPUs
โ NVIDIA SM100
โ Huawei Ascend 950
So this isn't Local AI yet.
GH link in ALT