TutorialsOrdinary
Halving the KV Cache Doubles Capacity and Buys 1% of Speed
Summary
A reader found a bug in the script and asked whether an FP8 KV cache halves the long-context penalty. Computed: capacity is exactly 2x at every context, speed is 1% at 4k and 21% at 128k, and the crossover is where the cache read equals the weight read.
CategoryAI Tutorials & Practice
TierOrdinary
Published
Indexed by AIQB
SourceDEV Community
AIQB record IDintel-7ab8511133b9232d8d1c1875