News for hackers. Stuff that matters.
Re:Can I Buy Your KV Cache? by xg15 on Friday June 12, 2026 @07:18PM (#48510510)
Isn't it also, most fundamentally, dependent on the model weights?

My understanding was that what the KV cache stores is nothing else than the "activations" of the W_k and W_v matrices of an attention module for a given input sequence.

So I don't quite understand how this is supposed to work:

> Let a publisher precompute a document's KV cache, and let every other agent buy the right to load it and skip prefill.

Should a publisher precompute the cache for every popular model that is out there?

Re:Can I Buy Your KV Cache? by xg15 on Saturday June 13, 2026 @06:04AM (#48515524)
...not to mention, which KV cache? Every attention module has its own, and how many attention modules there are, what inputs they get, how many internal features and attention heads they have, etc, all depends on the architecture of the specific model.