Back to Research Index
RFC•
2024-10-12
•Author: Swasthik Shetty•Status: ACCEPTED

RFC 004: Bandwidth-Optimal Ring All-Reduce over TCP Sockets

Decentralized distributed training communication for commodity networks

RFC 004: Bandwidth-Optimal Ring All-Reduce over TCP Sockets

RFC 2024-10-12 Authors: Swasthik Shetty

Abstract: Specification of the distributed cluster module in Dark Forest implementing Baidu ring all-reduce directly over TCP sockets without requiring proprietary InfiniBand hardware.

Communication Complexity

For a cluster of N nodes transmitting a tensor of size S:

text
Total Data Transferred = 2 * (N - 1) / N * S

The per-node transmission cost remains strictly bounded as $N$ scales.