From layers to hardware

Where does the time go?

Model layers
Attention→FFN→…
Operators
Matmul→GELU→Matmul
Operator = one operation on tensors.

Operators & workflow

Model order gives dependencies. Chunks can overlap.

Memory-bound · compute waits for data.
0 / 17 ticks