Skip to content
inference.academy

glossary/serving/generation-stall

Generation stall

also prefill-decode interference, decode stall

A pause in every decoding stream in a batch while the scheduler runs another request's prefill as its own iteration. The stall lasts the length of that prefill, seconds for a long prompt, and lands on the batch as one inter-token gap. It is the usual cause of a bad tail in inter-token latency when the median is fine, and it is what chunked prefill exists to remove.


1.84 s

For a 16K-token prompt prefilled alone on Llama 3 70B across 4 A100s, against a 25 ms decode step for the streams that wait through it.


See it happen


Related