Design distributed training for a large transformer
HardML design45 minRERSMLEPro outline
The question
You need to pretrain a dense transformer with tens of billions of parameters on a few thousand accelerators. Design the parallelism layout, the checkpointing, and the monitoring.
Explain what each kind of parallelism communicates and how you would find and fix the bottleneck.
What the interviewer is looking for
- A memory and compute budget before choosing a layout
- Correct roles for data, tensor and pipeline parallelism and sharded optimizer state
- Maps communication-heavy groups to the fastest interconnect
- Fault tolerance: frequent, fast, sharded checkpoints and quick restart
- Measures efficiency with model FLOPs utilization and step time breakdowns
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Google DeepMind question type: design distributed training using pipeline or tensor parallelism and sharded optimizer state.
Reported in: techinterview.org
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Google DeepMind question.