arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.10537cs.LGcs.AI
收藏

深度学习的Microscaling数据格式

Microscaling Data Formats for Deep Learning

Microsoft(微软);AMD(超威半导体);Intel(英特尔);Meta;NVIDIA(英伟达);Qualcomm Technologies Inc.(高通技术公司)
Bita Darvish Rouhani, Ritchie Zhao, Ankit More, Mathew Hall, Alireza Khodamoradi, Summer Deng, Dhruv Choudhary, Marius Cornea, Eric Dellinger, Kristof Denolf, S… 展开作者

Bita Darvish Rouhani, Ritchie Zhao, Ankit More, Mathew Hall, Alireza Khodamoradi, Summer Deng, Dhruv Choudhary, Marius Cornea, Eric Dellinger, Kristof Denolf, Stosic Dusan, Venmugil Elango, Maximilian Golub, Alexander Heinecke, Phil James-Roxby, Dharmesh Jani, Gaurav Kolhe, Martin Langhammer, Ada Li, Levi Melnick, Maral Mesmakhosroshahi, Andres Rodriguez, Michael Schulte, Rasoul Shafipour, Lei Shao, Michael Siu, Pradeep Dubey, Paulius Micikevicius, Maxim Naumov, Colin Verrilli, Ralph Wittig, Doug Burger, Eric Chung

AI总结:

本文评估了Microscaling(MX)数据格式,通过结合逐块缩放因子和窄位宽类型,在硬件效率、模型准确率和用户阻力间取得平衡,并首次在低于8位精度下实现生成式语言模型训练,准确率损失极小。

摘要:

窄位宽数据格式是降低现代深度学习应用计算和存储成本的关键。本文评估了Microscaling(MX)数据格式,该格式将逐块的缩放因子与用于单个元素的窄浮点和整数类型相结合。MX格式在硬件效率、模型准确率和用户阻力之间取得了平衡。在超过二十几个基准上的实证结果证明了MX数据格式作为基线FP32的直接替代方案在AI推理和训练中的实用性,且用户阻力较低。我们还展示了在权重、激活和梯度低于8位的情况下训练生成式语言模型的首次实例,其准确率损失极小,且无需修改训练方案。

英文摘要:

Narrow bit-width data formats are key to reducing the computational and storage costs of modern deep learning applications. This paper evaluates Microscaling (MX) data formats that combine a per-block scaling factor with narrow floating-point and integer types for individual elements. MX formats balance the competing needs of hardware efficiency, model accuracy, and user friction. Empirical results on over two dozen benchmarks demonstrate practicality of MX data formats as a drop-in replacement for baseline FP32 for AI inference and training with low user friction. We also show the first instance of training generative language models at sub-8-bit weights, activations, and gradients with minimal accuracy loss and no modifications to the training recipe.

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

↑