transformer inference
3 statements across 2 episodes · 0 bullish · 1 bearish · 2 people on the record · first statement Sep 19, 2024 by Umar Jamil · across every show →
Everything said about transformer inference, oldest first
Sep 19, 2024 neutral
Jamil: KV Cache Prefilling Scales Quadratically While Token Generation Is Linear
“Token generation, which means generating one token using whatever is in the kvcash, is linear with respect to whatever is in the side of the kvcash. Prefilling the kvcash is quadratic, and mostly because it's quadratic, it's very expensive, so we are talking a…”
Aug 18, 2025
Sohmers: Matrix-vector multiplication in transformer inference is fundamentally uncacheable
“So the second level of this is that matrix vector multiplication is basically uncacheable. When you're doing transformer inference, matrix A is the weights of your model. And so if you're talking about model weights that are tens of gigabytes, hundreds of giga…”