#3333rd of 37 in Model serving

deepinfer

Offline inference engine for DeepSeek-V4.1-Flash on NVIDIA SM100 and Ascend 950

Stars
16.2k
License
Apache-2.0
Last commit
Oct 2026
Language
Python

Checked on GitHub.

Overview

DeepInfer is the inference framework DeepSeek uses for its production services, released here with offline inference only. It runs DeepSeek-V4.1-Flash with custom kernels, attention data parallelism, MoE expert parallelism with load balancing, draft-token decoding, and structured outputs. A complete serving stack still needs a KV cache system, prefill/decode disaggregation and load balancing, which are not included.

Who it is for: Engineers running DeepSeek-V4.1-Flash on SM100 or Ascend 950 hardware

Strengths

  • Batch-invariant inference and deterministic sampling with a fixed seq_seed (NVIDIA only)
  • Structured outputs constrained by regex, JSON schema or EBNF grammar
  • Supports both NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs
  • Asynchronous batch scheduling is on by default; benchmark sweep script is included

Weaknesses

  • Supports only one model: DeepSeek-V4.1-Flash
  • Offline inference only; no HTTP server or API in this release
  • KV cache, disaggregation and load balancing are not included
  • Needs Python 3.12, GCC 13+, CUDA 13 or CANN 9.2, and a source build

What it needs

  • GPU required
  • Needs CUDA 13, CANN 9.2, GCC >= 13, Python 3.12, Hugging Face model download
  • Models: DeepSeek-V4.1-Flash

Also in Model serving

See all 37
Also in Model serving
RankProjectScore
1LocalAISelf-hosted inference server with OpenAI-compatible API and pluggable backends49.8k starsMIT83 out of 100
2llama.cppC/C++ inference engine serving GGUF models over an OpenAI-compatible API131.9k starsMIT81 out of 100
3OllamaLocal model runner with CLI and REST API for open-weight LLMs184.1k starsMIT80 out of 100
#4vLLMInference engine for Hugging Face LLMs with PagedAttention and continuous batching94.6k starsApache-2.077 out of 100
#5strataRuns a 125B-parameter MoE model on one consumer GPU plus system RAM29.5k starsMIT77 out of 100