为具有大内存足迹的链式作业服务而设计的链式结构作业服务
Serving Chain-structured Jobs with Large Memory Footprints with Application to Large Foundation Model Serving
AI总结:
本文研究了大基础模型服务中的链式结构作业服务问题,提出了一种基于块放置和缓存分配的新型问题解决方案,通过流水线并行化解决了服务器链组成问题,显著提升了响应时间。
摘要:
作为人工智能领域的一个当前趋势,大基础模型正越来越多地被用作AI服务的核心。然而,即使在训练之后,大规模部署此类模型仍然是一项具有挑战性的任务,因为它们的资源足迹很大,尤其是在GPU内存方面。尽管最近的研究揭示了服务于基础模型的系统具有区别于传统分布式计算系统的独特特性,但对底层系统管理问题仍缺乏基本理解。本文旨在通过块放置和缓存分配提取出一个新的问题——“服务器链组成”,以服务于具有大内存足迹的链式结构作业,这通过流水线并行化模型了服务于大基础模型的基本问题。在证明最优解的NP难性后,重点转向开发具有保证性能的可扩展算法,在最先进的负载平衡下。将所提解决方案应用于分布式大型语言模型(LLM)服务系统,显示出比现有解决方案显著减少的响应时间。
英文摘要:
As a current trend in Artificial Intelligence (AI), large foundation models are increasingly employed as the core of AI services. However, even after training, serving such models at scale remains a challenging task due to their heavy resource footprints, particularly in terms of GPU memory. While recent works revealed unique characteristics of systems serving foundation models that distinguish them from traditional distributed computing systems, there is still a lack of fundamental understanding of the underlying system management problems. This work aims at addressing this gap by extracting a novel problem of "server chain composition" via block placement and cache allocation for serving chainstructured jobs with large memory footprints, which models a fundamental problem in serving large foundation models through pipeline parallelism. After showing the NP-hardness of the optimal solution, the focus is turned to developing scalable algorithms with guaranteed performance under state-of-the-art load balancing. Application of the proposed solution to a distributed large language model (LLM) serving system shows significant reduction of response times compared to state-of-the-art solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。