Roofline analysis explains why FSDP fails for DeepSeek-V3 training on Hopper

ezyang · x · 2026-10-04

Edward Z. Yang's third essay uses roofline analysis to derive a feasible DeepSeek-V3 training config on a 2048×H800 cluster. With FLOPs fixed, distributed communication dominates; roofline math shows FSDP (ZeRO-3) would be bandwidth-bound on InfiniBand, ruling it out in favor of other parallelism strategies — and the optimal config converges to what DeepSeek actually chose. Also discusses hardware-architecture codesign like expert sparsity.

Related event: PyTorch Core Dev Uses Roofline Model to Break Down DeepSeek-V3 Training(2 posts)→

Original post →

More from Infra

Infra channel →