QLoRA on Colab, then serve it locally
Notebook· 14.04· 3–4 h (about 15 min of it on a Colab GPU)· Lesson 119 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Explain LoRA and QLoRA: what is trained, what is frozen, and why it fits a free GPU.
- Estimate the GPU memory a QLoRA run needs, and know why a CPU-only laptop trains on Colab instead.
- Run a QLoRA fine-tune of Qwen3 on the ticket router with Unsloth on a free Colab T4, and export a GGUF.
- Compare the tuned model with the 14.03 baselines and few-shot models with a paired test, on the same test set.
- Serve the tuned model with Ollama on your laptop and measure latency per ticket on the CPU.
- Choose a serving path (Ollama, vLLM, hosted LoRA, Smithtune) for a team, with its costs and limits.
Before you start
Lesson 14.03 (dataset, baselines, paired comparisons) and 14.01 (Ollama).
