机器学习(ML)是现代数据科学应用的重要组成部分。数据科学家今天必须管理端到端的ML生存周期,其中包括模型训练和模型服务,后者是必不可少的,因为它使他们的作品可供最终用户使用。模型服务系统要求高性能、低成本和易于管理。云提供商已经提供了模型服务选择,包括托管服务和自租服务器。最近,无服务器计算,其优点包括高弹性和细粒度的成本模型,为模型服务带来了另一种选择。我们在本文中的目标是研究无服务器作为主流模型服务平台的可行性。为此,我们首先针对Amazon Web Service和Google Cloud Platform上的其他模型服务系统,对无服务器的性能和成本进行了全面评估。我们发现无服务器的性能优于许多基于云的替代方案。此外,在某些设置下,它甚至可以实现比基于GPU的系统更好的性能。接下来,我们介绍了无服务器模型服务的设计空间,它包括多个维度,包括云平台,服务运行时和其他功能特定的参数。对于每个维度,我们分析了不同选择的影响,并为数据科学家提供了更好地利用无服务器模型服务的建议。最后,我们讨论了建立一个更实用的无服务器模型服务系统的挑战和机遇。
英文摘要:
Machine learning (ML) is an important part of modern data science applications. Data scientists today have to manage the end-to-end ML life cycle that includes both model training and model serving, the latter of which is essential, as it makes their works available to end-users. Systems of model serving require high performance, low cost, and ease of management. Cloud providers are already offering model serving choices, including managed services and self-rented servers. Recently, serverless computing, whose advantages include high elasticity and a fine-grained cost model, brings another option for model serving. Our goal in this paper is to examine the viability of serverless as a mainstream model serving platform. To this end, we first conduct a comprehensive evaluation of the performance and cost of serverless against other model serving systems on Amazon Web Service and Google Cloud Platform. We find that serverless outperforms many cloud-based alternatives. Further, there are settings under which it even achieves better performance than GPU-based systems. Next, we present the design space of serverless model serving, which comprises multiple dimensions, including cloud platforms, serving runtimes, and other function-specific parameters. For each dimension, we analyze the impact of different choices and provide suggestions for data scientists to better utilize serverless model serving. Finally, we discuss challenges and opportunities in building a more practical serverless model serving system.
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(澳门大学)
Batch is back: CasJobs, serving multi-TB data on the Web
斯隆数字巡天(SDSS)科学数据库描述了超过1.4亿个物体,大小超过1.5 TB。SDSS目录存档服务器(CAS)通过SkyServer网站提供了对SDSS数据的几个级别的查询接口。大多数查询在几秒或几分钟内执行。但是,有些查询可能需要数小时或数天的时间,因为它们需要对最大的表进行非索引扫描,或者因为它们请求非常大的结果集,或者因为它们表示非常复杂的数据聚合。这些“怪物查询”不仅花费很长时间,还影响其他所有人的响应时间-其中一个或多个查询可能会阻塞整个系统。为了改善这一问题,我们开发了一个多服务器多队列批量作业提交和跟踪系统的CAS称为CasJobs。通过网络传输查询的非常大的结果集是另一个严重的问题。统计数据表明,这种数据传输大部分是不必要的;用户更愿意将结果存储在本地,以便允许进一步的连接和过滤。为了允许本地分析,开发了一个系统,在服务器端为用户提供他们自己的个人数据库(MyDB)。用户可以将数据传输到他们的MyDB,然后在将其提取到自己的机器之前进行进一步分析。MyDB表还提供了一种与协作者共享查询结果的方便方法,而无需下载它们。CasJobs是使用SOAP XML Web服务构建的,自2004年5月以来一直在运行。
AI4EOSC: a Federated Cloud Platform for Artificial Intelligence in Scientific Research
Institute of Informatics, Slovak Academy of Sciences (IISAS)(斯洛伐克科学院信息学研究所);Faculty of Informatics and Information Technologies, Slovak University of Technology(斯洛伐克科技大学信息学与信息技术学院);Laboratório de Instrumentação e Física Experimental de Partículas(粒子物理实验与仪器实验室)