Parallelism
A 70B model in bf16 needs 140 GB for its weights alone, and a common 80 GB card such as an H100 can't hold it. A 400B model, even in fp8, needs a whole 8-GPU server of them. When a model won't fit on one card, you split it, and the way you split it decides how fast it runs and how much the GPUs spend talking to each other.
In this lesson you'll learn to
- Recognise when a model needs more than one GPU, from weights, KV cache and latency.
- Explain tensor parallelism, and why it needs fast links between GPUs.
- Explain pipeline parallelism, its bubbles, and when it fits.
- Plan a layout combining tensor and pipeline parallelism with replicas, and know where expert parallelism fits.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.