Foundations of GPU Parallelism
Introduction to the 5D parallelism landscape and setting up the development environment.
Core Topics
- GPU architecture basics
- Parallelism overview
- Environment setup
Resources & Assignments
Master the essentials of GPU parallelism for large language models by replicating the HuggingFace Ultra Scale Playbook and building a distributed GPT-2 cluster.
View course on VizuaraIn this intensive bootcamp, you will gain hands-on experience with the exact parallelization techniques used at OpenAI, Google DeepMind, and Meta FAIR.
You will move beyond theory to implement Data, Tensor, Pipeline, Sequence, and Context parallelism from scratch, culminating in a fully distributed GPT-2 model.
By the end of this course, you will be able to:
Introduction to the 5D parallelism landscape and setting up the development environment.
Core Topics
Resources & Assignments
Mastering the distribution of training batches across multiple GPUs.
Core Topics
Resources & Assignments
Splitting model layers across GPUs to handle massive model parameters.
Core Topics
Resources & Assignments
Splitting model stages into a pipeline to optimize memory usage.
Core Topics
Resources & Assignments
Distributing sequence length and attention context across GPU clusters.
Core Topics
Resources & Assignments
Implementing Zero Redundancy Optimizer (ZeRO) from scratch.
Core Topics
Resources & Assignments
Reviewing foundational papers that define modern scaling strategies.
Core Topics
Resources & Assignments
Final project: Build and distribute GPT-2 across a cluster of GPUs.
Core Topics
Resources & Assignments
Hands-on coding assignments for each parallelism type (Data, Tensor, Pipeline, Sequence, Context).
Build a functional ZeRO optimizer from scratch.
Deploy and train a distributed GPT-2 model across a multi-GPU cluster.