kv-cache

Tag

Cards List
#kv-cache

SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Coding

arXiv cs.LG · 19h ago Cached

SPECTRA is a training-free codec that re-encodes LLM KV caches via spectral transform to concentrate bit budgets on important channels, achieving near-lossless 4x compression and usable compression up to 12x, surpassing the 2-bit quantization cliff.

0 favorites 0 likes
#kv-cache

CommitKV: Lifecycle-Aware KV Cache Compression via Commit Transitions for Multi-Turn Agents

arXiv cs.LG · 19h ago Cached

CommitKV proposes a lifecycle-aware KV cache compression method for multi-turn ReAct agents, distinguishing dormant tokens from completed ones via commit transitions to reduce memory use and speed up inference.

0 favorites 0 likes
#kv-cache

Watch out for cache read costs

Lobsters Hottest · yesterday Cached

A blog post explaining that cache read costs dominate LLM inference spending for agentic workloads, with cumulative costs growing quadratically as context is re-read each turn, and advice to reduce tool call count to cut costs.

0 favorites 0 likes
#kv-cache

1M context with 17 GB model in 24 GB VRAM: "for the first time I was able to load a context of almost 1M tokens and extract 7 needles from various parts of the text"

Reddit r/LocalLLaMA · yesterday

A user reports successfully running a 1M-token context on a single RTX 3090 using a Qwen-based 35B A3B model (17GB VRAM) with KVarN 4-bit KV-cache quantization in a BeeLlama.cpp fork, extracting 7 needles from different parts of the text.

0 favorites 0 likes
#kv-cache

CoinRAG: Contextualized Information Nugget KV Cache Reuse for Long-Context RAG

arXiv cs.CL · yesterday Cached

CoinRAG is a new method for long-context RAG that reuses fine-grained contextualized information nugget KV caches instead of full chunks, improving efficiency and answering quality. It achieves a new Pareto frontier with 5.3% relative F1 improvement on LongBench multi-hop QA tasks.

0 favorites 0 likes
#kv-cache

Autonomy-of-Heads: Data-Free Sparse Attention from Frozen Query-Key Geometry

arXiv cs.CL · yesterday Cached

AoH is a data-free method that identifies retrieval and streaming heads from the spectral geometry of query-key projections, enabling sparse attention without runtime attention scores. At 50% sparsity it retains 96.5% of full-attention performance while reducing prefill/decode latency and KV-cache memory.

0 favorites 0 likes
#kv-cache

@YRSM_Simon: Found a bug in vLLM local deployment of DeepSeek V4 Flash. Same session responds instantly, but switching to another session and back triggers a full re-prefill, and the KV cache fails. Stayed up all night, 100% reproducible: A first...

X AI KOLs Following · yesterday Cached

Discovered a KV cache invalidation bug in DeepSeek V4 Flash with vLLM local deployment: after switching sessions, prefix cache hit rate drops to 0, causing re-prefill, with latency exploding from ~1 second to ~100 seconds. Root cause suspected to be vLLM calling _maybe_evict_cached_block() when reusing free queue blocks, which removes the cached index.

0 favorites 0 likes
#kv-cache

@rohanpaul_ai: New Microsoft Paper on GitHub Copilot’s production traces show why coding agents should not be served like chat request…

X AI KOLs Following · 2d ago Cached

A Microsoft paper analyzing 13.5M GitHub Copilot sessions shows that coding-agent workloads are dominated by autonomous LLM call chains, with KV-cache and container idle time strongly dependent on turn/session structure, arguing for workflow-level scheduling instead of request-level policies.

0 favorites 0 likes
#kv-cache

@shikhargupta02: I’ve been learning about latent attention (by deepseek). Instead of storing a full K and a V vector per token, it rathe…

X AI KOLs Timeline · 3d ago Cached

The author shares insights from training a small model with DeepSeek's latent attention, observing layer-dependent latent usage and a test-time trick that reduces KV cache 4x without loss change.

0 favorites 0 likes
#kv-cache

OasisKV: Scaling In-Decode KV Cache Beyond HBM with Lookahead Sparse Prefetching

Hugging Face Daily Papers · 3d ago Cached

OasisKV is a memory-centric LLM inference system that decouples full KV-cache storage from HBM by prefetching sparse, important KV blocks using lookahead tokens from speculative decoding, achieving up to 2.1x throughput gains over dense vLLM with minimal accuracy loss.

0 favorites 0 likes
#kv-cache

LFM2.5-2.6B model+KV cache quantization report

Reddit r/LocalLLaMA · 4d ago

A detailed report on quantizing LiquidAI's LFM2.5-2.6B model with various GGUF and KV cache quantizations, showing it fits on an 8GB Raspberry Pi with minimal degradation, but warning against Q4_K_M.

0 favorites 0 likes
#kv-cache

QEvict: Recoverable Quantized KV Eviction for Attention-Drift-Robust Long-Context Decoding

arXiv cs.LG · 4d ago Cached

This paper introduces QEvict, a KV-cache management scheme for LLMs that uses recoverable quantized eviction to handle attention drift during long-context decoding, improving memory efficiency while preserving important historical context.

0 favorites 0 likes
#kv-cache

Echo Dot 2 can run 28M LLM at decent speed

Reddit r/LocalLLaMA · 4d ago

A developer shows how to run a 28M parameter LLM locally on an Amazon Echo Dot 2 using llama.cpp, achieving around 4 tokens/s generation and ~2.3s latency with prompt caching, enabling simple offline voice commands.

0 favorites 0 likes
#kv-cache

2 x 5070ti Qwen 27B full config / stats

Reddit r/LocalLLaMA · 5d ago

Technical post sharing performance stats for running Qwen 27B on 2x RTX 5070 Ti GPUs with vLLM cu129-nightly, achieving up to 94-87 tps decode and 170k GPU KV cache.

0 favorites 0 likes
#kv-cache

Training-Free Hashing-Based Attention via Binary Principal Components

arXiv cs.LG · 5d ago Cached

Introduces BinaryPC, a training-free hashing-based sparse attention method for long-context LLMs that uses binary principal components to construct hash codes, preserving accuracy while improving decoding throughput by 3.56x over FlashAttention.

0 favorites 0 likes
#kv-cache

Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transforms

arXiv cs.LG · 5d ago Cached

This paper proposes NOVA-KV, a transform-coding approach to KV cache quantization that uses attention-preserving transforms to allocate bits where queries actually attend, improving long-context retrieval accuracy at low bit rates compared to prior methods.

0 favorites 0 likes
#kv-cache

@seclink: There are a few obvious interview questions: 1. Can Transformer do large-model inference? It can, so why not use it, and why must we use sglang and vllm? - Essentially because Transformer's performance is too poor; the bottlenecks are memory (KV cache) and slow token-by-token decoding...

X AI KOLs Timeline · 6d ago Cached

Discusses the bottlenecks of using Transformer for large-scale inference and reviews the evolution of inference optimization technologies for large models from 2023 to 2026, including KV cache quantization, speculative decoding, architectural innovation, and hardware-software co-design.

0 favorites 0 likes
#kv-cache

AnchorKV: Anchor-Residual KV Cache Compression

arXiv cs.LG · 6d ago Cached

AnchorKV is a new KV cache compression scheme that shrinks the cache by 20x without discarding any tokens, using anchor-residual representations to preserve 99% of full-cache accuracy at the 70B scale. The paper is a preprint under review.

0 favorites 0 likes
#kv-cache

Output-Aware Rotation for INT2 KV-Cache Quantization

arXiv cs.LG · 6d ago Cached

Proposes OptR, an output-aware rotation method for INT2 KV-cache quantization that minimizes post-output attention error, improving QuaRot and OSCAR across models and benchmarks.

0 favorites 0 likes
#kv-cache

TaskPress: Query-Agnostic KV Cache Compression via Task-Guided Pruning

arXiv cs.AI · 6d ago Cached

TaskPress introduces a query-agnostic KV cache compression framework that uses a task guide as a meta-query and quantization scale factors to prune irrelevant tokens, enabling reusable caches across diverse queries with negligible overhead.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback