Efficient Cross-Cloud Partial Reduce With CREW
Shouxi Luo,Renyi Wang,Ke Li,Huanlai Xing
DOI: https://doi.org/10.1109/tpds.2024.3460185
IF: 5.3
2024-10-05
IEEE Transactions on Parallel and Distributed Systems
Abstract:By allowing p out of n workers to conduct all reduce operations among them for a round of synchronization, partial reduce, a promising partially-asynchronous variant of all reduce, has shown its power in alleviating the impacts of stragglers for iterative distributed machine learning (DML). Current partial reduce solutions are mainly designed for intra-cluster DML, in which workers are networked with high-bandwidth LAN links. Yet no prior work has looked into the problem of how to achieve efficient partial reduce for cross-cloud DML, where inter-worker connections are with scarcely-available capacities. To fill the gap, in this paper, we propose CREW, a flexible and efficient implementation of partial reduce for cross-cloud DML. At the high level, CREW is built upon the novel design of employing all active workers along with their internal connection capacities to execute the involved communication and computation tasks; and at the low level, CREW employs a suite of algorithms to distribute the tasks among workers in a load-balanced way, and deal with possible outages of workers/connections, and bandwidth contention. Detailed performance studies confirm that, CREW not only shortens the execution of each partial reduce operation, outperforming existing communication schemes such as PS, Ring, TopoAdopt, and BLINK greatly, but also significantly accelerates the training of large models, up to 15× and 9×, respectively, when compared with the all-to-all direct communication scheme and original partial reduce design.
computer science, theory & methods,engineering, electrical & electronic