Memory-bound token latency
When generating one token at a time, every weight has to be read from memory and barely any arithmetic is done with it. The floor on time per token is therefore set by bandwidth, not by FLOPs — which is the whole argument for batching.
- Bytes of model weights read per token.
- Bytes of KV cache read per token.
- Achievable memory bandwidth, in bytes per second.