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

AutoHete:一个面向LLM的自动且高效的异构训练系统

AutoHete: An Automatic and Efficient Heterogeneous Training System for LLMs

Nanyang Technological University(南洋理工大学);Hunan University(湖南大学);National University of Singapore(新加坡国立大学);Alibaba Group(阿里巴巴集团)

Zihao Zeng, Chubo Liu, Xin He, Juan Hu, Yong Jiang, Fei Huang, Kenli Li, Wei Yang Bryan Lim

AI总结:

针对LLM训练受GPU内存限制及现有异构训练方法通信开销大的问题,提出AutoHete系统,通过动态调整检查点与卸载策略及优先级调度机制,在单/多GPU环境下实现1.32至1.91倍吞吐量提升。

摘要:

基于Transformer的大型语言模型(LLM)在序列建模和文本生成方面展现出卓越能力,其性能随模型规模成比例提升。然而,GPU内存的限制阻碍了许多研究者进行LLM训练。现有的异构训练方法虽大幅扩展了可训练模型的规模,却引入了大量通信开销和CPU工作负载。在本研究中,我们提出AutoHete,这是一个自动且高效的异构训练系统,兼容单GPU和多GPU环境。AutoHete根据特定硬件配置和LLM训练需求,动态调整激活检查点、参数卸载和优化器卸载。此外,我们设计了一种基于优先级的调度机制,最大化训练迭代间操作的重叠,从而提升吞吐量。与最先进的异构训练系统相比,AutoHete在各种模型规模和训练配置下实现了1.32倍至1.91倍的吞吐量提升。

英文摘要:

Transformer-based large language models (LLMs) have demonstrated exceptional capabilities in sequence modeling and text generation, with improvements scaling proportionally with model size. However, the limitations of GPU memory have restricted LLM training accessibility for many researchers. Existing heterogeneous training methods significantly expand the scale of trainable models but introduce substantial communication overheads and CPU workloads. In this work, we propose AutoHete, an automatic and efficient heterogeneous training system compatible with both single-GPU and multi-GPU environments. AutoHete dynamically adjusts activation checkpointing, parameter offloading, and optimizer offloading based on the specific hardware configuration and LLM training needs. Additionally, we design a priority-based scheduling mechanism that maximizes the overlap between operations across training iterations, enhancing throughput. Compared to state-of-the-art heterogeneous training systems, AutoHete delivers a 1.32x~1.91x throughput improvement across various model sizes and training configurations.

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

↑