Skip to content
inference.academy

glossary/compute/compute-bound

Compute-bound

Limited by arithmetic throughput; the memory system keeps up and the tensor cores are the bottleneck. Prefill of a long prompt is compute-bound, which is why its time grows linearly with prompt length and why a faster card, or a lower precision with more FLOPS, shortens time to first token. Batched decode reaches this regime only at very large batches, and then only if the cache for those batches fits.


above 208

FLOP per byte on the A100; a 4K prompt's prefill sits at about 4,000.


See it happen


Related