arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.22230cs.DCcs.ARcs.LG
收藏

面向硬件多样性的架构设计:Meta针对AMD GPU高性能AI训练的端到端协同设计

Architecting for Hardware Diversity: Meta's End-to-End Co-Design for High-Performance AI Training on AMD GPUs

Meta;AMD
Haoyu Zhang, Arshad Rahman, Adnan Aziz, Ajith Prabhudev, Amin Farmahini, Ben Rhoads, Benson Ma, Brian Shi, Cen Zhao, CK Luk, Dingming Wu, Emad El-Haraty, Eric C… 展开作者

Haoyu Zhang, Arshad Rahman, Adnan Aziz, Ajith Prabhudev, Amin Farmahini, Ben Rhoads, Benson Ma, Brian Shi, Cen Zhao, CK Luk, Dingming Wu, Emad El-Haraty, Eric Chen, Frank Li, Gary Huang, Gefei Zuo, Haoran Zhang, Hiwot Kassa, Hongyi Zeng, Jack Taylor, Jeremy Hadidjojo, John Donati, Jonathan Sheffield, Julio Machado Silva, Karthik Ganesan, Kent Russell, KR Kishore, Lei Tian, Liu Ke, Muhammad Osama, Peng Chen, Rakesh Hemnani, Ryan Swann, Saleel Kudchadker, Shankar Yanamandram, Shobhit Kanaujia, Shucai Xiao, Srinath Bayareddy, Srinivas Vaidyanathan, Sudharssun Subramanian, Supadchaya Puangpontip, Taylor Robie, Tianhao Huang, Tyler Hart, Viswesh Sankaran, Weijun Jiang, Wenkai Du, Xiaodong Wang, Xiaohu Guo, Yao Rong, Yinbin Ma, Yue Dong, Yuzhen Huang, Yvonne Liu, Zhan Shu, Dan Rabinovitsj, Ajit Mathews, Chunqiang Tang

AI总结:

Meta针对异构硬件集群中AMD GPU性能可移植性问题,提出三项协同设计原则,实现推荐模型训练吞吐量最高1.5倍提升,相关成果已上游至开源PyTorch等生态。

摘要:

Meta部署了包含NVIDIA GPU、AMD GPU以及自研MTIA加速器的异构集群,以降低成本并缓解厂商锁定问题。然而,长期以来针对NVIDIA GPU的大量优化阻碍了性能在其他硬件上的可移植性。本文以推荐模型训练为案例,对比AMD Instinct MI350X与NVIDIA B200,提出了针对替代加速器的优化方法,包含三项可复用原则:其一,硬件-模型协同设计至关重要,无需直接从NVIDIA GPU移植模型,而是修改模型结构与软件方案,以充分利用加速器的特定优势(例如MI350X的HBM容量是B200的1.6倍);其二,我们的分析性能模型可在生产模型的各类数据类型与矩阵形状中实现零预热的最优内核选择,大幅简化调优过程;其三,日益成熟的智能体工作流降低了从CUDA生态移植的门槛,我们将这些工作流扩展至微架构感知的内核优化与自定义shim生成。与直接移植的基线相比,这些方法实现了端到端训练吞吐量最高1.5倍的提升。据我们所知,这是首个超大规模数据中心厂商关于将AMD GPU规模化应用于大规模训练的报告,我们的贡献已上游至开源PyTorch、Triton与ROCm生态。

英文摘要:

Meta deploys a heterogeneous fleet comprising NVIDIA GPUs, AMD GPUs, and proprietary MTIA accelerators to reduce costs and mitigate vendor lock-in. However, the extensive history of NVIDIA-specific optimizations hinders performance portability to other hardware. This paper presents our methods for optimizing alternative accelerators, using AMD Instinct MI350X versus NVIDIA B200 for recommendation model training as a case study. We propose three reusable principles. First, hardware-model co-design is essential: rather than directly porting models from NVIDIA GPUs, revising model structures and software recipes allows full exploitation of accelerator-specific strengths (e.g., MI350X's 1.6x HBM capacity relative to B200). Second, our analytical performance model enables zero-warmup optimal kernel selection across diverse datatypes and matrix shapes in production models, drastically simplifying tuning. Third, increasingly mature agentic workflows have lowered the barrier to porting from the CUDA ecosystem; we extend these workflows for microarchitecture-aware kernel optimizations and custom shim generation. Compared to the directly ported baseline, these methods deliver up to 1.5x improvement in end-to-end training throughput. To our knowledge, this is the first hyperscaler report on productionizing AMD GPUs for large-scale training. Our contributions have been upstreamed to the open-source PyTorch, Triton, and ROCm ecosystems.

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

↑