arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.06798cs.LGcs.DCstat.ML
收藏

NEST: 面向分布式深度学习的网络与内存感知设备放置

NEST: Network- and Memory-Aware Device Placement For Distributed Deep Learning

Georgia Institute of Technology(佐治亚理工学院);University of Washington(华盛顿大学)

Irene Wang, Vishnu Varma Venkata, Arvind Krishnamurthy, Divya Mahajan

AI总结:

提出NEST框架,通过结构化动态规划统一模型并行、拓扑建模和内存可行性,在多种硬件和网络上实现高达2.43倍的吞吐量提升。

摘要:

深度学习规模的不断增长要求分布式训练框架能够联合考虑并行性、内存和网络拓扑。先前的工作通常依赖启发式或拓扑无关的搜索,分别处理通信和内存。由于缺乏每设备内存感知,这些方法通常事后通过将参数和激活分片到多个设备上来确保可行性,从而增加同步、扩大通信、降低计算利用率,限制了实际数据中心网络上的可扩展性和效率。我们提出了NEST,一个网络、计算和内存感知的设备放置框架,通过结构化动态规划统一了模型并行、拓扑建模和内存可行性。NEST的动态规划在具有张量和专家并行配置、跨层次或任意网络的显式allreduce延迟以及内存/计算轮廓的算子图上运行。通过跨张量、流水线、数据和专家维度分解并行性,NEST为混合策略定义了一个原则性的搜索空间,同时联合优化共置、网络延迟和内存可行性。在多种硬件和网络上的评估表明,与最先进的基线相比,NEST实现了高达2.43倍的吞吐量提升、更好的内存效率和可扩展性,为下一代AI基础设施的并行化策略和数据中心互连协同设计提供了基础。NEST的源代码可在https://github.com/scai-tech/Nest获取。

英文摘要:

The growing scale of deep learning demands distributed training frameworks that jointly reason about parallelism, memory, and network topology. Prior works often rely on heuristic or topology-agnostic search, handling communication and memory separately. Without per-device memory awareness, these methods typically ensure feasibility post hoc by sharding parameters and activations across many devices, increasing synchronization, inflating communication, and underutilizing compute-limiting scalability and efficiency on real datacenter networks. We present NEST, a network-, compute-, and memory-aware device placement framework that unifies model parallelism, topology modeling, and memory feasibility via structured dynamic programming. NEST's DP operates on operator graphs with tensor and expert parallel configurations, explicit allreduce latencies across hierarchical or arbitrary networks, and memory/compute profiles. By factoring parallelism across tensor, pipeline, data, and expert dimensions, NEST defines a principled search space for hybrid strategies while jointly optimizing co-location, network latency, and memory feasibility. Evaluations across diverse hardware and networks show NEST achieves up to 2.43 times higher throughput, better memory efficiency, and improved scalability over state-of-the-art baselines, providing a foundation for co-designing parallelization strategies and datacenter interconnects for next-generation AI infrastructure. The source code of NEST is available at: https://github.com/scai-tech/Nest

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

↑