Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
barbegal
· 8mo ago · 0 comments
Does the KV cache really grow to use more memory than the model weights? The reduction in overall RAM relies on the KV cache being a substantial proportion of the memory usage but with very large models I can't see how that holds true.
Comments
[–]
zozbot234
8mo ago
For long context, yes this is at least plausible. And the latest models are reaching context lengths of 1M tokens or perhaps more.