分块预填充Chunked Prefill
Chunked Prefill
把很长的输入切成小块处理,顺便和生成中的请求混在一起跑。Process a long input in smaller chunks, mixing it with requests that are generating.
vLLM 官方定义:允许把大的预填充拆成较小的块,并与解码请求一起批处理。
官方称它通过平衡计算密集与显存密集两类操作,同时改善吞吐和延迟。
vLLM's definition: process large prefills in smaller chunks and batch them with decode requests.
The docs say it improves both throughput and latency by balancing compute-bound and memory-bound work.
长输入把首字延迟拖爆时,这是服务端最常用的缓解手段。When a long input wrecks time-to-first-token, this is the standard server-side mitigation.
回到名词地图看第5段的其他 45 个词 →Back to the map: the other 45 terms in stage 5 →
- vLLM 优化配置文档vLLM optimization configuration ↗
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.
任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →