arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.08242cs.DCcs.AR
收藏

Chopper:一个多级GPU特性工具及对LLM训练低效性的衍生见解

Chopper: A Multi-Level GPU Characterization Tool & Derived Insights Into LLM Training Inefficiency

University of Central Florida(中佛罗里达大学);Advanced Micro Devices, Inc.(超威半导体公司)

Marco Kurzynski, Shaizeen Aga, Di Wu

AI总结:

Chopper通过多级GPU特性分析揭示LLM训练低效原因,发现频率开销是性能差距的主要因素。

摘要:

高效训练大型语言模型(LLMs)需要深入理解现代GPU系统在真实世界分布式训练负载下的行为。尽管先前的工作主要集中在内核级性能或单GPU微基准测试上,但多GPU LLM训练中通信、计算、内存行为和电源管理之间的复杂交互仍缺乏充分的描述。在本工作中,我们引入了Chopper,一个用于收集、对齐和可视化GPU内核跟踪和硬件性能计数器的分析框架,覆盖多个粒度(即从单个内核到操作、层、阶段、迭代和GPU)。利用Chopper,我们对在八块AMD InstinctTM MI300X GPU上的完全分片数据并行(FSDP)环境下训练Llama 3 8B进行了全面的端到端特性分析。我们的分析揭示了几个此前未被充分探索的瓶颈和行为,例如内存确定性使GPU和内存频率能够更高且更稳定。我们识别了多个低效源,其中频率开销(DVFS效应)是理论性能与实际观测性能之间差距的单一最大贡献者,超过了MFMA利用率损失、通信/计算重叠和内核启动开销的影响。总体而言,Chopper为AMD InstinctTM MI300X GPU上的LLM训练提供了首个全面的、多粒度特性分析,为优化训练框架、改进电源管理策略以及指导未来的GPU架构和系统设计提供了可操作的见解。

英文摘要:

Training large language models (LLMs) efficiently requires a deep understanding of how modern GPU systems behave under real-world distributed training workloads. While prior work has focused primarily on kernel-level performance or single-GPU microbenchmarks, the complex interaction between communication, computation, memory behavior, and power management in multi-GPU LLM training remains poorly characterized. In this work, we introduce Chopper, a profiling and analysis framework that collects, aligns, and visualizes GPU kernel traces and hardware performance counters across multiple granularities (i.e., from individual kernels to operations, layers, phases, iterations, and GPUs). Using Chopper, we perform a comprehensive end-to-end characterization of Llama 3 8B training under fully sharded data parallelism (FSDP) on an eight-GPU AMD InstinctTM MI300X node. Our analysis reveals several previously underexplored bottlenecks and behaviors, such as memory determinism enabling higher, more stable GPU and memory frequencies. We identify several sources of inefficiencies, with frequency overhead (DVFS effects) being the single largest contributor to the gap between theoretical and observed performance, exceeding the impact of MFMA utilization loss, communication/computation overlap, and kernel launch overheads. Overall, Chopper provides the first holistic, multi-granularity characterization of LLM training on AMD InstinctTM MI300X GPUs, yielding actionable insights for optimizing training frameworks, improving power-management strategies, and guiding future GPU architecture and system design.

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

↑