Super-hard

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

Infrastructure, Distributed Training & Scaling · Problem 4 of 4

Chapter 06Infrastructure, Distributed Training & Scaling

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

Super-hardProblem 4 / 4

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

Implement the function/class skeleton in the editor. Any correct approach is accepted.

Hints