UltraSim 在单张 GPU 上实现 AI 集群包级仿真,速度达 SimAI 的 109 倍
UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs
部署大模型要试几百种并行和通信配置,传统 CPU 仿真器跑一轮要几周。UltraSim 把仿真整个搬进一张 GPU,比 SimAI 快 109 倍还不丢精度。做集群规划和网络研究的工程师都该看看。
论文提出 UltraSim,一个完全在单张 GPU 上以单个持久内核运行的 AI 集群包级仿真器。在一张物理 GPU 上,UltraSim 用 3 小时仿真完 DeepSeek V4-Pro 的 2,048-GPU 训练步,SimAI 两天都无法完成;
训练和推理仿真分别比 SimAI 快 109 倍和 138 倍,8-GPU 同步强化学习步与真实部署误差在 4.7% 以内。
核心观察是 LLM 工作负载的数据流及其顺序在仿真前已知,只有时序依赖网络,这一分离让数千条流的数据包可以并行处理,同时保留因果性和无损传输。在单个 4,096-GPU all-to-all 场景中,它比 ns-3 快 82 倍,往返时间和流完成时间误差在 0.
1% 以内。这将 AI 集群配置探索从数周缩短到数小时。
UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs
Deploying LLM workloads efficiently on a large cluster requires exploring many configurations of parallelisation, placement, and communication, which is impractical on a production cluster. Packet-level simulation provides the fidelity this exploration needs, but CPU-based simulators need hours per training step across thousands of GPUs, so a design sweep takes weeks. GPU simulators trade off causality or the lossless transport of AI clusters for speed. We present UltraSim, a packet-level simulator for AI clusters that runs entirely on a GPU as a single persistent kernel. Our key observation is that the flows of an LLM workload and their order are known before the simulation, and only their timing depends on the network. This separation lets UltraSim process the packets of thousands of flows in parallel while preserving causality and lossless transport. On one physical GPU, UltraSim simulates a 2,048-GPU training step of DeepSeek V4-Pro in 3 hours, which SimAI does not finish in two days. It simulates LLM training and inference up to 109x and 138x faster than SimAI, and a synchronous reinforcement learning step on eight GPUs within 4.7% of the real deployment. On a single 4,096-GPU all-to-all it is 82x faster than ns-3, with round-trip and flow completion times within 0.1%. UltraSim reduces AI cluster configuration exploration from weeks to hours.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:UltraSim、SimAI、ns-3、DeepSeek,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。