Axisdream
Written and Published byAxisdream·

DeepSeek Published the Stack Behind Its Own Model

Serving pipeline with kernel layers exposed beside a single supported model checkpoint

Key Takeaways

  • •DeepInfer holds 25,783 stars under Apache-2.0 and serves exactly one model. Publishing the serving stack is a different act from publishing weights.
  • •Examines why the scope matters more than the star count, analyzing the structural bottlenecks and trade-offs in real-world deployments.
  • •Provides engineering benchmarks and verification criteria for the kernel stack is entirely in-house.

DeepSeek released DeepInfer on 16 October 2026 under Apache-2.0. The repository holds 25,783 stars and 3,162 forks. It is roughly three weeks old at the time of writing, which matters for any claim about adoption.

Nor is it a general inference server. The release is offline inference and supports exactly one model: DeepSeek-V4.1-Flash, with the default checkpoint deepseek-ai/DeepSeek-V4.1-Flash-1017.

The narrowness is the point. What DeepSeek published is its production stack for its own frontier model, as-is.

Why the scope matters more than the star count

Weights let others run your model. A serving stack lets others run it at your cost structure, and cost structure is where the margin sits.

Publishing both is a different kind of disclosure. An inference framework encodes the decisions a lab made about where time was spent: which kernels were rewritten, which attention pattern was chosen, how speculation was scheduled, which parallelism strategy was adopted. Those decisions are the accumulated result of tuning against real traffic, and they are rarely shared.

A general framework has to work acceptably across many models. A single-model stack can be tuned to that model's shape, and the difference shows in what is present and what is absent.

The kernel stack is entirely in-house

DeepInfer builds on FlashMLA, DeepGEMM, DeepEP, TileKernels, DeepSelect and TileLang. Parallelism combines Attention DP with balanced CP, plus mixture-of-experts expert parallelism using EPLB for load balancing.

Speculative decoding runs through a mechanism called DSpark with confidence-scheduled verification, controlled by DEEPINFER_ENABLE_MTP_VARLEN and DEEPINFER_USE_NEXTN_DECODE, which defaults to five. Sliding-window attention uses bounded replay through DEEPINFER_YOCO_PREFILL_TRUNCATION_MODE=compact with KEEP_TOKENS set to 140.

Batch-invariant inference and deterministic sampling are first-class options under DEEPINFER_BATCH_INVARIANT, available on NVIDIA hardware. Structured outputs cover regex, JSON Schema and EBNF grammars.

Deterministic sampling as a serving feature is unusual, because reproducibility is usually treated as a training concern. A serving path that produces identical output for identical input at a fixed batch configuration is a prerequisite for debugging a production failure, and it is not the default in most stacks.

The dual-vendor line

DeepInfer runs on NVIDIA SM100 and on Huawei Ascend 950. The requirements are Linux, GCC 13 or later, Python 3.12, CUDA 13 and CANN 9.2.

Supporting a second accelerator vendor in a lab's own serving framework is the commercially significant fact. Every Chinese lab faces the same question about whether frontier inference can survive a tightened export regime, and shipping a CANN backend alongside the CUDA one is the operational form of an answer.

The model that stack serves carries 552 billion backbone parameters with 8 billion active per token at prefill and 16 billion at decode, per the model card.

What the README does not claim

The repository states plainly what a complete inference service needs and does not include: the key-value cache system, a fully implemented vision encoder and prefill-decode disaggregation, and load balancing across data-parallel replicas for prefill and decode.

It also credits the origin, describing the work as originally built primarily on vLLM with inspiration from SGLang and TensorRT-LLM. That attribution is unusually direct for a vendor releasing its own stack.

A figure of more than 25,000 decode tokens per second appears in press coverage and not in the README text retrieved. No retrieved material pairs a throughput number with a test condition, so the figure cannot be checked.

The launch date is also ambiguous. The repository was created on 16 October and press coverage dates the announcement to 20 October.

What the release establishes

A major lab published the serving stack behind a frontier model rather than only the weights. That stack supports two accelerator vendors, one of which sits inside an export-controlled supply chain. The release is explicit about what is missing.

The throughput figures remain unverified, and this is not a general-purpose framework. It is a production stack for one model, and using it for anything else would require work the README does not describe.

Related Dispatches