In KV caching, why can't we also cache Q?
- User
In KV caching, why can't we also cache Q?
- Assistant
In transformer-based autoregressive decoding, the keys (K) and values (V) are cached because they correspond to information from previously processed tokens that doesn't change. These cached K and V entries allow us to avoid re-computing the representations of earlier tokens when generating new ones.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.