Back to AI News
arxiv

Wattribution: Every Joule, Every Layer - Tracing and Predicting the Energy of Language Models

Wattribution is a protocol and tool that attributes a language model's energy consumption to individual layers during actual execution, using timestamped NVML power samples characterized across nine GPUs from Turing to Blackwell. The authors collected nearly 34 million per-layer values from 11 language models ranging from 0.6B to 8B parameters across 1,548 model-configuration runs. They report that the measurements are repeatable, sum to full-generation energy without a correction factor, and show prefill can account for two thirds of run energy with long prompts. A lightweight estimator trained on these measurements predicts model energy from configuration alone, with median absolute percentage errors of 4.8% on unseen configurations, 13.1% on unseen models, and 16.9% on unseen model families.

AI Brief

It offers a concrete method and open measurements for estimating and attributing LLM energy use at layer granularity, which is useful for deployment and efficiency decisions.

arXiv:2611.40821v1 Announce Type: new Abstract: Choosing or deploying a language model requires knowing its energy consumption in advance. Layer-wise estimators predict it from the architecture, but are trained on layers measured in isolation, under GPU conditions that differ from those of the complete model. We introduce Wattribution, a protocol and tool that attributes the energy of a language model to each of its layers within its actual execution, building on the buffer of timestamped NVML power samples, which we characterize for the first time to our knowledge on nine GPUs from Turing to Blackwell, and which provides a new reading every 20 ms instead of a one-second average. Using Wattribution, we collect nearly 34M per-layer values from 11 language models (0.6B to 8B parameters) over 1,548 model--configuration runs; these values are repeatable, add up to the energy of the full generation without any correction factor, and show that the prefill can account for two thirds of the energy of a run with long prompts. A lightweight layer-wise estimator trained on these measurements predicts the energy of a language model from its configuration alone, with a median absolute percentage error of 4.8% on unseen configurations, 13.1% on language models never seen during training, and 16.9% on unseen model families.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!