Module 1 · What the server does with your GPU · Lesson 3
Serving your adapter
A LoRA adapter can be merged into the base weights or served beside them with per-request selection; either way it needs a pinned base revision, the right chat template and a registry entry, because the two classic failures load cleanly and answer wrongly.
By the end of this lesson you can
- Merge a LoRA adapter into its base with PEFT, export it, and explain when merging is the wrong choice
- Serve one or many adapters on one base with vLLM or SGLang, select one per request, and state the memory and latency cost of multi-LoRA serving
- Convert an adapter to GGUF and run it on a CPU beside the base with llama.cpp
- Version model artefacts with a pinned base revision, an adapter revision, a chat-template hash, a model card and a served-name policy
- Diagnose the two classic failures, a wrong chat template or tokeniser and an adapter trained on a different base revision
