ServerlessLLM:面向大型语言模型的低延迟无服务器推理
ServerlessLLM: Low-Latency Serverless Inference for Large Language Models
AI总结:
本文提出ServerlessLLM分布式系统,通过近GPU存储实现本地检查点加载、实时迁移与启动优化调度,将LLM无服务器推理延迟降低10-200倍。
摘要:
本文提出了ServerlessLLM,这是一个旨在支持大型语言模型(LLMs)低延迟无服务器推理的分布式系统。通过利用推理服务器上大量近GPU存储和内存容量,ServerlessLLM实现了高效的本地检查点存储,最大限度地减少了对远程检查点下载的需求,并确保了高效的检查点加载。ServerlessLLM的设计具有三个核心贡献:(i)快速的多层检查点加载,采用了一种新的加载优化检查点格式和多层加载系统,充分利用了GPU服务器上复杂存储层次的带宽;(ii)高效的LLM推理实时迁移,使新启动的推理能够利用本地检查点存储,同时确保对用户的中断最小;(iii)启动时间优化的模型调度,评估每个服务器上检查点的局部性状态,并将模型调度到能最小化推理启动时间的服务器上。包括微基准测试和真实场景在内的综合评估表明,ServerlessLLM显著优于最先进的无服务器系统,在各种LLM推理工作负载中将延迟降低了10到200倍。
英文摘要:
This paper presents ServerlessLLM, a distributed system designed to support low-latency serverless inference for Large Language Models (LLMs). By harnessing the substantial near-GPU storage and memory capacities of inference servers, ServerlessLLM achieves effective local checkpoint storage, minimizing the need for remote checkpoint downloads and ensuring efficient checkpoint loading. The design of ServerlessLLM features three core contributions: (i) \emph{fast multi-tier checkpoint loading}, featuring a new loading-optimized checkpoint format and a multi-tier loading system, fully utilizing the bandwidth of complex storage hierarchies on GPU servers; (ii) \emph{efficient live migration of LLM inference}, which enables newly initiated inferences to capitalize on local checkpoint storage while ensuring minimal user interruption; and (iii) \emph{startup-time-optimized model scheduling}, which assesses the locality statuses of checkpoints on each server and schedules the model onto servers that minimize the time to start the inference. Comprehensive evaluations, including microbenchmarks and real-world scenarios, demonstrate that ServerlessLLM dramatically outperforms state-of-the-art serverless systems, reducing latency by 10 - 200X across various LLM inference workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。