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

NVIDIA/kvpress

LLM KV cache compression made easy observed · 2026-09-03

github.com/NVIDIA/kvpress · Python · Apache-2.0 (permissive) observed · 2026-09-03

Health v2 · maintenance only

86/100

  • Activity 100
  • Release rhythm 91
  • Longevity 47
How is this computed?

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

  • gap_med: 13.5
  • age_days: 665
  • days_rel: 62
  • days_push: 0
  • n_releases_24m: 27

Full methodology

Adoption not part of the score

1201 stars · 174 forks observed · 2026-09-03

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

kvpress is a Python library from NVIDIA that implements multiple KV cache compression methods and benchmarks for long-context LLM inference, built on Hugging Face transformers. It provides 'presses' that compress the key-value cache during prefilling to reduce memory usage, and simplifies developing new compression methods.

Use cases

  • compress kv cache for long-context llm inference
  • reduce gpu memory when serving llms with long prompts
  • benchmark kv cache compression methods
  • implement a custom kv cache compression method
  • run 1M token contexts on limited gpu memory
  • integrate kv cache compression into a transformers pipeline

When to choose

  • you deploy or fine-tune transformer LLMs with long contexts and hit KV cache memory limits
  • you research KV cache compression and want a benchmarking framework with existing methods
  • you already use Hugging Face transformers and PyTorch

When to avoid

  • you need KV cache compression for non-transformer or non-Hugging Face model runtimes
  • you want a production inference server rather than a compression library
  • your contexts are short enough that KV cache memory is not a bottleneck

Facets

library · maturity active

llm-inference machine-learning benchmarking large-language-models deep-learning machine-learning python cross-platform kv-cache kv-cache-compression long-context transformers pytorch huggingface memory-optimization gpu

1 source

Member repositories

RepositoryRoleHealth v2
NVIDIA/kvpressmain86

For agents

markdown · JSON · MCP: product_card(name="NVIDIA/kvpress")

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