#387 · Primary category: Education & Research
tiny-vllm
Build your own high performance LLM inference engine in C++ and CUDA - a smaller version of vLLM
Project last updated:08/23/26
GitHub Stars
1.1K
Forks
84
Contributors
4
License
Apache-2.0
Why we included this project
tiny-vllm is two things at once: a working LLM inference server written in C++ and CUDA, and a course that walks you through building it. The author derives the math and the implementation from scratch, covering the full forward pass, KV cache, continuous batching, and PagedAttention in hand-written CUDA kernels, so by the end you have a runnable engine and a real sense of how it works. That makes it useful in two directions. Developers who have used llama.cpp or vLLM without ever looking inside can trace exactly what happens between loading a Safetensors model and generating tokens. Lecturers and self-learners get a ready-made lesson sequence, from bfloat16 and RMSNorm to online softmax and paged KV cache, that works as a university teaching resource or a self-paced project.
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
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI