Performance and Power: Systematic Evaluation of AI Workloads on Accelerators with CARAML
Chelsea Maria John, Stepan Nassyr, Carolin Penke, Andreas Herten
TL;DR
CARAML introduces an open, compact benchmark suite to quantify both performance and energy consumption of AI training workloads on heterogeneous accelerators, using LLM (GPT-style) and ResNet50 tasks. It combines two workload implementations (Megatron-LM-based LLM training on GPUs and TensorFlow-based ResNet50 on GPUs/TPUs with IPUs) with JUBE-driven automation and the jpwr energy-measurement tool to enable reproducible cross-hardware comparisons. The work provides detailed results across NVIDIA A100/H100, AMD MI250, GH200, and Graphcore GC200 platforms, highlighting throughput gains on newer hardware as well as nuanced energy-efficiency trends shaped by interconnect, memory bandwidth, and workload-parallelism choices. It also documents substantial technical challenges in software portability, containerization, and HPC system configurations, offering practical guidance for future cross-architecture benchmarking efforts and outlining directions for expanding workloads and continuous benchmarking.
Abstract
The rapid advancement of machine learning (ML) technologies has driven the development of specialized hardware accelerators designed to facilitate more efficient model training. This paper introduces the CARAML benchmark suite, which is employed to assess performance and energy consumption during the training of transformer-based large language models and computer vision models on a range of hardware accelerators, including systems from NVIDIA, AMD, and Graphcore. CARAML provides a compact, automated, extensible, and reproducible framework for assessing the performance and energy of ML workloads across various novel hardware architectures. The design and implementation of CARAML, along with a custom power measurement tool called jpwr, are discussed in detail.
