<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nerdctl - 标签 - 探索云原生</title><link>https://www.lixueduan.com/tags/nerdctl/</link><description>探索云原生（微信公众号：探索云原生）,是意琦行的技术博客。一个云原生打工人的探索之路。从容器与编排出发，目前主要折腾云原生 AI 基础设施：GPU 资源化、编排调度、模型服务与可观测性。分享踩坑实录和实践经验。</description><generator>Hugo 0.149.0 &amp; FixIt v0.4.0-alpha-20250831070510-5a66a050</generator><language>zh-CN</language><managingEditor>xueduan.li@gmail.com (意琦行)</managingEditor><webMaster>xueduan.li@gmail.com (意琦行)</webMaster><lastBuildDate>Mon, 14 Sep 2026 20:00:00 +0000</lastBuildDate><atom:link href="https://www.lixueduan.com/tags/nerdctl/index.xml" rel="self" type="application/rss+xml"/><item><title>vLLM PD 分离实战：从请求流程理解 Prefill、Decode 与 KV Cache 传输</title><link>https://www.lixueduan.com/posts/ai/28-vllm-pd-demo/</link><pubDate>Mon, 14 Sep 2026 20:00:00 +0000</pubDate><author>xueduan.li@gmail.com (意琦行)</author><guid>https://www.lixueduan.com/posts/ai/28-vllm-pd-demo/</guid><category domain="https://www.lixueduan.com/categories/ai/">AI</category><description>&lt;p&gt;&lt;img loading="lazy" src='https://img.lixueduan.com/ai/cover/vllm-pd-demo.jpg' alt="vLLM PD 分离实战：Prefill、Decode 与 KV Cache 传输"&gt;&lt;/p&gt;
&lt;p&gt;上一篇 &lt;a href="https://www.lixueduan.com/posts/ai/27-why-pd-disaggregation/"target="_blank" rel="external nofollow noopener noreferrer"&gt;https://www.lixueduan.com/posts/ai/27-why-pd-disaggregation/&lt;/a&gt; 介绍了为什么要把 Prefill 和 Decode 拆开。本文继续往下走，在单节点 GPU 环境中搭建一个可以从头复现的 PD 分离 Demo，先用最小实现把整个链路跑通。&lt;/p&gt;
&lt;p&gt;本文不引入复杂组件，只使用 vLLM 和一个轻量 Proxy，把 Prefill 与 Decode 两个阶段串起来。&lt;/p&gt;
&lt;p&gt;Demo 主要看两件事：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;PD 分离后的请求执行流程&lt;/strong&gt;，观察同一个请求如何依次经过 Proxy、Prefill 和 Decode；&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PD 分离中的 KV Cache 数据流&lt;/strong&gt;，确认 Prefill 生成的 KV Cache 如何通过 KV Connector/NIXL 交给 Decode。&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>