Why it matters
Prefill and decode have different bottlenecks. Optimize each phase separately.
Advertisement
The architecture
Prefill: parallel, compute-bound, uses SM.
Decode: serial, memory-bound, uses HBM bw.
Advertisement
How it works end to end
Prefill batched large.
Decode continuous batching.
Chunked prefill blends.