D
deepseek-ai/DeepInfer★ 27,715 · Python
An accelerator-tuned offline inference engine for DeepSeek-V4.1-Flash
Apache-2.0 · Commercial Friendly
Side-by-side 2026 comparison in LLMs & Inference: deepseek-ai/DeepInfer leads both total GitHub adoption (★ 27.7k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
An accelerator-tuned offline inference engine for DeepSeek-V4.1-Flash
A compact vLLM-style Python engine for offline GPU batch inference
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | deepseek-ai/DeepInfer | GeeeekExplorer/nano-vllm |
|---|---|---|
| Total GitHub Stars | ★ 27,715 | ★ 16,703 |
| 24h / 7d Velocity | +93 / +1.3k | +16 / +95 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 89/100 | B · 57/100 |
| Deployment Signals | GPU · Local AI | Local AI · GPU |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 2d ago | Updated 7mo ago |
| Latest Release | Rolling commits (main) | Rolling commits (main) |
| Best For | Teams with supported SM100 or Ascend 950 hardware that need to benchmark or integrate DeepSeek-V4.1-Flash offline, with explicit control over parallel execution and reproducibility | Local GPU batch generation, inference-engine experiments, and Python applications that benefit from an inspectable implementation |
DEEPINFER_ENABLE_MTP_VARLEN=1 enables confidence-scheduled verification; DEEPINFER_USE_NEXTN_DECODE caps draft length, defaulting to 5.### Offline inference The default checkpoint, [`deepseek-ai/DeepSeek-V4.1-Flash-1017`](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017), is downloaded into the Hugging Face cache on the first run; set `DEEPINFER_HF_MODEL_DIR=/path/to/DeepSeek-V4.1-Flash-1017` to run from a local copy instead.
nanovllm.LLM loads a local model directory and generates from a prompt list with SamplingParams.flash-attn is a declared dependency alongside PyTorch >=2.4.0, Triton >=3.0.0, and Transformers >=4.51.0.example.py explicitly sets eager execution and tensor parallel size 1; CUDA Graphs and PyTorch compilation are also supported.pip install git+https://github.com/GeeeekExplorer/nano-vllm.git
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy