Regional optical switching enables efficient MoE training by adapting to real-time traffic patterns.
mFabric dynamically rewires network paths during MoE training to optimize expert communication.
mFabric introduces a dynamic network architecture that reconfigures itself during MoE model training to optimize communication between experts efficiently.
-----
https://arxiv.org/abs/2501.03905
π€ Original Problem:
β Current GPU interconnects use static network topologies that can't adapt to MoE models' dynamic communication patterns
β MoE models require frequent all-to-all communications between experts that vary unpredictably during training
β Existing solutions waste bandwidth and slow down training due to inflexible architectures
-----
π Key Insights:
β MoE's communication patterns show strong locality within expert groups
β Expert computation phases provide windows to hide network reconfiguration
β Regional reconfiguration is more practical than global reconfiguration
-----
β‘ Solution in this Paper:
β mFabric introduces regionally reconfigurable high-bandwidth domains using optical circuit switching
β It monitors traffic patterns and predicts communication demands between experts
β The system reconfigures optical circuits during expert computation phases to optimize bandwidth
β A custom communication manager routes different types of parallel traffic through appropriate paths
-----
π Results:
β Matches performance of non-blocking fat-tree networks while reducing costs by 1.2x-1.5x at 100Gbps
β Improves cost efficiency by 1.9x-2.3x at 400Gbps
β Scales effectively to 30K+ GPUs
β Outperforms TopoOpt by 2.5x in training speed
------
Are you into AI and LLMsβ Join my daily AI newsletter. I will send you 7 emails a week analyzing the highest signal AI developments. ββ
π https://rohanpaul.substack.com/










