arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.00719cs.DC
收藏

SIMPLE: 将采样从GPU推理中分解到决策平面以实现更快的分布式LLM服务

SIMPLE: Disaggregating Sampling from GPU Inference into a Decision Plane for Faster Distributed LLM Serving

Bohan Zhao, Zane Cao, Yongchao He

AI总结:

SIMPLE通过将采样分解到CPU侧,结合序列并行和热点词汇采样,显著提升分布式LLM服务的吞吐量和效率。

摘要:

随着大型语言模型(LLMs)通过张量并行(TP)和流水线并行(PP)扩展,以及生产堆栈对数据平面(注意力/GEMM和KV缓存)进行了积极优化,采样,将logits转换为token的决策平面,已成为新的瓶颈。这导致了结构性的瓶颈:采样既不随TP扩展,也不在PP阶段平衡,因此其迭代时间占比随着GPU速度提升而增加,并限制了流水线频率在最后阶段。我们提出了SIMPLE,一个阶段无关、序列并行、可重叠的决策平面,将采样分解为CPU侧的服务,并将其运行时足迹缩小到次要、隐藏的角色。SIMPLE结合了:(1)序列并行采样,沿批量维度分片工作并移除词汇轴收集;(2)基于CPU的算法,具有列级惩罚和先截断过滤,以实现单次通过、线性时间内核;(3)推测热点词汇采样(SHVS),在小热点集上采样,具有拒绝正确性,并使用简单的尺寸模型选择最大化吞吐量的热点词汇大小。在评估中,SIMPLE将端到端吞吐量提高了高达96%,并将P95延迟减少了20-65%。关键的是,SIMPLE不需要用户侧代码更改,并与现有数据平面优化组合,解锁了与未来GPU世代相乘的扩展优势。

英文摘要:

As large language models (LLMs) scale out with tensor parallelism (TP) and pipeline parallelism (PP) and production stacks have aggressively optimized the data plane (attention/GEMM and KV cache), sampling, the decision plane that turns logits into tokens, becomes a new bottleneck. This creates a structural holdout: sampling neither expands with TP nor balances across PP stages, so its share of iteration time grows as GPUs get faster and it caps pipeline frequency at the last stage. We present SIMPLE, a stage-agnostic, sequence-parallel, overlappable decision plane that disaggregates sampling into a CPU-side service and shrinks its runtime footprint back to a minor, hidden role. SIMPLE combines: (1) sequence-parallel sampling, which shards work along the batch dimension and removes vocabulary-axis collectives; (2) a CPU-based algorithm with column-wise penalties and truncation-first filtering to realize single-pass, linear-time kernels; and (3) speculative hot-vocab sampling (SHVS), which samples on a small hot set with rejection-correctness and uses a simple sizing model to choose the hot-vocab size that maximizes throughput. In evaluation, SIMPLE improves end-to-end throughput by up to 96% and reduces P95 latency by 20-65%. Crucially, SIMPLE requires no user-side code changes and composes with existing data-plane optimizations, unlocking scaling benefits that compound with future GPU generations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑