KV caching

Concept

A technique in LLM inference where previously computed keys and values for attention are stored and reused, significantly reducing computational cost for subsequent tokens.

Mentioned in 1 video