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

ADOR:一种提升延迟与吞吐量的LLM服务设计探索框架

ADOR: A Design Exploration Framework for LLM Serving with Enhanced Latency and Throughput

Junsoo Kim, Hunjong Lee, Geonwoo Ko, Gyubin Choi, Seri Ham, Seongmin Hong, Joo-Young Kim

AI总结:

针对LLM服务中硬件难以平衡计算与内存需求导致QoS下降的问题,提出ADOR框架,利用异构数据流架构模板自动探索并推荐硬件设计,在高批处理下相比A100实现2.51倍QoS和4.01倍面积效率提升。

摘要:

大型语言模型(LLM)在各领域的广泛应用推动了对高效可扩展AI服务解决方案的需求。部署LLM需要优化以管理其巨大的计算和数据需求。预填充阶段并行处理大量输入token,增加了计算负载;而由于LLM的自回归特性,解码阶段严重依赖内存带宽。当前的硬件(如GPU)通常难以平衡这些需求,导致利用率低下。虽然批处理提高了硬件效率,但它延迟了响应时间,降低了服务质量(QoS)。旨在最大化资源效率的供应商与优先考虑低延迟的用户之间的脱节,凸显了更好解决方案的必要性。为此,我们提出ADOR,一个能自动识别并推荐专为LLM服务定制的硬件架构的框架。通过利用专为异构数据流预定义的架构模板,ADOR最佳地平衡了吞吐量和延迟。它高效地探索设计空间,以建议满足供应商和用户双方需求的架构。ADOR展现出显著的性能提升,在高批处理大小下,与A100相比实现了2.51倍的QoS提升和4.01倍的面积效率改善,使其成为可扩展且高性价比LLM服务的稳健解决方案。

英文摘要:

The growing adoption of Large Language Models (LLMs) across various domains has driven the demand for efficient and scalable AI-serving solutions. Deploying LLMs requires optimizations to manage their significant computational and data demands. The prefill stage processes large numbers of input tokens in parallel, increasing computational load, while the decoding stage relies heavily on memory bandwidth due to the auto-regressive nature of LLMs. Current hardware, such as GPUs, often fails to balance these demands, leading to inefficient utilization. While batching improves hardware efficiency, it delays response times, degrading Quality-of-Service (QoS). This disconnect between vendors, who aim to maximize resource efficiency, and users, who prioritize low latency, highlights the need for a better solution. To address this, we propose ADOR, a framework that automatically identifies and recommends hardware architectures tailored to LLM serving. By leveraging predefined architecture templates specialized for heterogeneous dataflows, ADOR optimally balances throughput and latency. It efficiently explores design spaces to suggest architectures that meet the requirements of both vendors and users. ADOR demonstrates substantial performance improvements, achieving 2.51x higher QoS and 4.01x better area efficiency compared to the A100 at high batch sizes, making it a robust solution for scalable and cost-effective LLM serving.

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

↑