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

HyperParallel:一种超节点亲和性AI框架

HyperParallel: A Supernode-Affinity AI Framework

HKUST(香港科技大学);HKUST(GZ)(香港科技大学(广州));Huawei Technologies Co., Ltd.(华为技术有限公司)

Xin Zhang, Beilei Sun, Teng Su, Qinghua Zhang, Chong Bao, Lei Chen, Xuefeng Jin

AI总结:

HyperParallel框架通过超节点亲和性设计,提升AI训练和推理效率,降低编程复杂度和系统调优开销。

摘要:

大规模、稀疏、多模态和代理型AI模型的出现,与硬件向集成数百到数千个加速器,并配备超低延迟互连和统一内存池的超节点架构转变同步发生。然而,现有AI框架并未高效利用这些架构,导致编程复杂度高、负载不均和内存利用率差。在本文中,我们提出了一种超节点亲和性AI框架,将超节点视为单一逻辑计算机,并在框架中嵌入硬件感知的调度机制。基于MindSpore实现的HyperParallel架构,包含HyperOffload用于自动化分层内存管理,HyperMPMD用于在异构工作负载上实现细粒度MPMD并行,以及HyperShard用于声明式并行策略指定。这些技术显著提高了训练和推理效率,同时减少了并行编程和系统调优的开销,展示了超节点亲和性对于下一代AI框架的必要性。

英文摘要:

The emergence of large-scale, sparse, multimodal, and agentic AI models has coincided with a shift in hardware toward supernode architectures that integrate hundreds to thousands of accelerators with ultra-low-latency interconnects and unified memory pools. However, existing AI frameworks are not designed to exploit these architectures efficiently, leading to high programming complexity, load imbalance, and poor memory utilization. In this paper, we propose a supernode-affinity AI framework that treats the supernode as a single logical computer and embeds hardware-aware orchestration into the framework. Implemented in MindSpore, our HyperParallel architecture comprises HyperOffload for automated hierarchical memory management, HyperMPMD for fine-grained MPMD parallelism across heterogeneous workloads, and HyperShard for declarative parallel strategy specification. Together, these techniques significantly improve training and inference efficiency while reducing parallel programming and system tuning overhead, demonstrating the necessity of supernode affinity for next-generation AI frameworks.

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

↑