arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.07531cs.AIeess.SP
收藏

QuantX:一种面向生成式AI工作负载的硬件感知量化框架

QuantX: A Framework for Hardware-Aware Quantization of Generative AI Workloads

xEngineers Inc.(10xEngineers公司)

Muhammad Ahmad, Khurram Mazher, Saqib Akram, Ahmad Tameem, Saad Bin Nasir

AI总结:

本文提出QuantX框架,通过硬件感知的量化策略实现LLM和VLM低至3-bit量化,在保持性能的同时灵活权衡速度、内存与精度,并优于现有技术。

摘要:

我们提出了QuantX:一套专为LLM和VLM量化定制的方案。它能够量化至3-bit分辨率,且性能损失极小。QuantX中的量化策略考虑了硬件特定约束,以在推理期间实现高效的反量化,从而在运行时速度、内存需求和模型精度之间确保灵活的权衡。我们的结果表明,对于量化至3-bit的LlaVa-v1.6,QuantX在多个终端用户任务上的性能与未量化模型相差不到6%,并优于近期发表的最先进量化技术。我们进一步将QuantX中的一项特定技术集成到流行的Llama.cpp框架中,并在运行时方面证明了其与Llama.cpp主流量化技术相比的可行性。最后,本手稿提供了对LLM量化过程的见解,这些见解启发了QuantX中包含的系列方案和选项。

英文摘要:

We present QuantX: a tailored suite of recipes for LLM and VLM quantization. It is capable of quantizing down to 3-bit resolutions with minimal loss in performance. The quantization strategies in QuantX take into account hardware-specific constraints to achieve efficient dequantization during inference ensuring flexible trade-off between runtime speed, memory requirement and model accuracy. Our results demonstrate that QuantX achieves performance within 6% of the unquantized model for LlaVa-v1.6 quantized down to 3-bits for multiple end user tasks and outperforms recently published state-of-the-art quantization techniques. We further integrate one particular technique from QuantX into the popular Llama.cpp framework and show its feasibility in terms of runtime compared to the mainstream quantization techniques from Llama.cpp. Lastly, this manuscript provides insights into the LLM quantization process that motivated the range of recipes and options that are incorporated in QuantX.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑