Tangram's non-uniform KV cache is orthogonal to which importance scorer decides what to
evict. Every scorer returns the same [num_kv_heads, chunk_len] score, so the
compression level, the head grouping and the budget allocation stay unchanged when you swap one
for another. Each method below has its own page in the repository, carrying the commands to
reproduce what is shown here.
Scores post-RoPE keys by how far they point from the chunk's mean direction, so the least distinctive keys are evicted first. Reads no queries and loads no checkpoint.
Also supported by the engine and covered by the paper's evaluation. Their use-case pages
are not written yet; until then, see the benchmark scripts under
benchmarks/tangram/ in the repository.
r=1.0
reference drawn beside it.
The commands, the SCORER / LEVEL knobs and the cluster maps each
level needs are documented in the repository rather than duplicated here, so there is one copy
to keep current: