#KV cache

111 stories · 12 in 7 days · 27 in 30 days
Stories, products and papers tagged "KV cache", newest first.
Nov 24
PapersBuildersSelected13:41
PackLoop speeds speculative decoding for looped LMs under concurrency

The non-obvious insight is that speculative decoding's losses under load come from schedule layout, not speculation itself, which reframes how serving stacks should batch looped-model work. Inference engineers running concurrent decoding — especially with long contexts — gain a drop-in schedule that preserves exact outputs while beating per-point tuned baselines. The closed-form admission rule, adapted from inventory theory, is a practical knob that needs calibration only once per engine.

arXiv cs.LG@Runguo Li, Dezhen LuSource
ProductsBuildersSelected01:51
vLLM shows NVMe KV cache offloading matching DRAM within 1%

The counterintuitive finding is that sequential NVMe reads are fast enough to serve KV cache directly, so the DRAM tier may be an unnecessary cost layer in inference stacks. Platform and inference engineers sizing serving clusters for agent or long-context workloads should benchmark direct-to-NVMe offloading before provisioning host memory. The AMD MI355X hardware angle also gives non-NVIDIA GPU clusters a reference point for storage-tiered serving.

Official accountvLLM@vllm_projectSource
How-toBuildersSelected01:48
vLLM offloads KV cache to NVMe on AMD MI355X GPUs

Skipping the DRAM tier changes the cost math for long-context inference: SSD bandwidth is now sufficient to serve KV cache directly on some stacks. Teams running vLLM on AMD MI355X hardware, or budgeting cache memory for high-session-count serving, can benchmark an NVMe-only tier against DRAM using the published blog setup. The result is also a rare public AMD-side datapoint against NVIDIA-centric serving benchmarks.

Official accountvLLM@vllm_projectSource
Nov 23
Nov 22
Chinese contentGergely Orosz 指出关于编程 Agent KV Cache 的讨论存在过时内容

Gergely Orosz 说网上讲编程 Agent 成本的文章信息过时了,他正在和 Theo 合作写一篇讲清 KV cache 机制的深度文章。写 Claude Code、Cursor 这类工具的人可以蹲一下,能帮你理解 token 成本到底怎么算。

Gergely Orosz@GergelyOroszSource
Nov 21
How-toBuildersOfficial08:33
Chinese contentAWS 发布分布式 KV 缓存 agent skill,自托管 LLM 推理成本最多降 40%

如果你自己用 GPU 托管 LLM,多轮对话每次都重复算上下文纯属烧钱。AWS 把这套 KV 缓存配置做成了 agent skill,从编码 agent 里一句话就能让 agent 帮你把 ElastiCache 缓存搭好,官方数据显示成本省最多 40%、首 token 快最多 80%。自己搭 vLLM 服务的话可以照着这篇实操一下。

Primary sourceAWS Machine Learning Blog@Ravi YadavSource
Nov 20
Chinese contentFrontierReplay:混合架构模型的无切分精确前缀缓存方案

做推理服务或部署混合架构模型(比如线性注意力+循环层这类)的团队该看看。它不用切分 prefill 就能在可预测的边界处建精确缓存,TTFT 最高降 8.9 倍,精度一点不掉,比近似 replay 靠谱。

arXiv cs.LG@Zekun Wang, Yizhuo WangSource
Nov 19
ProductsBuildersSelected71°01:18
vLLM v0.34.0 adds 10 models and faster GB200 decode

Making Model Runner V2 the sole GPU path removes migration ambiguity for production fleets, since teams can no longer defer the transition across releases. Engineers operating Blackwell clusters should benchmark the NVFP4 decode gains against their current baselines before upgrading, and platform teams should read the upgrade notes early. Teams evaluating serving stacks against TensorRT-LLM or SGLang gain a more modular KV cache layer to compare on.

Official accountvLLM@vllm_projectSource
Nov 18
Chinese contentRISA:面向块扩散语言模型的可恢复稀疏注意力方法

块扩散模型长上下文慢,是因为每步去噪都要重读整份 KV cache。RISA 让一个块内所有去噪步骤共享一份稀疏读取计划,32K 加速 2.67 倍,128K 到 5.53 倍。做长文本生成、关注扩散语言模型部署的人可以看看,比 MAGE、QUEST、LoSA 同等 KL 下更快。

arXiv cs.LG@Xinrui Zhong et al. (3)Source
ProductsBuildersOfficial05:35
Chinese contentAmazon SageMaker AI 实时端点新增 KV cache 感知路由

在 SageMaker 上自托管 LLM 的朋友可以看看:新路由会把请求送到缓存命中最多的实例,长 prompt 场景能省下不少重复计算。文章还对比了它和 prefix-aware routing 的适用场景,并给了启用和验证步骤。

Primary sourceAWS Machine Learning Blog@Dmitry SoldatkinSource
Nov 17
PapersBuildersSelected12:56
LLMs Program Tabular Foundation Models Without Gradient Optimization

Steering a pretrained model through cache edits rather than retraining points to cheaper, more surgical model customization than fine-tuning. Teams maintaining tabular prediction pipelines, and researchers studying model internals, gain a concrete recipe: ask an LLM to repair or redirect TFM behaviour and validate on held-out data. The 0.849 vs 0.876 ROC AUC gap against the pretrained baseline shows the approach is close to, but not yet matching, standard training.

arXiv cs.LG@Shi Bin Hoo et al. (5)Source
Nov 11
Chinese content论文揭示前缀缓存的智能体服务存在亚稳态:一次突发可致吞吐腰斩70分钟

跑过 vLLM 智能体服务的人应该都见过那种莫名的性能崩塌,这篇论文把它解释清楚了:一次几小时的突发流量就能让命中率掉到 10%,吞吐腰斩还自己好不了。论文给了能用的预算器方案,不用调参,直接把 KV 池撑爆的可能性掐掉。

arXiv cs.LG@Wen Huang, Jack LiuSource
Nov 10
ModelsBuildersSelected21:53
i14 Labs launches Sugar Glider O(1) long-context LLM architecture

A fixed-size KV cache changes serving economics more than raw benchmark scores: it turns long-context deployment from a memory problem into a configuration choice. Teams building agents, RAG pipelines or document-heavy workflows should watch the waitlist and independent reproductions of the 1B-token retrieval claims. Compared with existing long-context approaches that accumulate KV cache linearly, the 32x throughput figure at 1M tokens is the number to verify.

elvis@omarsar0Source
Chinese contentSemanticKV:面向智能体自回归视频生成的语义对齐 KV 缓存压缩

做长视频生成或智能体视频合成的开发者可以看看这篇。它不用重训练,靠规划器的语义约束决定缓存留什么,60 秒生成时内存砍到三分之一,画质反而比不压缩还高一点。四个骨干、三个基准都有数据,方法可直接套在现有 rollout 流程里。

arXiv cs.LG@Weizhong Huang et al. (5)Source
Chinese content墨尔本实验室 i14labs 推出 Sugar Glider 架构,实现 O(1) 恒定显存推理

墨尔本的 i14labs 搞了个 Sugar Glider 架构,把开源大模型改成固定显存的 O(1) 推理,号称几小时就能转换,还测过 1 万亿参数的模型。做推理部署的人值得关注,长上下文成本可能被大幅压下来。

kimmonismus@kimmonismusSource
Nov 9
PapersBuildersSelected13:09
BitDecoding-FP4 Cuts KV Cache to FP4 With 2.4-3.0x Throughput Gains

The co-design removes the trade-off that previously forced a choice between quantization accuracy and decode speed: system-level changes like transposed softmax eliminate lookup overheads that plagued earlier FP4 KV methods. Teams running long-context inference on NVIDIA Blackwell hardware can apply it directly, since the implementation is open-sourced and works across dense and MoE models with GQA and MLA, and it even holds up in RL training rollouts.

arXiv cs.AI@Dayou Du et al. (6)Source
Nov 6
Nov 2
Nov 1
ModelsBuildersSelected15:12
Rock Matrix Open-Sources EdgeRock-4B Reasoning Model With Fixed Memory

A fixed-size KV cache means long-horizon reasoning on consumer GPUs without the memory creep that normally forces context truncation, making the 4B model a practical candidate for on-device and edge deployments. Developers building local agents or long-session assistants can run it without enterprise hardware. Compared with other small open models, its benchmark is framed against bounded-state baselines rather than full-cache models, so independent verification will matter.

TestingCatalog@testingcatalogSource
Oct 28
Oct 27
Oct 26
Oct 23
Oct 22
PapersBuildersSelected02:05
AKV: Agents Manage Their Own KV Cache to Cut LLM Costs

This reframes context engineering as a systems problem: instead of editing the visible prompt, the agent rewrites its own cache, avoiding the re-prefill penalty that summarization triggers. Teams building long-running agents with multi-turn tool calls can cut serving cost measurably without changing what the model sees. The gains apply to any stack serving LLMs with prefix caching, such as vLLM-based deployments.

DAIR.AI@dair_aiSource
Oct 21
ProductsBuildersSelected01:23
vLLM Project Shows KV Cache and Kernel Optimizations at PyTorchCon 2026

vLLM now spans three hardware ecosystems, which reduces the lock-in that previously tied inference stacks to NVIDIA GPUs. Teams running self-hosted inference can benchmark vLLM against vendor-specific runtimes on AMD and TPU infrastructure. The KV cache management work matters most for serving long-context models where memory, not compute, is the bottleneck.

Official accountPyTorch@PyTorchSource
Oct 20
How-toBuildersOfficialSelected00:28
vLLM bi-directional KV transfer cuts TTFT in agentic workloads

KV cache transfer addresses the hidden cost of agentic loops: re-prefilling the same context on every turn, which inflates latency and GPU spend as conversations grow. Teams running self-hosted agents on vLLM can replicate the setup on EC2 P5en instances with EFA. The reported gains also give a concrete comparison point for choosing between Qwen3-32B and GLM-5-FP8 when latency per turn matters.

Primary sourceAWS Machine Learning Blog@Sunita NadampalliSource
How-toBuildersOfficialSelected00:28
vLLM push-based NIXL connector cuts TTFT in disaggregated inference

Shifting KV-cache transfer coordination off the critical path removes a hidden latency tax in prefill-decode disaggregation, and the 3x TTFT gain applies to any team serving LLMs at scale on vLLM. Practitioners running inference on AWS can adopt the NIXL connector on EC2 P5en with EFA networking directly from the guide. Compared with pull-based transfer, the push design needs no receiver-side polling, which is what unlocks the latency savings.

Primary sourceAWS Machine Learning Blog@Sunita NadampalliSource
Oct 19
Oct 18
How-toBuildersSelected21:24
Stanford CS336 Lecture 10 Covers LLM Inference Optimization

Percy Liang's closing argument reframes the KV cache as the structural root of Transformer inference inefficiency, pointing to architectures designed for inference from day one, such as SSMs, linear attention, and diffusion-based non-autoregressive generation. Engineers building or tuning inference stacks get a single coherent map from architecture to serving systems. The executable lecture notes with sympy-verified formulas make the material directly reproducible rather than slide-level theory.

shao__meng@shao__mengSource
Oct 16