arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15866cs.LGcs.AIcs.AR
收藏

SmartQuant:支持运行时可配置权重量化的基于CXL的AI模型存储

SmartQuant: CXL-based AI Model Store in Support of Runtime Configurable Weight Quantization

Rensselaer Polytechnic Institute(伦斯勒理工学院);BASIS Independent Fremont(贝赛思独立弗里蒙特学校);IBM(国际商业机器公司(IBM))

Rui Xie, Asad Ul Haq, Linsen Ma, Krystal Sun, Sanchari Sen, Swagath Venkataramani, Liu Liu, Tong Zhang

AI总结:

针对生成式AI推理中权重重要性随上下文变化的特性,提出基于CXL的SmartQuant方案,通过CXL内存控制器支持运行时可配置权重量化,提升内存访问速度与能效,经transformer模型实验验证有效。

摘要:

近期研究表明,在对transformer等生成式AI模型进行推理时,不同权重的重要性会呈现出显著的上下文相关变化。这自然展现出自适应配置权重量化以提升生成式AI推理效率的可观潜力。尽管可配置权重量化能够便捷地利用现代GPU与AI加速器中可变精度算术的硬件支持,但此前鲜有研究探讨如何利用可变权重量化来成比例地提升AI模型的内存访问速度与能效。受快速成熟的CXL生态系统启发,本研究开发了一种基于CXL的设计方案以填补这一空白。其核心在于让CXL内存控制器在支持与利用运行时可配置权重量化方面发挥主动作用。我们以transformer作为代表性生成式AI模型开展实验,充分验证了所提设计方案的有效性。

英文摘要:

Recent studies have revealed that, during the inference on generative AI models such as transformer, the importance of different weights exhibits substantial context-dependent variations. This naturally manifests a promising potential of adaptively configuring weight quantization to improve the generative AI inference efficiency. Although configurable weight quantization can readily leverage the hardware support of variable-precision arithmetics in modern GPU and AI accelerators, little prior research has studied how one could exploit variable weight quantization to proportionally improve the AI model memory access speed and energy efficiency. Motivated by the rapidly maturing CXL ecosystem, this work develops a CXL-based design solution to fill this gap. The key is to allow CXL memory controllers play an active role in supporting and exploiting runtime configurable weight quantization. Using transformer as a representative generative AI model, we carried out experiments that well demonstrate the effectiveness of the proposed design solution.

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

↑