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

在AMD和NVIDIA GPU上联合训练

Joint Training on AMD and NVIDIA GPUs

Zettabyte AI, Inc.

Jon Hu, Thomas Jia, Jing Zhu, Zhendong Yu

AI总结:

本文提出了一种在AMD和NVIDIA GPU上实现高效异构混合训练的技术方案,通过设备直接通信机制提升训练吞吐量至接近同构系统的98%。

摘要:

随着大语言模型的持续扩展,对计算和系统容量的需求迅速增长,使单一厂商同构集群变得不足。本文提出了一种技术解决方案,用于AMD-NVIDIA环境中的异构混合训练。我们首先采用以CPU转发通信为基础的兼容性方法,在并行组中采用不同的通信后端选择,并通过多网络接口并行数据传输。为了实现更高的性能,我们进一步提出另一种设备直接通信方法,整合了CPU卸载的P2P机制,以实现无需主机内存中转的跨厂商GPU数据传输。在LLaMA-8B和Qwen2-7B上的实验表明,所提出的设备直接通信方法实现了与NVIDIA同构系统高达98%的吞吐量,同时保持训练的稳定性和正确性。

英文摘要:

As large language models continue to scale, training demands on compute and system capacity grow rapidly, making single-vendor homogeneous clusters insufficient. This paper presents a technical solution for heterogeneous mixed training in AMD-NVIDIA environments. We first adopt a compatibility-oriented approach based on CPU-Forwarding Communication, with differentiated communication back-end selection across parallel groups and multi-NIC parallel data transfer. To achieve higher performance, we further propose another Device-Direct Communication approach, integrating a CPU-offloading P2P mechanism to enable direct cross-vendor GPU data transfer without host-memory staging. Experiments on LLaMA-8B and Qwen2-7B demonstrate that the proposed Device-Direct Communication approach achieves up to 98% of the throughput of an NVIDIA homogeneous system, while preserving training stability and correctness.

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

↑