Implement tensor-parallel linear layers (column-parallel then row-parallel) with correct f

Cluster Infrastructure: 5D Parallelism, Scheduling, and Checkpoints4 / 4

Chapter 254 / 4

Cluster Infrastructure: 5D Parallelism, Scheduling, and Checkpoints

Implement tensor-parallel linear layers (column-parallel then row-parallel) with correct f

Super-hard

Implement tensor-parallel linear layers (column-parallel then row-parallel) with correct forward/backward collectives in PyTorch.

Target interface
class _CopyToModelParallel

Complete the starter code in the editor. Any correct approach is accepted.

Hints0 / 2
Reference solution
Your own code stays in the editor.