量化对StarCoder2能耗与推理时间影响的探索
An exploration of the effect of quantisation on energy consumption and inference time of StarCoder2
AI总结:
本文研究StarCoder2在量化和剪枝下的能耗与推理时间变化,发现量化因吞吐量下降反而增加能耗,剪枝虽节能但损害性能,并建议开展硬件优化量化研究。
摘要:
本研究考察了量化和剪枝策略,以降低代码大语言模型(LLMs)推理过程中的能耗。使用StarCoder2,我们观察到由于吞吐量降低和一定的准确率损失,量化反而导致能耗需求增加。相反,剪枝能够减少能耗,但会损害性能。这些结果凸显了LLM模型压缩中的挑战与权衡。我们建议未来开展面向硬件优化的量化研究,以在最小化准确率损失的同时提升效率。
英文摘要:
This study examines quantisation and pruning strategies to reduce energy consumption in code Large Language Models (LLMs) inference. Using StarCoder2, we observe increased energy demands with quantization due to lower throughput and some accuracy losses. Conversely, pruning reduces energy usage but impairs performance. The results highlight challenges and trade-offs in LLM model compression. We suggest future work on hardware-optimized quantization to enhance efficiency with minimal loss in accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。