Skip to content
DistML Course
Course contents
On this page

Part 3 · ML Parallelism · Chapter 12

Tensor Parallelism

Introduction

Tensor parallelism splits individual operators across GPUs. This chapter will start with matrix operations, build up to a transformer, and examine how partitioning choices determine the communication between ranks.

We will cover:

  • Matrix partitioning: Splitting matrix operations and combining their outputs.
  • A tensor-parallel transformer: Connecting partitioned operators throughout the model.
  • Parallelism degree: Choosing how many GPUs participate in each operator.
  • Worked example and experiments: Implementing the partitioning and measuring its performance.

Stay tuned for the full chapter!