Astra:异构 GPU 上高效且节省成本的自动并行策略搜索
Astra: Efficient and Money-saving Automatic Parallel Strategies Search on Heterogeneous GPUs
AI总结:
提出 Astra 框架,在异构 GPU 上联合搜索 GPU 配置与并行参数,并通过训练耗时建模实现高吞吐、低成本的自动并行策略,搜索快且准确率超 95%。
摘要:
本文介绍了一个面向异构 GPU 的高效且节省成本的自动并行策略搜索框架:Astra。首先,Astra 在 GPU 配置搜索空间(GPU 类型和 GPU 数量)以及并行参数搜索空间中搜索效率最优的并行策略。随后,Astra 通过对异构训练的时间消耗进行数学建模,还提供了异构 GPU 上的解决方案。最后,Astra 首次提出了面向节省成本的自动并行策略搜索。实验结果表明,Astra 能够获得优于专家设计策略的吞吐量。Astra 的搜索时间开销在单 GPU 设置下也可限制在 1.27 秒,在异构 GPU 设置下平均少于 1.35 分钟,且准确率超过 95%。
英文摘要:
In this paper, we introduce an efficient and money-saving automatic parallel strategies search framework on heterogeneous GPUs: Astra. First, Astra searches for the efficiency-optimal parallel strategy in both GPU configurations search space (GPU types and GPU numbers) and parallel parameters search space. Then, Astra also provides the solution on heterogeneous GPUs by mathematically modeling the time consumption of heterogeneous training. At last, Astra is the first to propose the automatic parallel strategy search on money-saving. The experiment results demonstrate that Astra can achieve better throughput than expert-designed strategies. The search time cost for Astra can also be limited to 1.27 seconds in a single-GPU setting and less than 1.35 minutes in a heterogeneous-GPU setting on average with an accuracy of over 95%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。