N
GeeeekExplorer/nano-vllm★ 16,703 · Python
A compact vLLM-style Python engine for offline GPU batch inference
MIT · Commercial Friendly
Side-by-side 2026 comparison in LLMs & Inference: songquanpeng/one-api leads in total GitHub adoption (★ 37.5k), while GeeeekExplorer/nano-vllm shows stronger 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
A compact vLLM-style Python engine for offline GPU batch inference
Self-hosted OpenAI-compatible gateway for LLM routing and API key management
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | GeeeekExplorer/nano-vllm | songquanpeng/one-api |
|---|---|---|
| Total GitHub Stars | ★ 16,703 | ★ 37,512 |
| 24h / 7d Velocity | +16 / +95 | +4 / +56 |
| 7-Day Trend Curve | ||
| Engineering Health | B · 57/100 | B · 62/100 |
| Deployment Signals | Local AI · GPU | Docker · Self-Hosted · API |
| Primary Language | Python | JavaScript |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 7mo ago | Updated 10mo ago |
| Latest Release | Rolling commits (main) | v0.6.10 |
| Best For | Local GPU batch generation, inference-engine experiments, and Python applications that benefit from an inspectable implementation | Teams with several OpenAI-compatible clients that need to share approved upstream providers without distributing provider credentials to each application |
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
# 使用 SQLite 的部署命令: docker run --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api # 使用 MySQL 的部署命令,在上面的基础上添加 `-e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi"`,请自行修改数据库连接参数,不清楚如何修改请参见下面环境变量一节。 # 例如: docker run --name one-api -d --restart always -p 3000:3000 -e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi" -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy