A study of pipeline parallelism in deep neural networks

The current popularity in the application of artificial intelligence to solve complex problems is growing. The appearance of chats based on artificial intelligence or natural language processing has generated the creation of increasingly large and sophisticated neural network models, which are the...

Full description

Saved in:
Bibliographic Details
Main Authors: Gabriel Núñez, Hairol Romero-Sandí, Elvis Rojas, Esteban Meneses
Format: Article
Language:English
Published: Universidad Autónoma de Bucaramanga 2024-06-01
Series:Revista Colombiana de Computación
Subjects:
Online Access:https://revistasunabeduco.biteca.online/index.php/rcc/article/view/5056
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:The current popularity in the application of artificial intelligence to solve complex problems is growing. The appearance of chats based on artificial intelligence or natural language processing has generated the creation of increasingly large and sophisticated neural network models, which are the basis of current developments in artificial intelligence. These neural networks can be composed of billions of parameters and their training is not feasible without the application of approaches based on parallelism. This paper focuses on studying pipeline parallelism, which is one of the most important types of parallelism used to train neural network models in deep learning. In this study we offer a look at the most important concepts related to the topic and we present a detailed analysis of 3 pipeline parallelism libraries: Torchgpipe, FairScale, and DeepSpeed. We analyze important aspects of these libraries such as their implementation and features. In addition, we evaluated them experimentally, carrying out parallel trainings and taking into account aspects such as the number of stages in the training pipeline and the type of balance.
ISSN:1657-2831
2539-2115