arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13126cs.DC
收藏

通过动态多实例GPU重配置提升GPU多租户性能

Improving GPU Multi-Tenancy Through Dynamic Multi-Instance GPU Reconfiguration

Tianyu Wang, Sheng Li, Bingyao Li, Yue Dai, Ao Li, Geng Yuan, Yufei Ding, Youtao Zhang, Xulong Tang

AI总结:

针对多租户持续学习工作负载,提出基于MIG的GPU动态重配置运行时MIGRator,利用ILP优化有效吞吐量,兼顾推理SLO和模型精度,性能优于现有技术。

摘要:

持续学习(CL)已成为部署在现代云GPU中最流行的深度学习范式之一。具体而言,CL能够通过模型重训练持续更新模型参数,并使用更新后的模型(如果可用)为随时间到达的推理请求提供服务。将重训练和推理共同部署通常是有益的,这样可以实现及时的模型更新并避免模型传输开销。这带来了在重训练和推理之间共享GPU的需求。同时,多个CL工作负载可以共享云中的现代GPU,导致多租户执行。在本文中,我们观察到先前的GPU共享技术并未针对多租户CL工作负载进行优化。具体来说,它们没有连贯地考虑重训练模型的准确性和推理服务级别目标(SLO)的实现。此外,它们无法适应CL执行中的随时间动态变化(例如,推理到达强度)。在本文中,我们提出了MIGRator,一种新颖的GPU重配置运行时,它为多租户CL工作负载动态执行GPU重配置。MIGRator基于最新的NVIDIA多实例GPU(MIG)来缓解资源争用,并将重配置优化问题表述为整数线性规划(ILP),以动态识别、重配置和分配GPU实例。MIGRator在ILP目标函数中利用“有效吞吐量”指标,在重配置探索中同时考虑推理SLO实现和模型准确性。我们使用代表性的多租户CL工作负载评估了MIGRator。结果表明,我们的方法在性能上分别优于最先进的GPU共享技术(即Ekya、Astraea和PARIS)17%、21%和20%。

英文摘要:

Continuous learning (CL) has emerged as one of the most popular deep learning paradigms deployed in modern cloud GPUs. Specifically, CL has the capability to continuously update the model parameters (through model retraining) and use the updated model (if available) to serve overtime arriving inference requests. It is generally beneficial to co-locate the retraining and inference together to enable timely model updates and avoid model transfer overheads. This brings the need for GPU sharing among retraining and inferences. Meanwhile, multiple CL workloads can share the modern GPUs in the cloud, leading to multi-tenancy execution. In this paper, we observe that prior GPU-sharing techniques are not optimized for multi-tenancy CL workloads. Specifically, they do not coherently consider the accuracy of the retraining model and the inference service level objective (SLO) attainment. Moreover, they cannot accommodate the overtime dynamics (e.g., inference arrival intensity) in CL execution. In this paper, we propose MIGRator, a novel GPU reconfiguration runtime that dynamically performs GPU reconfiguration for multi-tenancy CL workloads. MIGRator is based on the recent NVIDIA multi-instance GPU (MIG) to mitigate resource contention and formulates the reconfiguration optimization into Integer Linear Programming (ILP) to dynamically identify, reconfigure, and allocate the GPU instances. MIGRator leverages the "Goodput" metric in the ILP objective function to consider both inference SLO attainment and model accuracy in the reconfiguration exploration. We evaluate MIGRator using representative multi-tenancy CL workloads. The results show our approach outperforms the state-of-the-art GPU sharing techniques (i.e., Ekya, Astraea, and PARIS) by 17\%, 21\%, and 20\%, respectively.

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

↑