arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23537cs.PFcs.AI
收藏

ALISE:通过推测式调度加速大语言模型服务

ALISE: Accelerating Large Language Model Serving with Speculative Scheduling

University of Central Florida(中佛罗里达大学)

Youpeng Zhao, Jun Wang

AI总结:

针对现有大语言模型服务先到先服务调度存在的队头阻塞等问题,本文提出ALISE框架,通过推测式调度、自适应内存管理与量化压缩技术,在相同延迟下较vLLM最高提升1.8-2.1倍吞吐量。

摘要:

大语言模型(LLMs)是当前通用人工智能(AGI)领域的一项革命性进展。以ChatGPT为代表的基于LLM的应用要求推理服务具备极低的响应延迟和极高的吞吐量。然而,由于LLM执行过程的不可预测性,现有LLM服务系统采用的先到先服务(FCFS)调度策略存在队头(HoL)阻塞问题,且作业响应时间较长。\n 本文提出了一种新型高效LLM推理服务框架ALISE。ALISE的核心设计思路是采用一种新颖的推测式调度器,通过估算每个作业的执行时间,并利用该先验信息分配合理的作业优先级顺序,从而最大限度降低异构工作负载的潜在排队延迟。此外,为缓解中间键值(KV)缓存的内存开销,我们采用了基于优先级的自适应内存管理协议以及基于量化的压缩技术。评估结果表明,与当前最优方案vLLM相比,在相同延迟约束下,ALISE在Alpaca和ShareGPT数据集上的推理服务吞吐量分别提升了最高1.8倍和2.1倍。

英文摘要:

Large Language Models (LLMs) represent a revolutionary advancement in the contemporary landscape of artificial general intelligence (AGI). As exemplified by ChatGPT, LLM-based applications necessitate minimal response latency and maximal throughput for inference serving. However, due to the unpredictability of LLM execution, the first-come-first-serve (FCFS) scheduling policy employed by current LLM serving systems suffers from head-of-line (HoL) blocking issues and long job response times. In this paper, we propose a new efficient LLM inference serving framework, named ALISE. The key design paradigm of ALISE is to leverage a novel speculative scheduler by estimating the execution time for each job and exploiting such prior knowledge to assign appropriate job priority orders, thus minimizing potential queuing delays for heterogeneous workloads. Furthermore, to mitigate the memory overhead of the intermediate key-value (KV) cache, we employ a priority-based adaptive memory management protocol and quantization-based compression techniques. Evaluations demonstrate that in comparison to the state-of-the-art solution vLLM, ALISE improves the throughput of inference serving by up to 1.8x and 2.1x under the same latency constraint on the Alpaca and ShareGPT datasets, respectively.

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

↑