Right, the cached K/V is position-dependent, so same docs in a new order means a full recompute. CacheBlend gets around it by caching each doc independently and recomputing only the few tokens that attend across doc boundaries. That's the 2-4x gain on multi-doc queries.
CacheBlend Reuses Document Caches by Recomputing Cross-Document Tokens
By
–