DeepInfer vs vLLM, SGLang & TensorRT-LLM

Heritage, when to choose which stack, feature checklist, and what OSS does not include. Prefill is not a separate product.

Heritage

From the official Acknowledgments: DeepInfer was originally built primarily on vLLM, with additional inspiration from SGLang and TensorRT-LLM. That is lineage — not a claim that every vLLM feature is present.

When to choose DeepInfer vs vLLM

OptionBest whenOffline V4.1-Flash path?Hardware gate
DeepInferYou want DeepSeek’s open engine for V4.1-Flash offline on listed acceleratorsYes (primary)SM100 / Ascend 950
vLLM / SGLangBroader model zoo, other GPUs, or you already standardize on that stackDepends on their supportTheir matrix
TensorRT-LLMNVIDIA-centric TRT pipelinesDifferent productNVIDIA / TRT
Official APIHosted inference; no GPU opsHostedN/A

Feature checklist (DeepInfer OSS)

CapabilityIn DeepInfer OSS?Source note
Offline DeepSeek-V4.1-FlashYesREADME supported model
Optimized kernels (FlashMLA, DeepGEMM, DeepEP, …)YesREADME feature details
Attention DP / balanced CP · MoE EP + EPLBYesREADME
DSpark + confidence-scheduled verificationYesEnv flags in README
SWA bounded replay · async scheduling · structured outputsYesREADME
Batch-invariant / deterministic sampling (NVIDIA)YesREADME
Full KV cache systemNoListed as required, not included
Complete VE/Prefill/Decode disagg servingNoEngine parts exist; service glue not released
DP load balancing for P/D replicasNoListed as required, not included

What OSS does NOT include

Prefill ≠ separate product. Prefill and Decode are two phases of the same DeepInfer engine. Charts that show 4× SM100 (prefill) vs 64× SM100 (decode) are topology for benchmarks — not two installs. See Prefill vs Decode.

Capability comparison (guide synthesis)

Community write-ups (e.g. WeChat capability roundups) often compare stacks along these axes. Treat as a guide checklist, not a vendor scorecard — always verify against live READMEs.

AxisDeepInfer OSSvLLMSGLang
Primary focusDeepSeek V4.1-Flash offline engineBroad model zoo / general servingFast serving + structured workflows
HeritageBuilt primarily on vLLM; inspired by SGLang & TRT-LLMOriginal projectIndependent stack
Listed HW (DeepInfer README)SM100 + Ascend 950Wide NVIDIA (+ others via backends)Wide NVIDIA focus
Offline kernels / EP-DPYes (FlashMLA-family, EP/DP/CP)Yes (own kernels)Yes
Full KV + PD service + DP LBNot in OSSServing features vary by versionServing features vary
Official Docker (DeepInfer)None — community Dockerfile = example onlyProject images commonProject images common

Official Prefill / Decode charts

From DeepInfer doc/images/ (Apache-2.0). Measured on 4× SM100 (prefill) and 64× SM100 (decode) — same engine, two phases.

Prefill Pareto: throughput vs latency
Prefill Pareto — source: DeepInfer doc/images/prefill_pareto.png
Decode Pareto: throughput vs per-user speed
Decode Pareto — source: DeepInfer doc/images/decode_pareto.png