IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python module

max.pipelines.kv_cache.paged_kv_cache.kv_group_coordinator

Cache group coordinators: one per set of leaves written in lockstep.

Cache group coordinators​

FullKVGroupCoordinatorA group whose caches read their whole history.
KVGroupCoordinatorInterfaceFinds and claims the prefix-cache hit one leaf can serve.
SlidingWindowKVGroupCoordinatorA group that needs blocks_in_window consecutive blocks for a hit.