M
sgl-project/mini-sglang★ 5,706 · Python
Compact SGLang engine for studying and self-hosting GPU LLM inference
MIT · Commercial Friendly
Side-by-side 2026 comparison in LLMs & Inference: GeeeekExplorer/nano-vllm leads both total GitHub adoption (★ 16.7k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Compact SGLang engine for studying and self-hosting GPU LLM inference
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 | sgl-project/mini-sglang | GeeeekExplorer/nano-vllm |
|---|---|---|
| Total GitHub Stars | ★ 5,706 | ★ 16,703 |
| 24h / 7d Velocity | +2 / +47 | +16 / +95 |
| 7-Day Trend Curve | ||
| Engineering Health | B · 55/100 | B · 57/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · CLI · GPU · API | Local AI · GPU |
| Primary Language | Python | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 6mo ago | Updated 7mo ago |
| Latest Release | Rolling commits (main) | Rolling commits (main) |
| Best For | CUDA-equipped teams studying serving internals, testing scheduling and KV-cache changes, or prototyping a self-hosted API with Qwen or Llama models | Local GPU batch generation, inference-engine experiments, and Python applications that benefit from an inspectable implementation |
minisgl CLI exposes OpenAI-compatible serving and interactive --shell mode.--cache naive provides a comparison configuration.--tp selects tensor parallelism across GPUs, with FlashAttention and FlashInfer integrated as optimized kernels.# Create a virtual environment (Python 3.10+ recommended) uv venv --python=3.12 source .venv/bin/activate
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