Stanford CS231N | Spring 2025 | Lecture 11: Large Scale Distributed Training

Stanford CS231N | Spring 2025 | Lecture 11: Large Scale Distributed Training

🎙 Justin Johnson 👥 1.2M 📅 September 2, 2025 ⏱ 72 min 👁 51K 📄 lecture 🧭 2026-08-06
Available in: English (current) Français

Keywords

GPUdistributed trainingdata parallelismmodel parallelismLlama 3

Summary

This lecture from Stanford’s CS231N course, taught by Justin Johnson, covers the fundamentals of large-scale distributed training for deep learning models. The speaker begins by explaining the importance of distributed training, noting that modern models are trained on thousands of devices. He uses Llama 3 405B as a running example because it is an open model with publicly available training details. The lecture is divided into two main parts: GPU hardware and training on multiple GPUs. In the hardware section, Johnson provides a detailed breakdown of the NVIDIA H100 GPU, including its memory hierarchy (HBM, L2 cache, L1 cache), streaming multiprocessors, and the crucial role of tensor cores for matrix multiplication. He emphasizes the importance of memory hierarchy and mixed precision for performance. In the distributed training section, he introduces key concepts such as data parallelism, model parallelism, and pipeline parallelism, explaining how they enable training on large clusters. He also discusses communication bottlenecks and techniques like gradient accumulation and all-reduce. The lecture concludes with a discussion of the trade-offs between different parallelism strategies and the practical considerations for scaling up training.

182 words

Critical Evaluation

This lecture provides a comprehensive and rigorous introduction to large-scale distributed training, a topic of critical importance in modern deep learning. The speaker, Justin Johnson, is a well-known researcher and educator, and his expertise is evident throughout. The content is well-structured, starting with a clear motivation for distributed training and then delving into the technical details of GPU hardware and parallelism strategies. The use of Llama 3 405B as a case study is particularly effective, as it grounds the theoretical concepts in a real-world example with publicly available information. The explanation of GPU architecture is thorough, covering the memory hierarchy, streaming multiprocessors, and tensor cores, and highlighting the importance of optimizing for these components. The discussion of distributed training methods is equally detailed, covering data parallelism, model parallelism, and pipeline parallelism, and addressing the communication overhead and scalability challenges. The lecture is technically accurate and up-to-date, reflecting the current state of the art in 2025. One minor limitation is that the lecture focuses primarily on NVIDIA hardware and PyTorch, which are dominant but not the only options. Additionally, while the lecture mentions the lack of transparency from major AI labs, it does not delve into the broader implications of this trend. Overall, this is an excellent educational resource that balances depth and accessibility, making it valuable for both students and practitioners. The title accurately reflects the content, and the lecture delivers on its promise to explain large-scale distributed training.

239 words

Title / Content Match

The title accurately reflects the content, which focuses on large-scale distributed training for neural networks.

Quality & Reliability

9/10

Lecture by a recognized expert (Justin Johnson) from Stanford's CS231N course, based on established knowledge and referencing a specific open model (Llama 3 405B). The content is technical and detailed, with clear explanations of GPU architecture and distributed training methods. No obvious biases or unsupported claims.

Key Moments

Cited Sources

Concurring Sources

  • Llama 3: A New Era of Open Models — Meta's official blog post about Llama 3, which aligns with the lecture's use of Llama 3 as an example.
  • NVIDIA H100 Tensor Core GPU — Official NVIDIA page for the H100 GPU, confirming the hardware details discussed in the lecture.

Contribution & Novelties

This lecture provides a clear and up-to-date overview of large-scale distributed training, using Llama 3 405B as a concrete example. It bridges the gap between theoretical concepts and practical implementation, offering insights into GPU hardware and parallelism strategies. The lecture is particularly valuable for its detailed explanation of the memory hierarchy and tensor cores, which are often overlooked in introductory materials.

Pour aller plus loin :

  • Data Parallelism — Provides a general overview of data parallelism, a key concept in distributed training.
  • Pipeline Parallelism — Explains the concept of pipelining, which is applied in pipeline parallelism for efficient training.
  • Llama 3 Model Card — Official Meta blog post about Llama 3, offering details on the model and its training.
  • NVIDIA H100 Specifications — Official NVIDIA page with technical specifications for the H100 GPU.

133 words

Radar Profile

The radar profile shows high scores across all dimensions, indicating a well-balanced and comprehensive lecture. The strong scores in information quantity and quality reflect the depth and accuracy of the content, while the high technical level and reliability underscore its value for an audience with some background in deep learning.

Reliability 9/10

💬 No comments were provided for analysis.