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: ollama/ollama leads both total GitHub adoption (★ 189.1k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Compact SGLang engine for studying and self-hosting GPU LLM inference
Go-based LLM serving layer for local model management and inference
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | sgl-project/mini-sglang | ollama/ollama |
|---|---|---|
| Total GitHub Stars | ★ 5,706 | ★ 189,085 |
| 24h / 7d Velocity | +2 / +47 | +80 / +741 |
| 7-Day Trend Curve | ||
| Engineering Health | B · 55/100 | A+ · 98/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · CLI · GPU · API | Docker · Self-Hosted · Local AI · CLI · GPU · API |
| Primary Language | Python | Go |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 6mo ago | Updated today |
| Latest Release | Rolling commits (main) | v0.40.21 |
| 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 | Developers and small teams that want a local inference endpoint for model evaluation, coding assistants, or an internal RAG application without assembling their own model-management layer |
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
/api/chat on localhost:11434, with stream: false for a complete response.ollama run gemma4 starts a CLI chat; model import and Modelfile configuration support custom setups.mlxrunner/ tree.curl -fsSL https://ollama.com/install.sh | sh
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy