AugServe:用于增强型大语言模型推理服务的自适应请求调度
AugServe: Adaptive Request Scheduling for Augmented Large Language Model Inference Serving
AI总结:
研究针对增强型大语言模型推理服务效率问题及现有系统挑战,提出AugServe框架,采用两阶段自适应请求调度策略并动态调整令牌批处理机制,有效提升了有效吞吐量并减少首次令牌时间。
摘要:
随着带有外部工具的增强型大语言模型在网络应用中越来越受欢迎,提高增强型大语言模型推理服务效率和优化服务水平目标对于提升用户体验至关重要。现有系统面临两大挑战:先来先服务调度导致严重的队头阻塞,静态批令牌限制无法适应负载和硬件条件变化。本文提出AugServe,其核心是两阶段自适应请求调度策略,结合增强型大语言模型请求推理特征优化调度决策顺序,并根据运行时信息不断完善,还能动态调整令牌批处理机制。实验结果表明,AugServe比vLLM和InferCept有效吞吐量分别高4.7倍和3.3倍,首次令牌时间分别最多减少96.3%和95.0%。
英文摘要:
As augmented large language models (LLMs) with external tools become increasingly popular in web applications, improving augmented LLM inference serving efficiency and optimizing service-level objectives (SLOs) are critical for enhancing user experience. To achieve this, inference systems must maximize request handling within latency constraints, referred to as increasing effective throughput. However, existing systems face two major challenges: (i) reliance on first-come-first-served (FCFS) scheduling causes severe head-of-line blocking, leading to queuing delays exceeding the SLOs for many requests; and (ii) static batch token limit, which fails to adapt to fluctuating loads and hardware conditions. Both of these factors degrade effective throughput and service quality. This paper presents AugServe, an efficient inference framework designed to reduce queueing latency and enhance effective throughput for augmented LLM inference services. The core idea of AugServe is a two-stage adaptive request scheduling strategy. Specifically, AugServe combines the inference features of augmented LLM requests to optimize the order of scheduling decisions (stage I). These decisions are continuously refined with runtime information (stage II), adapting to both request characteristics and system capabilities. In addition, AugServe dynamically adjusts the token batching mechanism based on hardware status and real-time load, further enhancing throughput performance. Experimental results show that AugServe achieves 4.7x and 3.3x higher effective throughput than vLLM and InferCept, while reducing time-to-first-token (TTFT) by up to 96.3% and 95.0%, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。