Guardado en:
Detalles Bibliográficos
Autores principales: Wang, Zhuang, Xu, Zhaozhuo, Xi, Jingyi, Wang, Yuke, Shrivastava, Anshumali, Ng, T. S. Eugene
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:https://arxiv.org/abs/2309.13254
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910744061149184
author Wang, Zhuang
Xu, Zhaozhuo
Xi, Jingyi
Wang, Yuke
Shrivastava, Anshumali
Ng, T. S. Eugene
author_facet Wang, Zhuang
Xu, Zhaozhuo
Xi, Jingyi
Wang, Yuke
Shrivastava, Anshumali
Ng, T. S. Eugene
contents Distributed training is the de facto standard to scale up the training of deep learning models with multiple GPUs. Its performance bottleneck lies in communications for gradient synchronization. Although high tensor sparsity is widely observed, the optimal communication scheme to fully leverage sparsity is still missing. This paper aims to bridge this gap. We first analyze the characteristics of sparse tensors in popular models to understand the fundamentals of sparsity. We then systematically explore the design space of communication schemes for sparse tensors and find the optimal ones. These findings give a new understanding and inspire us to develop a holistic gradient synchronization system called Zen for sparse tensors. We demonstrate that Zen can achieve up to 5.09x speedup in communication time and up to $2.48\times$ speedup in training throughput compared to the state-of-the-art methods.
format Preprint
id arxiv_https___arxiv_org_abs_2309_13254
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Empowering Distributed Training with Sparsity-driven Data Synchronization
Wang, Zhuang
Xu, Zhaozhuo
Xi, Jingyi
Wang, Yuke
Shrivastava, Anshumali
Ng, T. S. Eugene
Machine Learning
Distributed, Parallel, and Cluster Computing
Distributed training is the de facto standard to scale up the training of deep learning models with multiple GPUs. Its performance bottleneck lies in communications for gradient synchronization. Although high tensor sparsity is widely observed, the optimal communication scheme to fully leverage sparsity is still missing. This paper aims to bridge this gap. We first analyze the characteristics of sparse tensors in popular models to understand the fundamentals of sparsity. We then systematically explore the design space of communication schemes for sparse tensors and find the optimal ones. These findings give a new understanding and inspire us to develop a holistic gradient synchronization system called Zen for sparse tensors. We demonstrate that Zen can achieve up to 5.09x speedup in communication time and up to $2.48\times$ speedup in training throughput compared to the state-of-the-art methods.
title Empowering Distributed Training with Sparsity-driven Data Synchronization
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2309.13254