Arithmetic intensity

Inference · Formula · Appears in 4 lessons

I=FLOPsbytes movedI = \frac{\text{FLOPs}}{\text{bytes moved}}

How much arithmetic you do per byte you move. Below the hardware's compute-to- bandwidth ratio you are memory-bound and the tensor cores sit idle, which is the normal state of single-stream token generation.

Symbols

II
Intensity, in FLOPs per byte.
FLOPsFLOPs
Floating-point operations performed.
bytesmovedbytes moved
Traffic between memory and the compute units.
Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark