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

通过消除不可扩展开销将LLM推理扩展到超越Amdahl极限

Scaling LLM Inference Beyond Amdahl`s Limits via Eliminating Non-Scalable Overheads

scitix(思梯科技);Tsinghua University(清华大学)

Alan Zhao, Cyril Y. He, Wei Xu

AI总结:

针对LLM推理中张量并行度增加导致的不可扩展开销问题,提出Albireo系统,通过重叠调度、I/O与计算及序列并行采样来提升最优并行度,从而显著提高吞吐量、降低延迟和能耗。

摘要:

在线LLM服务的部署者通常希望在固定数量的GPU上最大化集群整体性能。张量并行(TP)对于适配现代模型是必要的,但随着TP度t的增加,由于跨GPU通信和不可扩展的运行时工作,其扩展性低于线性,正如Amdahl定律所预测的那样。相反,增加t可以提高内存效率,并缓解KV缓存争用和交换。我们识别并验证了一个经验最优TP度t_e,它平衡了这些效应。我们提出了Albireo,一个并行推理系统,通过将调度和I/O与计算和序列并行采样重叠,缩小不可扩展部分,从而提高了可达到的t_e,而无需改变模型架构。在各种模型和基准测试中,与vLLM相比,Albireo实现了高达1.9倍的吞吐量提升、48%的延迟降低、28%的GPU利用率提升和54%的能耗降低;在生产环境中,它实现了高达2倍的吞吐量提升。

英文摘要:

Deployers of online LLM services usually seek to maximize cluster-wide performance given a fixed number of GPUs. Tensor parallelism (TP) is necessary to fit modern models but scales sub-linearly as the TP degree t grows, due to cross-GPU communication and non-scalable runtime work, as predicted by Amdahl's Law. Conversely, increasing t improves memory efficiency and alleviates KV-cache contention and swapping. We identify and validate an empirical optimal TP degree t_e that balances these effects. We present Albireo, a parallel inference system that raises the attainable t_e by shrinking the non-scalable portion via overlap of scheduling and I/O with compute and sequence-parallel sampling, without changing model architectures. Across models and benchmarks, Albireo achieves up to 1.9x higher throughput, 48% lower latency, 28% higher GPU utilization, and 54% lower energy than vLLM; in production it yields up to 2x higher throughput.

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

↑