Value Cache
What is Value Cache?
In one sentence: The value cache is the part of the KV cache that stores the values for all previous tokens.
What does Value Cache look like?
After attention focuses on the word "dragon," the model reads that word's stored value from the value cache.
Why does Value Cache matter?
It is the other half of the KV cache's memory use.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/value-cache/">Value Cache, explained simply</a> (The AI Math Dictionary)