English

Photonic Rails in ML Datacenters

Networking and Internet Architecture 2025-07-14 v1

Abstract

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, cost, and complexity overheads. 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 only one-to-one connectivity at a time, limiting the fan-out of traffic in ML workloads using hybrid parallelisms. We introduce parallelism-driven rail reconfiguration as a solution that leverages the sequential ordering between traffic from different parallelisms. We design a control plane, Opus, to enable time-multiplexed emulation of electrical rail switches using optical switches. More broadly, our work discusses a new research agenda: datacenter fabrics that co-evolve with the model parallelism dimensions within each job, as opposed to the prevailing mindset of reconfiguring networks before a job begins.

Keywords

Cite

@article{arxiv.2507.08119,
  title  = {Photonic Rails in ML Datacenters},
  author = {Eric Ding and Chuhan Ouyang and Rachee Singh},
  journal= {arXiv preprint arXiv:2507.08119},
  year   = {2025}
}
R2 v1 2026-07-01T03:55:30.065Z