WattGPU: predicting inference power and latency on unseen graphics processing units and large language models

Categories: 
Published:
Updated:
Views: --

1 Research Foundations

1.1 Research Context and Motivation

The paper addresses the operational problem of choosing efficient hardware for large language model inference. Exhaustively profiling every model and accelerator combination is expensive, especially for smaller operators. WattGPU is designed to predict power draw and decode latency before deployment using metadata rather than new measurements on the target system.

Two quantities are modeled separately: mean graphics processing unit power draw and inter token latency. Power captures the sustained electrical demand during inference, while inter token latency captures the average time between generated tokens during the decode phase. Together they determine energy and service quality tradeoffs for inference deployments.

The method distinguishes offline and server scenarios. In offline mode, requests are batched to maximize throughput and utilization. In server mode, requests arrive in a more user facing pattern, so latency and idle execution behavior become more important. Modeling both scenarios is necessary because the same hardware can rank differently under different workloads.

1.2 Methodological Framework

The feature set is intentionally limited to publicly available information. Model features come from large language model metadata, such as parameter scale and architecture related quantities, while hardware features come from accelerator specifications. The exclusion of runtime profiling data is the defining methodological constraint because it enables prediction for unseen hardware.

The authors assemble a measurement data set covering forty two open source language models and eight server grade accelerators. The models span a wide parameter range, and measurements are collected under both offline and server settings. This data set provides the supervised training signal for the power and latency regressors.

Generalization is tested with leave one hardware out cross validation. In each split, all measurements from one accelerator are held out, and the model must predict its behavior from specifications alone. This is the hardest deployment relevant test because it mimics choosing a graphics processing unit that was not profiled during training.

2 Evidence and Interpretation

2.1 Evidence and Evaluation

The paper also uses leave one language model out validation. This tests whether the predictors can extrapolate to a model absent from the training set while using hardware seen before. The combination of hardware and model holdouts separates generalization across accelerator specifications from generalization across neural network workloads.

The power model is compared with a load scaled thermal design power baseline. That baseline is physically intuitive but crude because thermal design power is not a direct measurement of inference power under a particular workload. WattGPU learns how model and hardware features jointly affect sustained draw, which reduces prediction error in the reported settings.

The latency model is compared with a roofline style baseline. Roofline estimates are useful for bounding compute or memory limited performance, but they can miss system details that affect token generation. The learned latency regressor uses metadata to improve prediction of server mode inter token latency without requiring target profiling.

2.2 Interpretation and Reproducibility

The evaluation reports median absolute percentage error and ranking correlations. Error measures show how close the predictions are numerically, while ranking correlation matters for deployment decisions because operators often need to choose the most efficient hardware among candidates. Good rankings can be valuable even when exact values are imperfect.

The server scenario receives special emphasis because real user deployments often include idle or partially utilized behavior. Prior measurements show that accelerators can spend substantial time and energy in execution idle states. Predicting server power and latency therefore requires more than assuming full utilization at all times.

The method is designed for predeployment decision support. An operator can combine a candidate model, a candidate hardware specification, and the trained predictors to estimate expected power and latency. This can narrow the search space before expensive benchmarking, physical access, or cloud rental is required.

3 Conclusions and Outlook

3.1 Limitations and Key Takeaways

The paper makes a careful claim about scope. It targets server grade accelerators from one vendor family and open source language models in a particular size range. Predictions outside that distribution may be less reliable, so the value of the method depends on expanding the training data as new hardware and model families appear.

The public release of data and code is part of the method because reproducibility and updating are essential. As new accelerators, inference engines, and model architectures appear, the same feature based approach can be retrained or extended. The paper therefore frames WattGPU as a practical tool rather than only a one time benchmark.

The contribution is a metadata only approach to inference power and latency prediction. By avoiding target profiling, evaluating strict hardware and model holdouts, and outperforming simple physical baselines, WattGPU provides a way to reason about energy efficient large language model deployment before committing to a particular accelerator.