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

SpecInF:通过推测性推理填充利用分布式深度学习训练中的空闲GPU资源

SpecInF: Exploiting Idle GPU Resources in Distributed DL Training via Speculative Inference Filling

Cunchi Lv, Xiao Shi, Dong Liang, Wenting Tan, Xiaofang Zhao

AI总结:

SpecInF通过推测性推理填充方法,利用分布式深度学习训练中的空闲GPU资源,将推理实例与训练实例共置,检测训练气泡并自适应填充,显著提升GPU利用率,同时保证训练吞吐量。

摘要:

深度学习(DL),尤其是大型语言模型(LLMs),为各个领域带来了益处。然而,由于资源分配和集合通信等多种因素,深度学习训练系统通常会产生显著的空闲GPU资源。为了提高GPU利用率,我们提出了SpecInF,它采用推测性推理填充方法来利用空闲GPU资源。它将每个主训练实例与额外的推理实例共同部署在同一GPU上,检测训练气泡,并自适应地填充在线或离线推理工作负载。我们的结果表明,SpecInF能够在主流并行训练模式下有效提升GPU利用率,相比TGS提供额外高达14倍的离线推理吞吐量,相比MPS将在线推理p95延迟降低67%,同时保证共置训练吞吐量。

英文摘要:

Deep Learning (DL), especially with Large Language Models (LLMs), brings benefits to various areas. However, DL training systems usually yield prominent idling GPU resources due to many factors, such as resource allocation and collective communication. To improve GPU utilization, we present SpecInF, which adopts a Speculative Inference Filling method to exploit idle GPU resources. It collocates each primary training instance with additional inference instances on the same GPU, detects the training bubbles and adaptively fills with online or offline inference workloads. Our results show that SpecInF can effectively enhance GPU utilization under mainstream parallel training modes, delivering additional up to 14$\times$ offline inference throughputs than TGS and 67\% reduction in online inference p95 latency than MPS, while guaranteeing collocated training throughput.

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

↑