Skip to content
简体中文

切换主题

arXiv 2611.17605 · cs.SE · 2026-11-13

Choosing Quantized Code LLMs by File Size and Energy per Solved Task

Aditi Patodiya

机构待核实

新论文

一句话要点

通过在实际设备上测试不同量化模型的能效,研究发现中等规模模型在正确率和能耗之间表现更优,大模型在高精度下能效反而下降。

Testing shows mid-sized models offer better energy-efficiency and accuracy than larger ones at high precision.

要点

  • 开发者在本地运行代码助手时面临模型文件大小与能耗之间的权衡,需确定最优量化配置以提升能效。
  • 在 fanless MacBook Air M2 上测试了 Qwen2.5-Coder 的 1.5B、3B 和 7B 模型的 4 种量化版本,在 542 个 EvalPlus 任务上评估每解决一个任务的能耗。
  • 1GB 和 2GB 大小下 q4_K_M 版本在准确率和能效上最优;3GB 模型中 7B-q2_K 能力无显著提升,能耗高出 2 倍;8GB 的 7B-q6_K 虽有性能提升,但能效代价更高。
  • q4_K_M 在各规模下均表现稳定,表明中等精度量化在实际部署中更高效,大模型高精度量化未带来可接受的收益。
English overview

This study evaluates the energy efficiency of quantized Qwen2.5-Coder models across different sizes and precision levels on a laptop platform. Results show that mid-sized models with q4_K_M quantization achieve optimal balance between accuracy and energy consumption. Larger models, especially at higher precision, exhibit diminishing returns in performance while increasing energy costs per solved task.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

2HF 点赞
–GitHub stars
–引用(Semantic Scholar)
–热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 项目页

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-13。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)