mlsanityData to 7 Oct 2026

Green AI: A Preliminary Empirical Study on Energy Consumption in DL Models Across Different Runtime Infrastructures

arXiv 2402.13640 ↗First posted 21 Feb 2024cs.SE cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Deep Learning (DL) frameworks such as PyTorch and TensorFlow include runtime infrastructures responsible for executing trained models on target hardware, managing memory, data transfers, and multi-accelerator execution, if applicable. Additionally, it is a common practice to deploy pre-trained models on environments distinct from their native development settings. This led to the introduction of interchange formats such as ONNX, which includes its runtime infrastructure, and ONNX Runtime, which work as standard formats that can be used across diverse DL frameworks and languages. Even though these runtime infrastructures have a great impact on inference performance, no previous paper has investigated their energy efficiency. In this study, we monitor the energy consumption and inference time in the runtime infrastructures of three well-known DL frameworks as well as ONNX, using three various DL models. To have nuance in our investigation, we also examine the impact of using different execution providers. We find out that the performance and energy efficiency of DL are difficult to predict. One framework, MXNet, outperforms both PyTorch and TensorFlow for the computer vision models using batch size 1, due to efficient GPU usage and thus low CPU usage. However, batch size 64 makes PyTorch and MXNet practically indistinguishable, while TensorFlow is outperformed consistently. For BERT, PyTorch exhibits the best performance. Converting the models to ONNX yields significant performance improvements in the majority of cases. Finally, in our preliminary investigation of execution providers, we observe that TensorRT always outperforms CUDA.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 12 of its 33 references that are in the map. First posted on arXiv 21 Feb 2024.

Builds on

12 of 33 references.

References · 12

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  3. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  4. 2019Quantifying the Carbon Emissions of Machine Learningcited by 516
  5. 2020Towards the Systematic Reporting of the Energy and Carbon Footprints of Machine Learningcited by 246
  6. 2021Compute and Energy Consumption Trends in Deep Learning Inferencecited by 61
  7. 2020A Systematic Literature Review on the Use of Deep Learning in Software Engineering Researchcited by 35
  8. 2022Data-Centric Green AI: An Exploratory Empirical Studycited by 24
  9. 2023Uncovering Energy-Efficient Practices in Deep Learning Training: Preliminary Steps Towards Green AIcited by 16
  10. 2023Energy Efficiency of Training Neural Network Architectures: An Empirical Studycited by 15
  11. 2023Batching for Green AI -- An Exploratory Study on Inferencecited by 4
  12. 2023Energy Efficiency Considerations for Popular AI Benchmarkscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 4.

11 papers.