Estimate per-GPU memory for a 72B model under ZeRO-3
HardConcept20 minRERSMLEPro outline
The question
You train a 72B model with mixed precision and Adam. Estimate total memory for weights, gradients and optimizer states, then the per-GPU share under ZeRO-1, 2 and 3 on 64 GPUs. What else do you need memory for?
What the interviewer is looking for
- Uses about 16 bytes per parameter for mixed precision Adam
- Gets about 1,152 GB total model state
- Divides correctly per stage
- Remembers activations and buffers
- Mentions offload and activation checkpointing
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Tencent Hunyuan question type: ZeRO stages 1 to 3 and per-GPU memory for a 72B model under ZeRO-3.
Reported in: nowcoder.com, nowcoder.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Tencent Hunyuan question.