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: huggingface/transformers leads in total GitHub adoption (★ 169.6k), while deepseek-ai/DeepInfer shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
An accelerator-tuned offline inference engine for DeepSeek-V4.1-Flash
A PyTorch model-definition SDK for unified inference and training across modalities
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | deepseek-ai/DeepInfer | huggingface/transformers |
|---|---|---|
| Total GitHub Stars | ★ 27,715 | ★ 169,580 |
| 24h / 7d Velocity | +93 / +1.3k | +41 / +337 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 89/100 | A+ · 100/100 |
| Deployment Signals | GPU · Local AI | CLI · GPU · API |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 2d ago | Updated today |
| Latest Release | Rolling commits (main) | v5.25.1 |
| 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 | Teams that need a shared PyTorch model implementation for checkpoint evaluation, fine-tuning, and integration with a separate serving engine |
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.
pipeline wraps input processing, execution, and output processing; LLM and VLM generation supports decoding controls and streaming.transformers serve provides OpenAI SDK-compatible HTTP and supports continuous batching; vLLM and SGLang can reuse supported model definitions as a backend.uv pip install "transformers[torch]"
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy