Skip to content
inference.academy

glossary/compute/roofline

Roofline model

A chart with arithmetic intensity on the x axis and attainable performance on the y, bounded by a sloped line from memory bandwidth and a flat line from peak compute. Any workload sits under the lower of the two; where the lines meet is the ridge. It says in one picture why prefill and decode, running the same weights, hit different limits, and what a faster card would actually change for each.


312 TFLOPS and 1.5 TB/s

The A100's two ceilings for dense BF16, meeting at a ridge of 208 FLOP per byte.


See it happen


Related