vLLM 实战:让 Prefix Cache 在 Agent 多轮对话间保持命中
两篇工程博客讲解如何在 Agent 多轮对话场景下让 vLLM 的 prefix cache(KV 缓存)跨轮次保持命中。由于 agent 每轮会在上下文后追加新内容,若缓存失效则需重复 prefill,造成延迟与算力浪费;文章围绕缓存策略给出了保持命中、避免重复计算 KV cache 的实战做法。
2026-09-17 ~ 2026-09-17 · 2 条相关
- 实战:让 vLLM Prefix Cache 在 Agent 多轮间保持命中 — bolts98 · 2026-09-17
- vLLM实战:如何在Agent多轮对话间保持前缀缓存热度 — bolts98 · 2026-09-17