Dynamic GPU Energy Optimization for Machine Learning Training Workloads

Farui Wang, Weizhe Zhang, Shichao Lai, Meng Hao, Zheng Wang
1/5/2022
cs.DCcs.AIcs.LG

Official code: ruixueqingyang/GPOEO (14 stars, C++, MIT, last commit 2023-07-05).

Abstract

GPUs are widely used to accelerate the training of machine learning workloads. As modern machine learning models become increasingly larger, they require a longer time to train, leading to higher GPU energy consumption.

Show full abstract

This paper presents GPOEO, an online GPU energy optimization framework for machine learning training workloads. GPOEO dynamically determines the optimal energy configuration by employing novel techniques for online measurement, multi-objective prediction modeling, and search optimization. To characterize the target workload behavior, GPOEO utilizes GPU performance counters. To reduce the performance counter profiling overhead, it uses an analytical model to detect the training iteration change and only collects performance counter data when an iteration shift is detected. GPOEO employs multi-objective models based on gradient boosting and a local search algorithm to find a trade-off between execution time and energy consumption. We evaluate the GPOEO by applying it to 71 machine learning workloads from two AI benchmark suites running on an NVIDIA RTX3080Ti GPU. Compared with the NVIDIA default scheduling strategy, GPOEO delivers a mean energy saving of 16.2% with a modest average execution time increase of 5.1%.

View on arXivView PDF

Code Implementations(1)

MIT

a micro-intrusive GPU online energy optimization (GPOEO) framework for iterative applications

142C++, PythonSep 1, 20213 years agoMIT
cudaenergy-efficiencygpu

Similar Papers

Cite this paper

@article{wang2022dynamic,
  title  = {Dynamic GPU Energy Optimization for Machine Learning Training Workloads},
  author = {Farui Wang and Weizhe Zhang and Shichao Lai and Meng Hao and Zheng Wang},
  year   = {2022},
  eprint = {2201.01684},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.01684}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.01684.svg)](https://codeofpaper.com/paper/2201.01684)

Discussion