跳到正文
arXiv (Robotics + Hardware + Signal)· Yu Zhu, Xinhao Yang, Zhaoshi Li, Baodong Wu, Boxun Li, Wenxue Li, Guohao Dai, Hongyang Jia, Shuwen Deng, Huazhong Yang, Yuan Xie, Zhenhua Zhu, Yu Wang·· 1 天前AI 评分48

ProtoBridge:面向超节点互连探索的 LLM 到数据包仿真器

Making Protocol Effects Explicit: LLM-to-Packet Simulation for Superpod Interconnect Exploration

AI 导读

论文提出基于 ns-3 的 LLM-to-packet 仿真器 ProtoBridge,用于超节点互连设计探索。它通过 operation-to-packet(OTP)层和 packet-execution(PEX)层把协议效应显式建模,在 H200 NVLink4 上平均延迟误差 17.8%,在 C500 MetaXLink 上为 10.3%。

正文 · 原文

arXiv:2611.30191v1 Announce Type: new Abstract: Large language models (LLMs) have become the foundation of modern AI services. The rapid growth of LLM sizes and context lengths has exceeded the memory capacity of a single GPU or NPU, requiring model partitioning across devices. However, partitioning models across devices introduces costly communication overhead, driving the need for superpods with large-scale, high-bandwidth, low-latency scale-up fabrics. Exploring superpod designs requires accurate interconnect simulation, as communication latency is jointly determined by link technologies, topologies, and scale-up protocol-stack choices. Latency-bandwidth models estimate communication latency using a startup term and a transfer term derived from message size and effective bandwidth. But they fail to capture contention and protocol effects. Packet-level simulators like ns-3 model routing, queueing, and packet timing, but require protocol-specific LLM-to-packet implementations. This paper presents ProtoBridge, an ns-3-based LLM-to-packet simulator for superpod interconnect exploration. To make protocol effects explicit, ProtoBridge introduces two abstraction layers over ns-3: (1) an operation-to-packet (OTP) layer that captures protocol-specific packet exchanges and dependencies, and (2) a packet-execution (PEX) layer that applies shared packet-level mechanisms to the ns-3 event system. ProtoBridge achieves average latency error of 17.8\% on H200 NVLink4 and 10.3\% on C500 MetaXLink. To enable faster superpod evaluation for further interconnect exploration, we derive a surrogate model that combines OTP parameters with analytical models of PEX mechanisms. The surrogate reduces evaluation time from 2.38$\sim$75.70s to 20.5us per operation. We use ProtoBridge to analyze two emerging superpod designs, scale-up memory pool and co-packaged optics (CPO) interconnects, revealing design insights for future LLM superpod architectures.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org