The timeline shows queueing, prompt prefill, first-token sampling, decode iterations and completion. Prefill supplies first-token logits, and streaming can overlap subsequent decode.
Prefill’s last prompt position supplies the first sampled token. Decode then uses generated inputs, and output can stream during subsequent steps. The phase widths are schematic. The author made this explanatory diagram. The playback is an example. Animation time is not measured runtime. Open full-size SVG