179 questions
No questions match those filters.
Why is the throughput hit of ZeRO 3 compared to DDP oft...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansWhile ZeRO stage 3 theoretically increases communication by 50% (3P vs 2P), the real-world impact is often lower. First, FSDP implementations overlap communication and computation by prefetching the next layer’s AllGather while the current layer’s forward pass is executing. Second, by sharding optimizer states, FSDP frees up significant memory, enabling larger effective batch sizes per GPU, which improves overall utilization. Finally, the raw byte ratio assumes communication is the sole bottleneck, whereas forward and backward compute flops typically dominate the total wall-clock time.