Splitting prefill and decode across different chips
Prefill is compute-bound and decode is memory-bandwidth-bound. Running them on different silicon is one of the clearest wins of heterogeneous inference — here is how it works and where it breaks.
Two phases, two bottlenecks
Every LLM request has a prefill phase, where the model reads the whole prompt in parallel, and a decode phase, where it generates output one token at a time. Prefill is limited mainly by raw compute. Decode is limited mainly by how fast weights and the KV cache can be read from memory.
On one homogeneous cluster both phases compete for the same accelerators, so long prompts slow down everyone else's token stream. That is why time to first token and tokens per second often move in opposite directions under load.
Disaggregation: give each phase its own hardware
Disaggregated serving runs prefill and decode on separate pools and moves the KV cache between them. Once they are separate, nothing forces both pools to use the same chip. Prefill can go to high-compute GPUs; decode can go to hardware with high memory bandwidth or capacity, or to inference-specific accelerators built for token generation.
Where it breaks
The KV cache has to travel. If the network between pools is slow, or the two chips use incompatible cache formats, the transfer cost can erase the gain. Disaggregation works best inside one site with a fast fabric, and for prompts long enough that prefill is a meaningful share of the work.
Short chat turns with small models often gain little. Measure before you split.
- Long prompts (RAG, documents, code)
- Both pools in one site on a fast network
- Strict tokens-per-second targets under load
- Large models where decode dominates cost
- Short chat turns
- Small models that fit easily on one chip
- Pools in different regions
- Incompatible KV cache formats between chips
How QVolt approaches it
QServe treats prefill and decode as separately placeable stages within a site, using a tuned runtime per chip. We publish our test method and will publish measured results per model and per hardware pairing; we do not quote speed-ups we have not measured.