A
lyogavin/airllm★ 43,918 · Jupyter Notebook
Disk-backed layer streaming for LLMs that won't fit in GPU memory
Apache-2.0 · Commercial Friendlyv4.0.1
Side-by-side 2026 comparison in LLMs & Inference: lyogavin/airllm leads both total GitHub adoption (★ 43.9k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
Disk-backed layer streaming for LLMs that won't fit in GPU memory
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 | lyogavin/airllm | songquanpeng/one-api |
|---|---|---|
| Total GitHub Stars | ★ 43,918 | ★ 37,519 |
| 24h / 7d Velocity | +76 / +377 | +7 / +54 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 98/100 | B · 62/100 |
| Deployment Signals | Local AI · GPU · API | Docker · Self-Hosted · API |
| Primary Language | Jupyter Notebook | JavaScript |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated today | Updated 10mo ago |
| Latest Release | v4.0.1 | v0.6.10 |
| Best For | Local model evaluation and occasional generation on a single GPU when the required checkpoint exceeds VRAM and sufficient disk capacity and bandwidth are available | Teams with several OpenAI-compatible clients that need to share approved upstream providers without distributing provider credentials to each application |
AutoModel.from_pretrained accepts Hugging Face IDs and local paths; layer_shards_saving_path selects where converted shards go.profiling_mode reports timing; configurable prefetching is documented only for AirLLMLlama2.pip install airllm# 使用 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