跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2405.13938 (cs)
[提交于 2024年5月22日]

标题:eXmY: A Data Type and Technique for Arbitrary Bit Precision Quantization

作者:Aditya Agrawal, Matthew Hedlund, Blake Hechtman
查看论文《eXmY: A Data Type and Technique for Arbitrary Bit Precision Quantization》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:eXmY is a novel data type for quantization of ML models. It supports both arbitrary bit widths and arbitrary integer and floating point formats. For example, it seamlessly supports 3, 5, 6, 7, 9 bit formats. For a specific bit width, say 7, it defines all possible formats e.g. e0m6, e1m5, e2m4, e3m3, e4m2, e5m1 and e6m0. For non-power of two bit widths e.g. 5, 6, 7, we created a novel encoding and decoding scheme which achieves perfect compression, byte addressability and is amenable to sharding and vector processing. We implemented libraries for emulation, encoding and decoding tensors and checkpoints in C++, TensorFlow, JAX and PAX. For optimal performance, the codecs use SIMD instructions on CPUs and vector instructions on TPUs and GPUs. eXmY is also a technique and exploits the statistical distribution of exponents in tensors. It can be used to quantize weights, static and dynamic activations, gradients, master weights and optimizer state. It can reduce memory (CPU DRAM and accelerator HBM), network and disk storage and transfers. It can increase multi tenancy and accelerate compute. eXmY has been deployed in production for almost 2 years.
主题: 机器学习 (cs.LG); 人工智能 (cs.AI); 硬件体系结构 (cs.AR); 数值分析 (cs.NA); 数值分析 (math.NA)
引用方式: arXiv:2405.13938 [cs.LG]
  (或者 arXiv:2405.13938v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2405.13938

提交历史

来自:Aditya Agrawal
[v1] 2024年5月22日 星期三 19:11:28 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-05
切换浏览方式为:
cs
cs.AI
cs.AR
cs.NA
math.NA

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站