The rise of large language models (LLMs) has created new opportunities across various fields but has also introduced significant challenges in resource management. Current LLM serving systems face a fundamental tension: balancing serving demands with limited resources while adapting to unpredictable traffic patterns. Static deployments lead to suboptimal resource utilization and performance degradation under dynamic workloads. Furthermore, the high cost of adjusting instances hinders dynamic scaling, limiting the true potential of efficient LLM serving.
To address this, we propose CoCoServe, an elastic system that facilitates dynamic and fine-grained scaling. Its key innovation lies in the module-level operations for the replication and migration of LLM modules, such as decoder layers and projections. Through a comprehensive analysis of the trade-offs associated with these operations, we develop an auto-scaling mechanism that dynamically regulates module-level resource allocation and performance optimization, enabling a more cost-effective deployment of LLMs. Our evaluation demonstrates that the scaling operations employed by CoCoServe exhibit excellent scalability and can reduce costs by 46% while maintaining availability. Compared to state-of-the-art LLM serving systems (e.g., Hugging Face Transformers and vLLM), our approach reduces latency by 14%-75% and achieves 1.16x-4x throughput on average across different model sizes and workloads.
CoCoScale: Leveraging Layer-wise Scaling to Unlock the Potential of Online LLM Serving
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Alibaba Group Inc(阿里巴巴集团);State Key Lab of IOTSC, University of Macau(澳门大学物联网与智慧城市国家重点实验室)
Xema: Efficient Diffusion Serving through Fine-Grained Memory Management and Auto-Configuration
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Hong Kong University of Science and Technology(香港科技大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))
FlexPipe: Adapting Dynamic LLM Serving Through Inflight Pipeline Refactoring in Fragmented Serverless Clusters
Shenzhen Institutes of Advanced Technology, CAS(中国科学院深圳先进技术研究院);UCAS(中国科学院大学);UC San Diego(加州大学圣地亚哥分校);Nanyang Technological University(南洋理工大学);University of Macau(澳门大学)
Expert-as-a-Service: Towards Efficient, Scalable, and Robust Large-scale MoE Serving
National University of Singapore(新加坡国立大学);Shanghai Qiji Zhifeng Co., Ltd.(上海奇积智峰有限公司);Nanyang Technology University(南洋理工大学);Tsinghua University(清华大学);Shanghai Innovation Institute(上海创新研究院)
BanaServe: Unified KV Cache and Dynamic Module Migration for Balancing Disaggregated LLM Serving in AI Infrastructure
Southern University of Science and Technology(南方科技大学);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);State Key Lab of IOTSC, Faculty of Science and Technology, University of Macau(澳门科技大学物联网与感知系统国家重点实验室、理学院);AIOS Team, Alibaba Group Inc(阿里巴巴集团 AIOS 团队)
Serverless Data Science -- Are We There Yet? A Case Study of Model Serving
National University of Singapore(新加坡国立大学);Singapore University of Technology and Design(新加坡科技设计大学);Beijing Institute of Technology(北京理工大学)
机器学习(ML)是现代数据科学应用的重要组成部分。数据科学家今天必须管理端到端的ML生存周期,其中包括模型训练和模型服务,后者是必不可少的,因为它使他们的作品可供最终用户使用。模型服务系统要求高性能、低成本和易于管理。云提供商已经提供了模型服务选择,包括托管服务和自租服务器。最近,无服务器计算,其优点包括高弹性和细粒度的成本模型,为模型服务带来了另一种选择。我们在本文中的目标是研究无服务器作为主流模型服务平台的可行性。为此,我们首先针对Amazon Web Service和Google Cloud Platform上的其他模型服务系统,对无服务器的性能和成本进行了全面评估。我们发现无服务器的性能优于许多基于云的替代方案。此外,在某些设置下,它甚至可以实现比基于GPU的系统更好的性能。接下来,我们介绍了无服务器模型服务的设计空间,它包括多个维度,包括云平台,服务运行时和其他功能特定的参数。对于每个维度,我们分析了不同选择的影响,并为数据科学家提供了更好地利用无服务器模型服务的建议。最后,我们讨论了建立一个更实用的无服务器模型服务系统的挑战和机遇。
PAM: Processing Across Memory Hierarchy for Efficient KV-centric LLM Serving System
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);State Key Lab of Processors(处理器重点实验室)
Tackling the Dynamicity in a Production LLM Serving System with SOTA Optimizations via Hybrid Prefill/Decode/Verify Scheduling on Efficient Meta-kernels
Huawei(华为);Tsinghua University(清华大学);Shanghai AI Lab(上海人工智能实验室)