#KV cache

111 stories · 12 in 7 days · 27 in 30 days
Oct 15
Oct 14
How-toBuildersSelected02:09
FlexBudget standardises KV cache eviction comparisons in PyTorch

KV cache eviction methods are usually benchmarked with their own custom kernels, so performance claims conflate the rule with the implementation. FlexBudget gives practitioners a controlled harness for fair, reproducible comparisons. Developers running long-context inference in PyTorch can adopt it directly, and the talk also suits anyone evaluating which eviction strategy fits their memory budget.

Official accountPyTorch@PyTorchSource
Oct 13
How-toBuildersSelected02:55
Tri Dao on fixing SSM inference with better caching

The takeaway is that SSMs can pick up the same deployment optimizations as Transformers without changing the architecture, which weakens the usual cost argument for switching model families. Practitioners evaluating hybrid or SSM-based serving stacks should watch for IO-aware caching implementations and benchmark them against paged KV setups. Dao's framing also connects techniques across FlashAttention, Mamba and paged KV as one design principle.

Official accountTri Dao (FlashAttention)@tri_daoSource
Oct 12
PapersBuildersSelected22:20
Paper Tests Multi-Agent Systems With Persistent Memory on Long-Context Work

The finding suggests viral multi-agent memory demos may not transfer to standard evaluation setups, since benchmarks are structured in ways that neutralise recall benefits. Engineers deciding whether to add persistent memory to agent pipelines should weigh the near-zero measured accuracy gain against its efficiency advantages. The paper's benchmark-design critique is a useful checklist when validating similar architectures.

elvis@omarsar0Source
Oct 11
How-toBuildersSelected02:58
Prefill vs Decode: Why LLM Inference Bottlenecks Differ by Phase

Knowing which phase a given optimisation targets — faster GPUs for prefill, smaller weights or faster memory for decode — turns technique lists like quantisation and speculative decoding into a coherent decision framework. Practitioners running local inference or serving stacks can use pp128 and tg64 benchmarks separately instead of a single speed number. The guide is hosted on llama.app and centres on llama.cpp tooling.

shao__meng@shao__mengSource
Oct 9
PapersBuildersMulti-sourceSelected08:54
ByteDance Seed finds phase sensitivity behind DeepSeek long-context drift

Benchmark averages can mask periodic failure modes in long-context retrieval, so a model that looks solid on mean scores may still drop retrievals depending on where content sits in the compression window. Engineers running DeepSeek or similar KV-compressed models on RAG or agent pipelines should test retrieval across phase positions rather than relying on aggregate accuracy. The arXiv paper (2609.36322) offers the evaluation methodology to replicate.

Event
IT之家Source
ProductsBuildersMulti-sourceSelected03:04
NVIDIA Dynamo targets KV-cache reuse for agentic serving

KV-cache reuse, not model quality, may become the bottleneck for agent products at scale, since idle context still occupies memory while agents wait on tool calls. Engineers building multi-step agent backends can use Dynamo's router-plus-cache-manager design as a reference for cutting serving cost without adding GPUs. It competes in the same layer as vLLM and SGLang-style serving stacks.

Event
Official accountPyTorch@PyTorchSource
Oct 8
ProductsBuildersMulti-sourceSelected83°17:35
vLLM v0.31.0 release

This release significantly improves inference efficiency through advanced attention mechanisms and memory management, enabling faster processing of large models. Developers working with LLMs in production environments will benefit from the optimized serving capabilities and experimental features like engine snapshots, particularly for models requiring high-throughput processing.

Event
Official accountvLLM@vllm_projectSource
ModelsBuildersSelected09:59
vLLM Highlights DeepSeek-V4.1-Flash SWA Optimization

SWA bounded replay shows how KV-cache reuse for agent loops can be engineered around sliding-window attention, a pattern many teams will copy as agent traffic grows. Engineers running agent stacks on vLLM can apply it to reduce TTFT under high concurrency. The writeup also signals that DeepSeek-V4.1-Flash inference performance is being actively tuned by the community rather than relying on the lab alone.

Official accountvLLM@vllm_projectSource
ModelsUS vs ChinaMulti-sourceSelected08:13
DeepSeek cuts agent memory cost with new Flash model

Sparse agent memory changes the economics of long-context agent runs, since cache footprint rather than raw context length becomes the cost driver. Developers running multi-step agent pipelines can weigh Flash's cheaper, lighter memory against the extra per-token compute it needs. At US$0.27 versus US$0.67, it also undercuts DeepSeek's own V4-Pro on price while scoring higher on the AA Index.

Event
DeepLearning.AI@DeepLearningAISource
PapersBuildersSelected02:15
Nanbeige 4.2 Looped Transformer Breakdown Compares Weight Reuse

The three reuse tricks all called 'looped transformers' differ in cache behaviour and cost, and picking the wrong one can burn a training week or budget a 3B decode like a 3B file. Builders planning efficient architectures can use this to decide whether extra loops justify their compute and whether a second cache is needed. Nanbeige 4.2 offers a concrete open reference point against standard Transformers.

Official accountAlphaSignal@AlphaSignalAISource
Oct 6
PapersBuildersSelected13:42
Fixed-Point Training Speeds Up Looped Language Models

The key insight is that near-fixed-point recurrent states make much of the compute spent on full backpropagation and full KV caches redundant, cutting costs across training, decoding and RL at once. Practitioners building efficient inference stacks or RL pipelines for recurrent models can apply KV sharing and distilled prefill directly. Compared with Huginn's fixed prior, the learned prior plus orthogonal injection improves perplexity at every scale tested up to 1.6B parameters.

arXiv cs.LG@Benhao Huang et al. (7)Source
Oct 5
Oct 1
Sep 30
Sep 29
Sep 24
PapersBuildersOfficialSelected10:01
Xiaomi Details HySparse2 Sparse Attention for MiMo-V3

Two-level KV sharing targets the long-context prefill bottleneck that agentic workloads hit, cutting compute without a full attention redesign. Engineers building long-context inference stacks can benchmark the approach against hybrid SWA baselines on similar MoE setups. The MiMo-V3 linkage also signals how Xiaomi positions its model stack against domestic rivals like DeepSeek and Qwen.

Event
Primary sourcepandaily@[email protected] (Pandaily)Source
Sep 23
ModelsBuildersMulti-sourceSelected23:06
Xiaomi MiMo-V3 to Adopt New Architecture with HySparse 2

The architecture targets agentic workloads, where each turn appends long observations and prefill cost, cache size and retrieval accuracy sit on the critical path simultaneously. Switching from block-level to token-level selection and folding SWA into a forced recent window gives local and global tokens one shared KV cache. Developers building long-context agents should watch MiMo-V3's release, especially against open-source alternatives like DeepSeek and Qwen in the same weight class.

Event
IT之家Source
Sep 22
Sep 18
Sep 11
Sep 10
Sep 9
Aug 18
Aug 12
Aug 10
Aug 7
Aug 5
Jul 30