FinanceAI by Sergio Jardon
  • Home
  • About
Sign in Subscribe

GPU Memory

A collection of 1 post
The KV Cache
GPU Memory

The KV Cache

When an LLM generates text, each new token must "attend" to every previous token. That requires the Key (K) and Value (V) vectors of all earlier tokens at every layer. Recomputing them for each new token would be wasteful, so inference engines store them: the KV cache. It&
12 Oct 2026 2 min read
Page 1 of 1
FinanceAI by Sergio Jardon © 2026
  • Sign up
Powered by Ghost