YouTube19 Aug 2025
21m

Scaling Llama4 Training to 100K - Live from SCC

Podcast cover

@Scale

Saif Hasan, a software engineer at Meta, details the challenges and solutions for scaling the training of large language models to 100,000 GPUs. The talk addresses the increasing size of LLMs and the corresponding need for more computational resources, noting that Llama4 requires training on a 100,000 GPU cluster. A significant problem is the increasing initialization time as the job scales, compounded by frequent hardware failures, which can reduce effective training time to 50%. To combat this, Hasan outlines two key strategies: improving collective initialization through optimizations like TCP store-based ring formation and bidirectional AllGathers, and implementing fault-tolerant training. Fault-tolerant training isolates failures to subsets of GPUs, allowing healthy GPUs to continue training, improving effective training time to 90%.

Outlines

Part 1: Scaling Challenges and Inefficiencies

Part 2: Initialization and Performance Optimization

Part 3: Fault-Tolerant Training Strategies

Part 4: Future Outlook and Key Takeaways

Sign in to continue reading, translating and more.

Open full episode in Podwise