ML-EcoLyzer: Quantifying the Environmental Cost of Machine Learning Inference Across Frameworks and Hardware
By: Jose Marie Antonio Minoza , Rex Gregor Laylo , Christian F Villarin and more
Potential Business Impact:
Measures computer brain's energy use and pollution.
Machine learning inference occurs at a massive scale, yet its environmental impact remains poorly quantified, especially on low-resource hardware. We present ML-EcoLyzer, a cross-framework tool for measuring the carbon, energy, thermal, and water costs of inference across CPUs, consumer GPUs, and datacenter accelerators. The tool supports both classical and modern models, applying adaptive monitoring and hardware-aware evaluation. We introduce the Environmental Sustainability Score (ESS), which quantifies the number of effective parameters served per gram of CO$_2$ emitted. Our evaluation covers over 1,900 inference configurations, spanning diverse model architectures, task modalities (text, vision, audio, tabular), hardware types, and precision levels. These rigorous and reliable measurements demonstrate that quantization enhances ESS, huge accelerators can be inefficient for lightweight applications, and even small models may incur significant costs when implemented suboptimally. ML-EcoLyzer sets a standard for sustainability-conscious model selection and offers an extensive empirical evaluation of environmental costs during inference.
Similar Papers
Quantifying the Energy Consumption and Carbon Emissions of LLM Inference via Simulations
Distributed, Parallel, and Cluster Computing
Makes AI use less electricity and pollution.
Metrics and evaluations for computational and sustainable AI efficiency
Performance
Measures AI's speed, energy, and pollution.
EcoServe: Designing Carbon-Aware AI Inference Systems
Distributed, Parallel, and Cluster Computing
Cuts computer energy use for AI by almost half.