Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Guo, Xiuyuan, Xu, Chengqi, Guo, Guinan, Zhu, Feiyu, Cai, Changpeng, Wang, Peizhe, Wei, Xiaoming, Su, Junhao, Gao, Jialin
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2411.12780
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910705553244160
author Guo, Xiuyuan
Xu, Chengqi
Guo, Guinan
Zhu, Feiyu
Cai, Changpeng
Wang, Peizhe
Wei, Xiaoming
Su, Junhao
Gao, Jialin
author_facet Guo, Xiuyuan
Xu, Chengqi
Guo, Guinan
Zhu, Feiyu
Cai, Changpeng
Wang, Peizhe
Wei, Xiaoming
Su, Junhao
Gao, Jialin
contents Currently, training large-scale deep learning models is typically achieved through parallel training across multiple GPUs. However, due to the inherent communication overhead and synchronization delays in traditional model parallelism methods, seamless parallel training cannot be achieved, which, to some extent, affects overall training efficiency. To address this issue, we present PPLL (Pipeline Parallelism based on Local Learning), a novel framework that leverages local learning algorithms to enable effective parallel training across multiple GPUs. PPLL divides the model into several distinct blocks, each allocated to a separate GPU. By utilizing queues to manage data transfers between GPUs, PPLL ensures seamless cross-GPU communication, allowing multiple blocks to execute forward and backward passes in a pipelined manner. This design minimizes idle times and prevents bottlenecks typically caused by sequential gradient updates, thereby accelerating the overall training process. We validate PPLL through extensive experiments using ResNet and Vision Transformer (ViT) architectures on CIFAR-10, SVHN, and STL-10 datasets. Our results demonstrate that PPLL significantly enhances the training speed of the local learning method while achieving comparable or even superior training speed to traditional pipeline parallelism (PP) without sacrificing model performance. In a 4-GPU training setup, PPLL accelerated local learning training on ViT and ResNet by 162% and 33%, respectively, achieving 1.25x and 0.85x the speed of traditional pipeline parallelism.
format Preprint
id arxiv_https___arxiv_org_abs_2411_12780
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Faster Multi-GPU Training with PPLL: A Pipeline Parallelism Framework Leveraging Local Learning
Guo, Xiuyuan
Xu, Chengqi
Guo, Guinan
Zhu, Feiyu
Cai, Changpeng
Wang, Peizhe
Wei, Xiaoming
Su, Junhao
Gao, Jialin
Computer Vision and Pattern Recognition
Currently, training large-scale deep learning models is typically achieved through parallel training across multiple GPUs. However, due to the inherent communication overhead and synchronization delays in traditional model parallelism methods, seamless parallel training cannot be achieved, which, to some extent, affects overall training efficiency. To address this issue, we present PPLL (Pipeline Parallelism based on Local Learning), a novel framework that leverages local learning algorithms to enable effective parallel training across multiple GPUs. PPLL divides the model into several distinct blocks, each allocated to a separate GPU. By utilizing queues to manage data transfers between GPUs, PPLL ensures seamless cross-GPU communication, allowing multiple blocks to execute forward and backward passes in a pipelined manner. This design minimizes idle times and prevents bottlenecks typically caused by sequential gradient updates, thereby accelerating the overall training process. We validate PPLL through extensive experiments using ResNet and Vision Transformer (ViT) architectures on CIFAR-10, SVHN, and STL-10 datasets. Our results demonstrate that PPLL significantly enhances the training speed of the local learning method while achieving comparable or even superior training speed to traditional pipeline parallelism (PP) without sacrificing model performance. In a 4-GPU training setup, PPLL accelerated local learning training on ViT and ResNet by 162% and 33%, respectively, achieving 1.25x and 0.85x the speed of traditional pipeline parallelism.
title Faster Multi-GPU Training with PPLL: A Pipeline Parallelism Framework Leveraging Local Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.12780