LLM inference optimization
Current focus
Token-by-token decoding is typically bound by memory rather than arithmetic: every step moves the model’s weights and cached state through the memory hierarchy, and that traffic largely sets the speed and cost of each token.
- Memory-bound decoding
- Key-value cache movement
- Batching and scheduling
- Kernels tuned to the hardware