Skip to main navigation Skip to search Skip to main content

Scalable Fully Pipelined Hardware Architecture for In-Network Aggregated AllReduce Communication

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

The Ring-AllReduce framework is currently the most popular solution to deploy industry-level distributed machine learning tasks. However, only about half of the maximum bandwidth can be achieved in the optimal condition. In recent years, several in-network aggregation frameworks have been proposed to overcome the drawback, but limited hardware information have been disclosed. In this paper, we propose a scalable fully-pipelined architecture that handles tasks like forwarding, aggregation and retransmission with no bandwidth loss. The architecture is implemented on a Xilinx Ultrascale FPGA that connects to 8 working servers with 10 Gb/s network adapters, and it is able to scale to more complicated scenarios involving more workers. Compared with Ring-AllReduce, using AllReduce-Switch improves the efficient bandwidth of AllReduce communication with a ratio of 1.75x. In image training tasks, the proposed hardware architecture helps to achieve up to 1.67x speedup to the training process. For computing-intensive models, the speedup from communication may be partially hidden by computing. In particular, for ResNet-50, AllReduce-Switch improves the training process with MPI and NCCL by 1.30x and 1.04x respectively.
Original languageEnglish
Pages (from-to)4194-4206
Number of pages13
JournalIEEE Transactions on Circuits and Systems I: Regular Papers
Volume68
Issue number10
Online published29 Jul 2021
DOIs
Publication statusPublished - Oct 2021

Research Keywords

  • AllReduce
  • Bandwidth
  • Collective communication
  • distributed machine learning
  • Hardware
  • in-network aggregation
  • Network topology
  • Peer-to-peer computing
  • Switches
  • Task analysis
  • Topology

Fingerprint

Dive into the research topics of 'Scalable Fully Pipelined Hardware Architecture for In-Network Aggregated AllReduce Communication'. Together they form a unique fingerprint.

Cite this