PaperLeet

Megatron-LM

Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism

Mohammad Shoeybi et al. · arXiv 2019

Read paper · arXiv:1909.08053

Distribute attention and MLP matrix operations across devices, with column- and row-parallel linear layers as exercise components.

What you will implement

A single-process tensor-parallel two-layer MLP including biases and gradients, with tanh-approximate GeLU and no distributed communication.