CCL-Bench 1.0:基于跟踪的LLM基础设施基准测试
CCL-Bench 1.0: A Trace-Based Benchmark for LLM Infrastructure
AI总结:
CCL-Bench 1.0通过记录可重用证据,解决现有基准测试的局限性,揭示计算-通信重叠与训练步时间的关系,以及不同框架配置的性能差异。
摘要:
关于LLM基础设施的评估性断言--``工作负载X在硬件Y上使用软件Z最快''--依赖于涵盖硬件加速器、互连带宽、软件框架、并行计划和通信库的复杂配置空间。当前的基础设施评估基准发布少量端到端数值,无法解释为何一种配置优于另一种。我们提出了CCL-Bench,一个基于跟踪的基准测试,通过记录每个ML工作负载的可重用证据来解决现有基准测试的局限性。每个贡献的数据点包含执行跟踪、YAML工作负载卡片和启动脚本。我们开发了一个社区可扩展的工具包,用于从这些证据中计算细粒度的计算、内存和通信效率指标。使用CCL-Bench,我们揭示了三个总结性统计基准无法支持的断言:(i)更高的计算-通信重叠可能伴随更长的训练步时间,揭示低效的并行化选择;(ii)将TPU互连带宽翻倍在小型和中型工作负载中比将GPU互连带宽翻倍带来更大的端到端改进;(iii)在一种训练框架上最佳调优的配置在相同硬件上可能比在另一种框架上最佳调优的配置慢多达3倍。
英文摘要:
Evaluative claims about LLM infrastructure -- ``workload X is fastest on hardware Y with software Z'' -- depend on a complex configuration space spanning hardware accelerators, interconnect bandwidth, software frameworks, parallelism plans, and communication libraries. Current infrastructure evaluation benchmarks publish a small set of end-to-end numbers that do not explain why one configuration outperforms another. We present CCL-Bench, a trace-based benchmark that addresses the limitations of existing benchmarks by recording reusable evidence for every ML workload. Each contributed data point in CCL-Bench packages an execution trace, a YAML workload card, and the launch scripts. We have developed a community-extensible toolkit to compute fine-grained compute, memory, and communication efficiency metrics from this evidence. Using CCL-Bench, we surface three claims that summary-statistic benchmarks cannot support: (i) higher compute-communication overlap can coincide with longer training step time and reveal inefficient parallelization choices, (ii) doubling TPU interconnect bandwidth yields a much higher end-to-end improvement in step time than doubling GPU interconnect bandwidth on small and medium workloads, and (iii) the best-tuned configuration on one training framework can run up to 3$\times$ slower than the best-tuned configuration on a peer framework on identical hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。