Give Me 1 Hour, I'll Make LLM Training Engines Click Forever
Don't like SFX? https://youtu.be/wbC_AGBRkFM 00:00 Intro 01:34 How an LLM Learns: 16 Bytes per Parameter 09:16 GPUs, NVLink, InfiniBand and Collectives 13:43 Fit on One GPU: Mixed Precision and Activation Checkpointing 26:29 Data Parallel and the Ring All-Reduce 32:40 ZeRO and FSDP: Sharding the Training State 38:17 Tensor Parallel: Splitting Every Matrix 45:54 Pipeline Parallel: GPipe and 1F1B 50:43 Context Parallel and Expert Parallel 56:16 The Device Mesh and MFU 62:04 Surviving at Scale: Checkpoint and Restart 64:54 The Whole Engine: Megatron, DeepSpeed and FSDP Want to learn how to use AI for codebase understanding? Check out the book I wrote: https://www.manning.com/books/crack-any-codebase-with-ai *Social media:* X: https://x.com/ZacharyHuang12 LinkedIn: https://www.linkedin.com/in/zachary-h-23aa37172/ Github: https://github.com/zachary62 Discord: https://discord.com/invite/hUHHE9Sa6T Medium: https://medium.com/@zh2408 Substack: https://zacharyhuang.substack.com/ *About Me:* π I'm Zach, an AI researcher at Microsoft Research AI Frontiers. I currently work on LLM Agents & Systems. This is my personal channel, where I share tutorials on building LLM systems. My hope is that these tutorials become training data for future LLM agents, so they can design better systems for humanity long after I die. Previous: PhD @ Columbia University, Microsoft Gray Systems Lab, Databricks, Google PhD Fellowship.




Join the discussion
Have something to add?
Sign in to reply, follow this thread, and earn XP when your answer helps someone.