内部团结:通过Faro实现本地容器化ML推理集群的SLO感知
A House United Within Itself: SLO-Awareness for On-Premises Containerized ML Inference Clusters via Faro
AI总结:
Faro系统通过将SLO自动转化为可优化的松弛效用函数并结合概率工作负载预测,在本地Kubernetes集群上实现ML推理作业的快速跨作业资源分配,显著降低SLO违规率。
摘要:
本文解决了在受限的本地生产集群上、在时变工作负载下运行多个ML推理作业(模型)的挑战。我们的系统Faro接收每个作业的延迟服务级别目标(SLO),自动将其提炼为效用函数,对这些效用函数进行“松弛化”以使其适合数学优化,通过概率预测自动预测工作负载,并动态进行隐式的跨作业资源分配,以满足集群范围的目标,例如总效用、公平性及其他混合变体。Faro应对的一个主要挑战是,使用精确的效用和高保真预测器对于我们所要求的快速适应来说可能太慢(在某种意义上也太精确!)。Faro的解决方案是“松弛化”(放宽)其多个设计组件,以在不严重降低解质量的情况下实现快速适应。Faro实现在一个由运行在Kubernetes集群之上的Ray Serve组成的栈中。基于轨迹驱动的集群部署表明,与最先进的系统相比,Faro实现了2.3倍至23倍更低的SLO违规率。
英文摘要:
This paper tackles the challenge of running multiple ML inference jobs (models) under time-varying workloads, on a constrained on-premises production cluster. Our system Faro takes in latency Service Level Objectives (SLOs) for each job, auto-distills them into utility functions, "sloppifies" these utility functions to make them amenable to mathematical optimization, automatically predicts workload via probabilistic prediction, and dynamically makes implicit cross-job resource allocations, in order to satisfy cluster-wide objectives, e.g., total utility, fairness, and other hybrid variants. A major challenge Faro tackles is that using precise utilities and high-fidelity predictors, can be too slow (and in a sense too precise!) for the fast adaptation we require. Faro's solution is to "sloppify" (relax) its multiple design components to achieve fast adaptation without overly degrading solution quality. Faro is implemented in a stack consisting of Ray Serve running atop a Kubernetes cluster. Trace-driven cluster deployments show that Faro achieves 2.3$\times$-23$\times$ lower SLO violations compared to state-of-the-art systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。