影片進階EN2.1 萬 次觀看
How Thousands of GPUs Train One AI: 5 Ways They Work Together
看影片(在新分頁開啟原站)連到 YouTube・Jia-Bin Huang
摘要
深入探討如何在數千張 GPU 上訓練大型 AI 模型,並詳細解析五種並行策略:資料、張量、序列、上下文與專家並行。講者透過 Llama 3 與 DeepSeek-V3 的實例,說明如何針對模型大小與序列長度組合這些技術,以平衡記憶體、運算與通訊成本,並提供實用的佈局配置步驟。
This video explains five parallelism strategies for training AI models on thousands of GPUs, detailing how to combine data, tensor, sequence, context, and expert parallelism to optimize memory and communication costs.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 五種並行策略分別針對批次、寬度、序列、層數與專家進行工作分割。
- 張量與序列並行適合單伺服器內,上下文並行則用於跨伺服器處理長序列。
- 透過網路層級架構最佳化通訊,可讓數千張 GPU 高效協同訓練大模型。
章節
依話題轉折切分,標題由 AI 產生
- 00:005D parallelism: Five ways to cut the workload
- 00:33Recap: data parallelism and ZeRO
- 04:49The work cube: tokens × sequences × layers
- 06:00Three limits of data parallelism
- 08:44Tensor parallelism: column-linear and row-linear
- 10:24The MLP and attention: one all-reduce each
- 14:10Sequence parallelism
- 16:16Context parallelism: long sequences across servers
- 17:24Ring attention, online softmax and zig-zag
- 20:51Pipeline parallelism 1: the naive schedule and GPipe
- 23:03Pipeline parallelism 2: 1F1B and interleaved stages
- 25:30Pipeline parallelism 3: Zero-bubble and DualPipe
- 27:23Expert parallelism: mixture of experts and all-to-all
- 30:08Pipeline vs ZeRO-3
- 31:58Communication cost and the network hierarchy
- 32:58Llama 3's 16,384-GPU layout
- 34:15The cheatsheet: three steps to your own layout
- 39:21Recap
提到的工具與公司
- ZeRO
- FSDP
- Megatron
- GPipe
- PipeDream-Flush
- DualPipe
- DeepSeek-V3
- Llama 3
適合誰看
適合需要設計或最佳化大型 AI 模型訓練架構的機器學習工程師與系統開發者。
摘要依據
- 講者
- Jia-Bin Huang
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.59
- 新鮮
- 0.87
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- How to Train Really Large Models on Many GPUs?文章 ・ Lilian Weng(部落格) ・
- How AI Models Scale Beyond a Single GPU Across LLM Workloads影片 ・ IBM Technology ・ 9 分鐘 ・
- Training Models Too Big for One GPU | ZeRO & FSDP影片 ・ Jia-Bin Huang ・ 23 分鐘 ・
- How are Trillion Parameter Models Served影片 ・ Vizuara ・ 1 小時 21 分 ・
- Stanford CME295 Transformers & LLMs | Autumn 2026 | Lecture 5 - LLM Systems影片 ・ Stanford Online ・ 1 小時 47 分 ・
- 【生成式AI時代下的機器學習(2025)】助教課:利用多張GPU訓練大型語言模型—從零開始介紹DeepSpeed、Liger Kernel、Flash Attention及Quantization影片 ・ Hung-yi Lee ・ 55 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
