Prediction serving systems are designed to provide large volumes of low-latency inferences machine learning models. These systems mix data processing and computationally intensive model inference and benefit from multiple heterogeneous processors and distributed computing resources. In this paper, we argue that a familiar dataflow API is well-suited to this latency-sensitive task, and amenable to optimization even with unmodified black-box ML models. We present the design of Cloudflow, a system that provides this API and realizes it on an autoscaling serverless backend. Cloudflow transparently implements performance-critical optimizations including operator fusion and competitive execution. Our evaluation shows that Cloudflow's optimizations yield significant performance improvements on synthetic workloads and that Cloudflow outperforms state-of-the-art prediction serving systems by as much as 2x on real-world prediction pipelines, meeting latency goals of demanding applications like real-time video analysis.
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(澳门大学)
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的系统更好的性能。接下来,我们介绍了无服务器模型服务的设计空间,它包括多个维度,包括云平台,服务运行时和其他功能特定的参数。对于每个维度,我们分析了不同选择的影响,并为数据科学家提供了更好地利用无服务器模型服务的建议。最后,我们讨论了建立一个更实用的无服务器模型服务系统的挑战和机遇。
Predictive-LoRA: A Proactive and Fragmentation-Aware Serverless Inference System for LLMs
University of Illinois at Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校);Santa Clara University(圣克拉拉大学);New York University(纽约大学);University of Southern California(南加州大学);University of Missouri–Kansas City(密苏里大学堪萨斯城分校);Boston University(波士顿大学)