arrow
返回

Improving Automatic Parallel Training via Balanced Memory Workload Optimization

通过平衡内存工作负载优化改进自动并行训练

delete2024-08-01
delete0
delete
OA
AI
Y
Y X Wang *
Y
Youhe Jiang
Xupeng Miao 封面图
Xupeng Miao (Xupeng Miao)
F
Fangcheng Fu
S
Shenhan Zhu
X
Xiaonan Nie
Y
Yaofeng Tu
崔斌 封面图
崔斌 (Bin Cui)
DOI:10.1109/TKDE.2024.3370614delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Transformer models have emerged as the leading approach for achieving state-of-the-art performance across various application domains, serving as the foundation for advanced large-scale deep learning (DL) models. However, efficiently training these models across multiple GPUs remains a complex challenge due to the abundance of parallelism options. Existing DL systems either require manual efforts to design distributed training plans or limit parallelism combinations to a constrained search space. In this paper, we present Galvatron-BMW, a novel system framework that integrates multiple prevalent parallelism dimensions and automatically identifies the most efficient hybrid parallelism strategy. To effectively navigate this vast search space, we employ a decision tree approach for decomposition and pruning based on intuitive insights. We further utilize a dynamic programming search algorithm to derive the optimal plan. Moreover, to improve resource utilization and enhance system efficiency, we propose a bi-objective optimization workflow that focuses on workload balance. Our evaluations on different Transformer models demonstrate the capabilities of Galvatron-BMW in automating distributed training under varying GPU memory constraints. Across all tested scenarios, Galvatron-BMW consistently achieves superior system throughput, surpassing previous approaches that rely on limited parallelism strategies.
Keyword:
Parallel processing
Transformers
Computational modeling
Training
Data models
Memory management
Costs
distributed learning
automatic parallelism
Allspark: Workload Orchestration for Visual Transformers on Processing In-Memory Systems
err2025-02-01
err0
PREAI
errGe, Mengke; Wang, Junpeng; Chen, Binhan; Zhong, Yingjian; Du, Haitao; Chen, Song; Kang, Yi
err分享
err收藏
A Multidimensional Communication Scheduling Method for Hybrid Parallel DNN Training
err2024-08-01
err0
PREAI
errLi, Shengwei; Lu, Kai; Lai, Zhiquan; Liu, Weijie; Ge, Keshi; Li, Dongsheng
err分享
err收藏
Accelerating Distributed SGD With Group Hybrid Parallelism
err2021-01-01
err4
errOAAI
errJoo, Kyung-No; Youn, Chan-Hyun
err分享
err收藏
The Case for Strong Scaling in Deep Learning: Training Large 3D CNNs With Hybrid Parallelism
err2021-01-01
err22
errOAAI
errOyama, Yosuke; Maruyama, Naoya; Dryden, Nikoli; Mccarthy, Erin; Harrington, Peter; Balewski, Jan; Matsuoka, Satoshi; Nugent, Peter; Van Essen, Brian
err分享
err收藏
Parallel Training of Pre-Trained Models via Chunk-Based Dynamic Memory Management
err2023-01-01
err13
errOAAI
errFang, Jiarui; Zhu, Zilin; Li, Shenggui; Su, Hui; Yu, Yang; Zhou, Jie; You, Yang
err分享
err收藏

期刊

IEEE Transactions on Knowledge and Data Engineering 封面图
IEEE Transactions on Knowledge and Data Engineering
IF:
10.4
论文数:
7.0K
被引数:
4.1W

机构

北京大学 封面图
北京大学
学者数:
9.2K
论文数: 2.8K
被引数: 7.1W
C
Carnegie Mellon University
学者数:
1.6K
论文数: 586
被引数: 1.5W
Z
ZTE
学者数:
6
论文数: 6
被引数: 309
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
err分享
err收藏
Lithium Dendrites: Inside or Outside: Origin of Lithium Dendrite Formation of All Solid‐State Electrolytes (Adv. Energy Mater. 40/2019)
err2019-10-24
err0
errOAAI
errFangjie Mo; Jiafeng Ruan; Shuxian Sun; Zixuan Lian; Sangpu Yang; Xinyang Yue; Yun Song; Yong‐Ning Zhou; Fang Fang; Guangai Sun; Shuming Peng; Dalin Sun
err分享
err收藏
Oocyte activation induced by spermatids and the spermatozoa
err2002-01-04
err0
errOAAI
errKaoru Yanagida; Hiroyuki Yazawa; Haruo Katayose; Yasuyuki Kimura; Syotaro Hayashi; Akira Sato
err分享
err收藏
err分享
err收藏
Floquet-Bloch operator for the Bose-Hubbard model with static field
err2003-11-25
err0
PREAI
errAndrey R. Kolovsky; Andreas Buchleitner
err分享
err收藏
学者 查看更多内容