Skip to content
DistML Course
Course contents
On this page

Part 2 · Collective Communication · Chapter 6

Collective Primitives

Introduction

Collective primitives describe how a group of GPUs exchanges and combines data. This chapter will explain what each operation does, what every rank contributes, and where the result ends up.

We will cover:

  • Broadcast and reduction: Sending data from one rank to the group and combining data at a destination rank.
  • Allreduce: Combining inputs and making the result available to every rank.
  • Allgather and reduce-scatter: Gathering distributed pieces and distributing reduced results.
  • All-to-all: Exchanging different pieces of data between ranks.
  • Semantics and ordering: Participation, buffer layout, and the order in which ranks issue collectives.

Stay tuned for the full chapter!