入门精选:LLM 分布式训练的理论与代码学习资源清单

一位用户按阅读顺序整理了从零学习 LLM 分布式训练基础的资源清单,覆盖 Umar Jamil 的分布式训练框架实作教程,以及 Horovod、PyTorch Distributed、Large Scale Distributed Deep Networks、ZeRO、Megatron-LM、GPipe、ZeRO-Infinity、PyTorch FSDP 等论文,并欢迎读者对清单重排顺序或增删资源。
【入门必读】为了从零学习 LLM 分布式训练的基础,我按顺序读了以下材料:
From Scratch: Building a distributed training framework from first principles(Umar Jamil 的 YouTube 课程)
Horovod: Fast and Easy Distributed Deep Learning in TensorFlow
PyTorch Distributed: Experiences on Accelerating Data Parallel Training
Large Scale Distributed Deep Networks
ZeRO: Memory Optimizations Toward Training Trillion Parameter Models
Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM
GPipe: Efficient Training of Giant Neural Networks Using Pipeline Parallelism
ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learning
PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel
上述资源的链接见原帖。此外,如果你觉得这份清单需要重新调整(重排顺序或增删资源),也可以在原帖中操作。