Skip to content
inference.academy

glossary/compute/memory-bound

Memory-bound

also bandwidth-bound

Limited by how fast bytes can be read, not by how fast they can be operated on. The compute units idle waiting for memory. Decode is the canonical case: each step reads gigabytes of weights to do a handful of operations per byte. The fixes are all about bytes: fewer of them through quantization, more useful work per read through batching or speculative decoding, or a card with more bandwidth.


below 208

FLOP per byte on the A100; decode at batch 1 sits at about 1.


See it happen


Related