Enhancing Collective Communication in MCM Accelerators for Deep Learning Training
Enhancing Collective Communication in MCM Accelerators for Deep Learning Training
复制标题
DOI:
10.1109/hpca57654.2024.00069
复制
发表时间:
2024-03
期刊:
影响因子:
--
通讯作者:
Sabuj Laskar;Pranati Majhi;Sungkeun Kim;Farabi Mahmud;A. Muzahid;Eun Jung Kim
中科院分区:
文献类型:
--
作者:
Sabuj Laskar;Pranati Majhi;Sungkeun Kim;Farabi Mahmud;A. Muzahid;Eun Jung Kim
With the widespread adoption of Deep Learning (DL) models, the demand for DL accelerator hardware has risen. On top of that, DL models are becoming massive in size. To accommodate those models, multi-chip-module (MCM) emerges as an effective approach for implementing large-scale DL accelerators. While MCMs have shown promising results for DL inference, its potential for Deep Learning Training remains largely unexplored. Current approaches fail to fully utilize available links in a mesh interconnection network of an MCM accelerator. To address this issue, we propose two novel AllReduce algorithms for mesh-based MCM accelerators - RingBiOdd and Three Tree Overlap (TTO). RingBiOdd is a ring-based algorithm that enhances the bandwidth of AllReduce by creating two unidirectional rings using bidirectional interconnects. On the other hand, TTO is a tree-based algorithm that improves AllReduce performance by overlapping data chunks. TTO constructs three topology-aware disjoint trees and runs different steps of the AllReduce operation in parallel. We present a detailed design and implementation of the proposed approaches. Our experimental results over seven DL models indicate that RingBiOdd achieves 50% and 8% training time reduction over unidirectional Ring AllReduce and MultiTree. Furthermore, TTO demonstrates 33% and 29% training time reduction over state-ofthe-art MultiTree and Bidirectional Ring AllReduce, respectively.