D
deepseek-ai/DeepInfer★ 27,745 · 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 llama.cpp runtime that streams experts and attention to fit Millie models in less memory
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | deepseek-ai/DeepInfer | llmsforall/millie-runtime |
|---|---|---|
| Total GitHub Stars | ★ 27,745 | ★ 61 |
| 24h / 7d Velocity | +123 / +1.3k | +1 / +49 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 89/100 | A · 86/100 |
| Deployment Signals | GPU · Local AI | Self-Hosted · Local AI · CLI · GPU · API |
| Primary Language | Python | C++ |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 2d ago | Updated 2d ago |
| Latest Release | Rolling commits (main) | v0.2.0 |
| 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 | Running Millie 2 Q3 or Ternary locally on memory-constrained devices when you can test the target backend, storage, and context length and integrate a streaming chat client |
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.
stream: true, returns choices[0].delta.content fragments, and ends with data: [DONE].curl -N http://127.0.0.1:28297/v1/chat/completions \ -H 'Content-Type: application/json' \ -d '{"model":"millie-2-q3","messages":[{"role":"user","content":"Write a two-line poem about rain."}],"max_tokens":64,"stream":true}'
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy