What is prefill?
Processing the prompt in parallel before generation starts. Compute-bound; determines time to first token.
Where it comes up
Lessons that use this term, most mentions first.
- Disaggregated prefill and decode: why and when to split · 13 min · Pro
- Capstone: design a production inference platform · 35 min · Pro
- Prefill and time to first token: tuning the part before the first word · 13 min · Pro
- Scheduling: token budgets, chunked prefill, preemption and priorities · 16 min · free
- Caching: prefix caching, semantic caching and KV offload · 14 min · Pro
- Lab: disaggregated prefill and decode on two GPUs · 120 min · Pro
- Long-context serving: KV memory, prefill cost, context parallelism and cheaper attention · 17 min · Pro
- Prefill, decode and the roofline: predicting inference speed · 18 min · free