Skip to content
DistML Course
Course contents
On this page

Part 2 · Collective Communication · Chapter 7

Collective Algorithms

Introduction

A collective specifies the result, but its algorithm determines how data moves between GPUs. This chapter will compare communication schedules and explain how message size and hardware topology affect the choice of algorithm.

We will cover:

  • Ring algorithms: Organizing transfers around a ring and following the data through each step.
  • Tree algorithms: Moving and combining data through a tree.
  • All-to-all algorithms: Scheduling exchanges between every pair of ranks.
  • Topology-aware scheduling: Mapping communication onto the available GPU and network links.
  • Communication cost models: Comparing latency, transferred bytes, and bandwidth requirements.

Stay tuned for the full chapter!