Distributed Matrix Multiplication with Data Parallel and FSDP Simulation
Asked at xAI · System Design for ML · Difficulty: Hard · Last asked Jul 15, 2026
Implement distributed matrix multiplication **C = A @ B** across `world_size` simulated ranks, once as **Data Parallel (DP)** and once as **Fully Sharded Data Parallel (FSDP)**, using only a provided `Communicator` to exchange data between ranks.
Loading the problem…