Save this video free

EfficientML.ai Lecture 19 - Distributed-Training (Part II) (MIT 6.5940 Fall 2026)

MIT HAN Lab · 1:00:21 · Watch on YouTube

Part of Massachusetts Institute of Technology 6.5940 EfficientML.ai. See all 20 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

The lecture explains how to combine data, pipeline, tensor, and sequence parallelism, and how Berkeley's Alpa searches distributed-training layouts by modeling compute, communication, and resharding costs. It then covers bandwidth-saving gradient compression, including Deep Gradient Compression's momentum correction and warm-up, which enabled up to 99.9% sparsity and about 597× gradient-size savings, plus delayed gradient averaging to hide network latency.

Key takeaways

Chapters

0:00 Four Parallelism Strategies and Hybrid GPU Layouts
9:15 Alpa Automates Distributed-Training Strategy Search
14:34 Network Bandwidth and Latency Limit Distributed Scaling
19:36 Sparse Gradient Communication and Error Feedback
23:20 Deep Gradient Compression Corrects Momentum Accumulation
30:07 Warm-Up Stabilizes Extreme Gradient Sparsity
35:14 Sparse Aggregation Pitfalls and PowerSGD Low-Rank Compression
39:54 One-Bit and Ternary Gradient Quantization
43:39 Why Synchronous SGD Suffers from Communication Latency
47:03 Delayed Gradient Averaging Overlaps Communication and Compute
52:55 Delayed-Update Benchmarks and Lecture Recap
56:21 EfficientML.ai Course Retrospective and Project Presentations

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 Okay, good afternoon everyone. Let's get started. Welcome to the last lecture of efficient ML.AI. So this is lecture 20 uh distributed training part two. So last week uh we talked about how to paralyze the training across multiple GPUs since using a single GPU you may not fit a pretty large model or it takes too long to train. Uh today we'll talk about hybrid uh parallelism combining different parallelization approaches and how to automate this process and then we want to introduce the bandwidth and latency bottleneck of of distributed training and then introduce gradient compression deep gradient compression. Previously we talked about how to compress the weight how to compress the

0:47 activations. Now let's talk about how to compress the gradient so that you need to send and receive less gradient. We'll talk about gradient pruning and also gradient quantization. And lastly, we'll uh talk about how can you tolerate such long latency by using delayed gradient delayed gradient update to overcome the latency bottleneck. So let's start with introducing the hybrid and mixed parallelism. This is a quick overview of what we have learned so far. the four different parallelization approaches including the data parallelism, pipeline parallelism, tensor parallelism and also sequence parallelism. So on the top left corner is data parallelism. You have a a blue

1:37 data on the top and uh green data on the bottom. You feed them concurrently to two different GPUs. They share the same weight and they process them concurrently. So split the data and you have n copies of the model. You can also do sharding. So for example the fs fsdp we talked about last last week and zero approaches where you can fully shard the weight the gradient um the optimizer states across all the GPUs. Next we also have the uh pipeline

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, MIT HAN Lab.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.