#27 · Primary category: Inference & Local Deploy
nano-vllm
Nano vLLM
Project last updated:04/26/26
GitHub Stars
15.2K
Forks
2.5K
Contributors
15
License
MIT
Why we included this project
Most LLM serving engines are too large to read as a way of learning how they work. Nano-vLLM rebuilds the core of vLLM in roughly 1,200 lines of readable Python, so you can follow how prefix caching, tensor parallelism, torch compilation, and CUDA graphs fit together without digging through a huge production codebase. The API mirrors vLLM's LLM and SamplingParams interface, so an existing offline batch-inference script can be adapted with minimal changes. Its own benchmarks on a single consumer GPU show throughput on par with the full vLLM engine, which makes it more than a teaching project. Developers can study it as a reference before tuning their own serving stack, and teams can use it as a compact, auditable inference path for batch workloads.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.