Data, tensor, pipeline and expert parallelism: when do you use each?
HardConcept25 minRERSMLEPro outline
The question
You need to train a large transformer across many GPU nodes. Explain data parallelism (including sharded variants), tensor parallelism, pipeline parallelism and expert parallelism.
For each, what is split, what is communicated, and what limits it? How would you combine them?
What the interviewer is looking for
- Correct description of what each method splits
- Knows the communication pattern and where it should run (inside or across nodes)
- Understands memory savings from sharding optimizer states, gradients and parameters
- Explains the pipeline bubble and microbatching
- Can sketch a sensible combined layout for a given cluster
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Mistral AI question type: Mixture of experts, parallelism, normalization and optimizers.
Reported in: supacv.com, datainterview.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Mistral AI question.