arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.01438cs.DCcs.AI
收藏

SkyServe:跨区域和云使用Spot实例服务AI模型

SkyServe: Serving AI Models across Regions and Clouds with Spot Instances

UC Berkeley(加州大学伯克利分校);ICSI(国际计算机科学研究所)

Ziming Mao, Tian Xia, Zhanghao Wu, Wei-Lin Chiang, Tyler Griggs, Romil Bhardwaj, Zongheng Yang, Scott Shenker, Ion Stoica

AI总结:

提出SpotHedge策略与SkyServe系统,通过跨区域和云智能分布并超额配置Spot副本、动态回退按需副本,在保证高可用性与低延迟的同时平均降低43%的AI服务成本。

摘要:

近年来,AI模型经历了爆炸式增长。在GPU上托管AI服务的高昂成本及其苛刻的服务要求,使得降低服务成本并保证服务质量成为一个及时且具有挑战性的问题。尽管Spot实例长期以来一直以大幅折扣提供,但Spot抢占现象阻碍了用户在服务AI模型时使用它们来托管模型副本。为了解决这个问题,我们提出了一种简单而高效的策略SpotHedge,它利用跨不同故障域(例如区域和云)的Spot副本来确保可用性、降低成本和提供高服务质量。SpotHedge智能地将Spot副本分布在不同的区域和云中,以提高可用性并减少相关的抢占;作为防范可能发生的抢占的保障,它超额配置了比所需更多的廉价Spot副本;并在Spot副本不可用时动态回退到按需副本。我们构建了SkyServe系统,该系统利用SpotHedge跨区域和云在Spot和按需副本的混合上高效地服务AI模型。我们在真实的AI工作负载上将SkyServe与研究系统和生产系统进行了比较:与使用按需副本相比,SkyServe在实现高资源可用性的同时,平均降低了43%的成本。此外,与其他研究和生产系统相比,SkyServe平均将P50、P90和P99延迟分别提高了2.3倍、2.1倍和2.1倍。

英文摘要:

Recent years have witnessed an explosive growth of AI models. The high cost of hosting AI services on GPUs and their demanding service requirements, make it timely and challenging to lower service costs and guarantee service quality. While spot instances have long been offered with a large discount, spot preemptions have discouraged users from using them to host model replicas when serving AI models. To address this, we propose a simple yet efficient policy, SpotHedge, that leverages spot replicas across different failure domains (e.g., regions and clouds) to ensure availability, lower costs, and high service quality. SpotHedge intelligently spreads spot replicas across different regions and clouds to improve availability and reduce correlated preemptions, overprovisions cheap spot replicas than required as a safeguard against possible preemptions, and dynamically falls back to on-demand replicas when spot replicas become unavailable. We built SkyServe, a system leveraging SpotHedge to efficiently serve AI models over a mixture of spot and on-demand replicas across regions and clouds. We compared SkyServe with both research and production systems on real AI workloads: SkyServe reduces cost by 43% on average while achieving high resource availability compared to using on-demand replicas. Additionally, SkyServe improves P50, P90, and P99 latency by 2.3$\times$, 2.1$\times$, 2.1$\times$ on average compared to other research and production systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑