KV Cache Explained: Why Long Context Costs More VRAM Than Your Weights
A model that fits can still die on one long prompt. Here is the arithmetic behind the second allocation that grows with context, and how to shrink it.
· 11 minTopic
Coverage tagged kv cache vram.
A model that fits can still die on one long prompt. Here is the arithmetic behind the second allocation that grows with context, and how to shrink it.
· 11 min