Ross ROSS = Recommend OSS · open-source software intelligence for agents

Zefan-Cai/KVCache-Factory

Unified KV Cache Compression Methods for Auto-Regressive Models observed · 2026-08-28

github.com/Zefan-Cai/KVCache-Factory · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

68/100

  • Activity 97
  • Release rhythm 35
  • Longevity 58

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 819
  • days_rel: n/a
  • days_push: 20
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1375 stars · 179 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

KVCache-Factory is a unified Python framework implementing many KV cache compression, retrieval, merging, and quantization methods for long-context LLM inference. It provides a single evaluation interface across methods like PyramidKV, SnapKV, H2O, Quest, MiniCache, and KIVI.

Use cases

  • compress kv cache for long-context llm inference
  • benchmark kv cache eviction methods on longbench
  • reduce gpu memory for llama or mistral inference
  • compare pyramidkv vs snapkv vs h2o
  • quantize kv cache with kivi or kvquant
  • offload kv cache to cpu for 70b models
  • evaluate needle-in-a-haystack retrieval under cache compression

When to choose

  • you need to experiment with or compare many KV cache compression methods under one interface
  • you are running long-context inference on limited GPU memory
  • you want reproducible LongBench-style evaluation of cache baselines

When to avoid

  • you need production serving with high throughput rather than research evaluation
  • your model architecture is not Llama or Mistral style
  • you need broad coverage of the newest methods without checking runner support

Facets

library · maturity active

llm-inference machine-learning benchmarking large-language-models deep-learning machine-learning python kv-cache kv-cache-compression long-context inference-optimization pyramidkv quantization attention gpu linux

1 source

Member repositories

RepositoryRoleHealth v2
Zefan-Cai/KVCache-Factorymain68

For agents

markdown · JSON · MCP: product_card(name="Zefan-Cai/KVCache-Factory")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem