[Paper Review] Photonic Rails in ML Datacenters with Opus
Opus reimagines rail-optimized ML datacenter fabrics by using reconfigurable optical circuit switches and a control plane that time-multiplexes circuits across parallelism phases, achieving large energy and cost savings with modest overhead.
Rail-optimized network fabrics have become the de facto datacenter scale-out fabric for large-scale ML training. However, the use of high-radix electrical switches to provide all-to-all connectivity in rails imposes massive power and cost. We propose a rethinking of the rail abstraction by retaining its communication semantics, but realizing it using optical circuit switches. The key challenge is that optical switches support one-to-one connectivity at a time, limiting the fan-out of traffic in ML workloads using hybrid parallelisms. We overcome this through \emph{parallelism-driven rail reconfiguration}, which exploits the non-overlapping communication phases of different parallelism dimensions. This time-multiplexes a single set of physical ports across circuit configurations tailored to each phase within a training iteration. We design and implement Opus, a control plane that orchestrates this in-job reconfiguration of photonic rails at parallelism phase boundaries, and evaluate it on a physical OCS testbed, the Perlmutter supercomputer, and in simulation at up to 2,048 GPUs. Our results show that photonic rails can achieve over $23 imes$ network power reduction and $4 imes$ cost savings while incurring less than $6\%$ training overhead at production-relevant OCS reconfiguration latencies.
Motivation & Objective
- Motivate reducing power and cost in rail-optimized ML datacenter fabrics.
- Preserve rail-level semantics while replacing electrical switches with optical circuit switches.
- Develop a control plane (Opus) to orchestrate in-job, phase-based rail reconfiguration.
- Quantify tradeoffs between ML training performance and energy/cost savings through hardware experiments and simulations.
Proposed method
- Replace electrical rail switches with reconfigurable optical circuit switches (OCSes) to form photonic rails while keeping existing rail topology intact.
- Develop Opus, an application-layer control plane with three components: Opus shim (per-GPU), Opus controller (per job), and Opus network orchestrator (per rail).
- Exploit non-overlapping communication phases across parallelism dimensions to time-multiplex a single set of ports across circuit configurations.
- Profile and identify phase boundaries to enable speculative provisioning and safe reconfiguration of OCSes.
- Implement and evaluate in a physical OCS testbed, on the Perlmutter supercomputer, and in simulations up to 2,048 GPUs to measure overheads and savings.
Experimental results
Research questions
- RQ1Can photonic rails with Opus preserve the performance of rail-optimized fabrics for ML training across hybrid parallelisms?
- RQ2What are the potential network power and cost savings when replacing electrical rail switches with OCSes in ML datacenters?
- RQ3What is the acceptable reconfiguration latency for Opus to be practical within ML training iterations?
- RQ4How does Opus manage phase-boundary reconfigurations safely and efficiently across multiple parallelism dimensions?
Key findings
- Photonic rails with Opus can achieve over 23× network power reduction compared to electrical rails.
- They achieve up to 4× cost savings for networking infrastructure.
- Training overhead remains under 6.7% at production-relevant OCS reconfiguration latencies (≤100 ms).
- Experiments span a physical OCS hardware testbed, emulation on the Perlmutter supercomputer, and simulations up to 2,048 GPUs.
- Opus demonstrates safe, speculative provisioning and phase-boundary reconfiguration that hides latency within idle windows between parallelism phases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.