[论文解读] Photonic Rails in ML Datacenters with Opus
Opus 通过使用可重构光路开关和在并行阶段对电路进行时分复用的控制平面,重新构想铁路优化的 ML 数据中心网络,在 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.
研究动机与目标
- 在铁路优化的 ML 数据中心布框架中推动降低功耗和成本。
- 在保留铁路层语义的前提下,用光路开关替换电气开关。
- 开发一个控制平面(Opus)来编排就地、基于阶段的铁路重配置。
- 通过硬件实验和仿真量化 ML 训练性能与能耗/成本节省之间的权衡。
提出的方法
- 用可重构光路开关(OCS)替换电气铁路开关,形成光子铁路,同时保持现有铁路拓扑。
- 开发 Opus,这是一个应用层控制平面,包含三部分:Opus shim(每 GPU)、Opus 控制器(每个作业)和 Opus 网络编排器(每条铁路)。
- 利用并行维度之间的非重叠通信阶段,在一个端口集合上对不同电路配置进行时分复用。
- 绘制并识别阶段边界以实现投机性配置和对 OCS 的安全重配置。
- 在物理 OCS 测试平台、Perlmutter 超级计算机上实现评估,并在仿真中扩展到 2048 个 GPU,以测量开销与节省。
实验结果
研究问题
- RQ1Opus 的光子铁路能否在混合并行性下为 ML 训练保持铁路优化网络的性能?
- RQ2在 ML 数据中心用 OCS 代替电气铁路开关时,网络的功耗和成本潜在节省是多少?
- RQ3Opus 以何种可接受的重配置时延在 ML 训练迭代中是可行的?
- RQ4Opus 如何在多个并行维度上安全高效地管理阶段边界重配置?
主要发现
- 与电气铁路相比,采用 Opus 的光子铁路网络可以实现超过 23× 的网络功耗降低。
- 在网络基础设施方面实现最高约 4× 的成本节省。
- 在生产相关的 OCS 重配置时延(≤100 ms)下,训练开销保持在 6.7% 以下。
- 实验覆盖物理 OCS 硬件测试床、Perlmutter 超级计算机的仿真,以及多达 2048 个 GPU 的仿真。
- Opus 展示了安全、投机性 provisioning 和阶段边界重配置,能够在并行阶段之间的空闲窗口内隐藏延迟。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。