Easy control for Key-Value Constrained Generative LLM Inference(https://arxiv.org/abs/2402.06262)
-
Updated
Feb 13, 2024 - Python
Easy control for Key-Value Constrained Generative LLM Inference(https://arxiv.org/abs/2402.06262)
A prefix-cache advisor for LLM serving infrastructure that recommends KV-cache capacity and eviction policies from your request traces/logs.
A learned, cost-aware eviction policy for semantic LLM caches that replaces heuristic policies like LRU/FIFO with a lightweight offline-trained model, improving regeneration-token savings while maintaining safe LRU fallback.
Trace-driven research harness for KV-cache hierarchy policy evaluation in long-context LLM inference.
REAL: REtrieval-reAsoning and Logic-constructed Attention Behaviors for Long-Context KV Cache Compression
Event-driven simulator for prefix KV-cache eviction policies in LLM serving systems
Trace-driven simulator for learned KV Cache eviction on synthetic sparse block-level access traces
LAFC-Evict: counterfactual supervision dataset and benchmark for learned cache eviction
A small caching library implementing standard caching strategies, starting with LRU, in Python. Part of the multi-language mnemosyne-cache project. Built by hand to develop real, working fluency in caching mechanics rather than just theory.
Benchmark of KV-cache eviction policies on GPT-2-medium showing two clear regimes: sink-preserving heuristics dominate at tiny budgets, while attention-based eviction becomes near-lossless at moderate budgets. attention_384 matches full-cache quality with ~33% less cache.
Deterministic decay-and-eviction policy for bounded agent memory, and the paired-statistics harness that scores it against LRU, LFU, ARC, a branch-aware baseline and a Belady ceiling.
Engineering library for Finite Readout Acceleration (FRA): a quotient framework for deciding when a distinction is safe to stop computing. Companion to Lahtee 2026.
FreCoS: freshness- and cost-aware extension to GPTCache (BSc course project)
Experimental MSR eviction and semantic prefetch for vLLM KV-cache offloading
Real-time AI memory orchestrator for multi-model GPU serving. PERC: provably optimal KV cache eviction via fractional knapsack. 25-79% eviction cost reduction vs LRU.
Memory-aware LLM inference optimizer for KV cache compression, eviction, and scheduling.
Learning-augmented cache eviction research: decision-aligned eviction-value prediction, evaluated against classical and learned baselines. Companion code for a Knowledge-Based Systems manuscript (second-round revision).
To associate your repository with the cache-eviction topic, visit your repo's landing page and select "manage topics."