<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>KV Cache on Xuewen Yang</title>
    <link>https://xuewyang.github.io/tags/kv-cache/</link>
    <description>Recent content in KV Cache on Xuewen Yang</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 09 Nov 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://xuewyang.github.io/tags/kv-cache/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>KV cache internals: PagedAttention, RadixAttention, speculative decoding</title>
      <link>https://xuewyang.github.io/posts/kv/</link>
      <pubDate>Mon, 09 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://xuewyang.github.io/posts/kv/</guid>
      <description>Inference as prefill plus decode, why generation needs a KV cache and training doesn&amp;rsquo;t, a cache in PyTorch, how big it gets and how MLA shrinks it, where decode step times come from, continuous batching and PagedAttention with a toy vLLM you can run on a CPU, how SGLang&amp;rsquo;s RadixAttention differs, and how speculative decoding verifies a draft in one pass.</description>
    </item>
  </channel>
</rss>
