Pidoku
16vLLM: Foundations and the Request Path
On this page

vLLM: Foundations and the Request Path

Module 167 lessons~5h 10m

Lessons, in order

About this module

vLLM from the inside, read from the source at a pinned commit. What vLLM is and why it won, your first server, the map of the code base, then one request followed through the processes, the API server, AsyncLLM and the engine core loop.

Lessons#

#LessonTime
16.aWhat vLLM Is and Why It Exists30 min
16.bYour First Server, and How to Read Its Startup Log40 min
16.cThe Map: One Request, End to End45 min
16.dProcesses and Wires50 min
16.eThe Frontend: From JSON to Token IDs45 min
16.fAsyncLLM and the Way Back: Tokens to Text50 min
16.gThe Engine Core Loop50 min

Previous: Inference Engines · Next: vLLM: Scheduler and KV Cache

↑↓ navigate↵ openesc close

100% drag to pan · scroll or pinch to zoom · double-click to zoom in