跳到正文
arXiv:cs.AI· Petar Basta·· 10 小时前

面向绿色 AI:量化 LLM 推理的能效评估

Towards Green AI: Evaluating Energy Efficiency for Quantized LLM Inference

AI 导读

一项研究首次统一评估了 LLM 推理中权重-only 量化策略在不同输入/输出长度与 GPU 上的能效表现,测试覆盖 Llama 2 7B、Phi 3.5 Mini Instruct、OLMo 1B、Qwen 2.5 7B 和 Qwen 2.5 14B,在 NVIDIA H100、A6000、A100、L4 上对比 10 种 PTQ 策略。

正文

View PDF HTML (experimental)

Abstract:While it is known that quantization of large language models (LLMs) reduces memory usage via lower-bit weights, studies quantifying the resulting impact on energy usage and carbon intensity are scarce. We present the first unified evaluation of weight-only quantization strategies for LLM inference across varying input/output lengths and GPUs, highlighting differences in energy efficiency in addition to accuracy degradation and runtime. We study quantized inference on Llama 2 7B, Phi 3.5 Mini Instruct, OLMo 1B, Qwen 2.5 7B, and Qwen 2.5 14B across GLUE MNLI, MMLU, HumanEval, and GSM8K datasets, evaluating 10 post-training quantization (PTQ) strategies on NVIDIA H100, A6000, A100, and L4 GPUs. We identify a novel trend showing that quantization techniques tend to exhibit peak energy efficiency relative to full-precision baselines when inputs are sufficiently long and outputs are short. Furthermore, we show that quantization strategies become marginally more energy-efficient relative to full-precision models as batch sizes increase, though gains are modest. Notably, fused-kernel implementations such as EETQ int8 and Bitsandbytes int8 offer the highest energy savings, up to 4x compared to FP32 on short text generation, with negligible accuracy loss. Finally, we observe that energy usage closely tracks runtime on our evaluated benchmarks, indicating that, in practice, latency optimization can serve as a reliable proxy for reducing the environmental footprint of LLM services. We conclude with suggested directions for strategically selecting low-carbon quantization strategies based on specific inference requirements.
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computers and Society (cs.CY)
Cite as: arXiv:2610.17531 [cs.LG]
  (or arXiv:2610.17531v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.17531

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Petar Basta [view email]
[v1] Tue, 13 Oct 2026 00:52:32 UTC (2,835 KB)

来源:arXiv:cs.AI · arxiv.org