iPipe: An Efficient Adaptive Pipeline Parallel DNN Training System
Pipeline parallelism is an efficient approach for distributed deep neural network (DNN) model training. However, existing pipeline parallel training systems often employ fixed model allocation strategies, leading to suboptimal efficiency in dynamic training scenarios. To address this issue, this paper proposes an efficient adaptive pipeline training system, iPipe, which dynamically manages the stages of the DNN model on GPUs based on their real-time states, effectively enhancing the training efficiency. In iPipe, a model allocation algorithm based on dynamic programming method is designed to search for an optimal model allocation plan with low complexity. Additionally, a live migration strategy which adopts an alternating computation method is proposed to achieve dynamic migration of model parameters between workers with minimal data transfer. We evaluate iPipe on a real GPU cluster, and the experimental results demonstrate that iPipe outperforms other pipeline parallel training systems in terms of overall training time for DNN models.
Authors
- Wang Qinghe
- Huasen He (ORCID: https://orcid.org/0000-0001-9963-019X)
- Xiaobin Tan (ORCID: https://orcid.org/0000-0001-7489-2839)
- Jian Yang (ORCID: https://orcid.org/0000-0002-7329-4738)
- Xiaofeng Jiang (ORCID: https://orcid.org/0000-0001-7595-2397)
- Zhi Ling (ORCID: https://orcid.org/0009-0006-5022-7256)
- Mo Yu Sha
Institutions
- University of Science and Technology of China (CN)
Publication Details
- Published
- 2024-12-20
- DOI
- https://doi.org/10.1145/3744103.3744115
- Primary Topic
- Brain Tumor Detection and Classification
- Type
- article
- Field-Weighted Citation Impact
- 0.00