Zeus: Understanding and Optimizing GPU Energy Consumption of DNN Training

Jie You, Jae-Won Chung, Mosharaf Chowdhury
8/12/2022
cs.LGcs.AIcs.DC

Official code: ml-energy/zeus (391 stars, Python, Apache-2.0, last commit 2026-04-28).

Abstract

Training deep neural networks (DNNs) is becoming increasingly more resource- and energy-intensive every year. Unfortunately, existing works primarily focus on optimizing DNN training for faster completion, often without considering the impact on energy efficiency.

Show full abstract

In this paper, we observe that common practices to improve training performance can often lead to inefficient energy usage. More importantly, we demonstrate that there is a tradeoff between energy consumption and performance optimization. To this end, we propose Zeus, an optimization framework to navigate this tradeoff by automatically finding optimal job- and GPU-level configurations for recurring DNN training jobs. Zeus uses an online exploration-exploitation approach in conjunction with just-in-time energy profiling, averting the need for expensive offline measurements, while adapting to data drifts over time. Our evaluation shows that Zeus can improve the energy efficiency of DNN training by 15.3%-75.8% for diverse workloads.

View on arXivView PDF

Code Implementations(1)

ml-energy/zeusOfficial100%
Apache-2.0

Measure and optimize the energy consumption of your AI applications!

39151Python, RustAug 13, 20227 months agoApache-2.0
deep-learningenergymlsys

Similar Papers

Cite this paper

@article{you2022zeus,
  title  = {Zeus: Understanding and Optimizing GPU Energy Consumption of DNN Training},
  author = {Jie You and Jae-Won Chung and Mosharaf Chowdhury},
  year   = {2022},
  eprint = {2208.06102},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.06102}
}

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/2208.06102.svg)](https://codeofpaper.com/paper/2208.06102)

Discussion