跳到正文
r/MachineLearning· /u/East-Muffin-6472·· 15 天前AI 评分42

面向初学者的 LLM 分布式训练理论学习与代码资源清单

Curated list of resources: Theory and Code for learning Distributed Training for beginners [P]

AI 导读

一份面向初学者的 LLM 分布式训练入门资源清单,按顺序涵盖从零构建分布式训练框架、Horovod、PyTorch Distributed、ZeRO、Megatron-LM、GPipe、ZeRO-Infinity 和 PyTorch FSDP 等论文与教程。清单还提供资源链接,并允许读者自行调整顺序或增删条目。

正文
Curated list of resources: Theory and Code for learning Distributed Training for beginners [P]

[Must Read: Beginners]

What I did read, in order, for learning the basics of Distributed Training for LLMs From Scratch:

  1. Building a distributed training framework from first principles by Umar Jamil on YT

  2. Horovod: Fast and Easy Distributed Deep Learning in TensorFlow

  3. PyTorch Distributed: Experiences on Accelerating Data Parallel Training

  4. Large Scale Distributed Deep Networks

  5. ZeRO: Memory Optimizations Toward Training Trillion Parameter Models

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

  7. Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM

  8. GPipe: Efficient Training of Giant Neural Networks Using Pipeline Parallelism

  9. ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learning

  10. PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel

Link to the above resources here

Also, if you need some rebalancing of the above (reordering or adding/removing resources which you can do it here)

submitted by /u/East-Muffin-6472
[link] [留言]

来源:r/MachineLearning · reddit.com