arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.01503cs.NI
收藏

采用光互连的高可扩展 LLM 集群

On the Design of Physical Topology in OCS-based Clusters

Shanghai Jiao Tong University(上海交通大学);Xi’an Jiaotong University(西安交通大学);University of Science and Technology of China(中国科学技术大学);State Key Laboratory of Novel Software Technology, Nanjing University(南京大学软件新技术国家重点实验室);Xidian University(西安电子科技大学);LightDance
Xinchi Han, Weihao Jiang, Yongxi Lv, Yingming Mao, Changbo Wu, Liu yike, Ximeng Liu, Haoyuan Liu, Kairui Zhou, Shuyuan Zhang, Peirui Cao, Xun Nie, Xuanyu Wang, … 展开作者

Xinchi Han, Weihao Jiang, Yongxi Lv, Yingming Mao, Changbo Wu, Liu yike, Ximeng Liu, Haoyuan Liu, Kairui Zhou, Shuyuan Zhang, Peirui Cao, Xun Nie, Xuanyu Wang, Jiachen Wang, Yujun Liu, Xinbing Wang, Shizhen Zhao

AI总结:

针对基于 OCS 的 LLM 集群物理拓扑难以兼顾兼容性、可扩展性和多项式可解性的问题,提出基于对称整数矩阵分解定理的 Cross Wiring,并通过 128-NPU 测试平台与大规模仿真验证其优势。

摘要:

近年来,光路交换(OCS)技术得到了应用。如何设计由电交换设备与 OCS 之间的物理布线所定义的物理拓扑,是设计高效的基于 OCS 的集群的基础。我们确定了评估物理拓扑设计质量的三个特征:逻辑拓扑兼容性、集群可扩展性以及拓扑工程的多项式可解性。然而,现有物理拓扑均无法同时实现这三个特征。本文探索设计一种可同时最大化所有特征的最优物理拓扑。我们首先分析这些特征在基于 OCS 的集群中的重要性,并考察当前设计的局限性。利用所提出的 Symmetric Integer Matrix Decomposition Theorem(对称整数矩阵分解定理),我们概述了设计最优物理拓扑的通用方法,并引入 Cross Wiring 作为具体实例。Cross Wiring 的可行性和优势通过一个 128-NPU 测试平台以及基于大规模真实轨迹的仿真得到了验证。

英文摘要:

Optical Circuit Switches (OCSes) are increasingly deployed in data center networks and AI clusters. By wiring the electrical ports of GPUs and electrical switches to the OCS ports, the physical interconnection pattern defines a \emph{physical topology}. \textbf{Topology Engineering (ToE)} seeks an OCS configuration that optimizes a traffic objective given traffic demands and physical constraints, but solving this joint problem is computationally expensive. A common approach is to \emph{decouple} the problem into two steps: first, compute a \emph{logical topology} that satisfies the traffic demands without considering the physical topology constraints and then map it onto the physical topology to obtain the OCS configuration. This, however, introduces a quality loss issue: the resulting logical topology sometimes cannot be realized exactly under the given physical topology. To address this problem, we show that it stems from a property missing in the physical topology. We propose \textbf{Decoupling Optimality} and the necessary and sufficient conditions under which a decoupled method will not lose quality. Examining existing physical topologies against these conditions reveals that they either fail them, or satisfy them at the cost of cluster scale or deployment generality. Our proposed \textbf{Cross Wiring} meets all the conditions, without sacrificing cluster scale or adding devices. On a 128-NPU testbed, the lack of \emph{Decoupling Optimality} increases training iteration time by up to 39.5\%, and a microbenchmark validates the importance of \emph{Decoupling Optimality} in both solution quality and solving speed. A testbed built from two MEMS OCSes validates the engineering feasibility of Cross Wiring.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑