4-bit weights make large language models fit on personal hardware, and the most accurate formats use fine-grained float block scales. Many matrix units, however, are fastest on INT8xINT8, requiring per-block partial-sum scaling or FP16 conversion. We ask how much accuracy it costs to avoid this. Any format whose weights are one row scale times an integer block multiplier times an integer code runs as one exact INT8 GEMM with one rescale per output when the largest product is at most 127. A bound explains why integer multipliers track a block's ideal scale where powers of two cannot; in a 134-format sweep, doubled E2M1 codes with multipliers 1..10, the INT8 limit, lie near the optimum. With INT8 activations and calibration-free rounding, 8-wide blocks (4.51 bits) beat NVFP4 (4.5 bits) with scale search on all eight models tested (four families, up to a 125B MoE), with paired intervals excluding zero on every one; paired with zero-overhead folded SmoothQuant, calibrated 8-wide beats calibrated NVFP4 and W4A16 NVFP4 on all three dense models tested. 16-wide blocks (4.26 bits) match standard NVFP4 on seven of eight models and solve 94.8% of GSM8K on the 125B model (8-wide: 95.3%, vs. 91.0% for MLX's MXFP4). In MoE models, dense projections (<4% of weights) carry over half of the loss and decode bytes. Standard MXFP4 joins the family when a row's block exponents span at most three (97.9-99.97% of rows across eight models). Exact W4A8 prefill runs 1.43-1.72x faster than MLX on an M5 dense model and 1.12-1.60x on three MoEs up to 125B (decode 0.98-1.03x SC-MXFP4, 0.90-0.98x 8-wide), and on an NVIDIA L4 prefills Qwen3-4B and Mistral-7B 1.18-1.37x faster than FP16 (1.22-1.68x vs. Marlin W4A16) at 2.4-3.0x lower peak VRAM.


翻译:暂无翻译

0
下载
关闭预览

相关内容

ACM/IEEE第23届模型驱动工程语言和系统国际会议,是模型驱动软件和系统工程的首要会议系列,由ACM-SIGSOFT和IEEE-TCSE支持组织。自1998年以来,模型涵盖了建模的各个方面,从语言和方法到工具和应用程序。模特的参加者来自不同的背景,包括研究人员、学者、工程师和工业专业人士。MODELS 2019是一个论坛,参与者可以围绕建模和模型驱动的软件和系统交流前沿研究成果和创新实践经验。今年的版本将为建模社区提供进一步推进建模基础的机会,并在网络物理系统、嵌入式系统、社会技术系统、云计算、大数据、机器学习、安全、开源等新兴领域提出建模的创新应用以及可持续性。 官网链接:http://www.modelsconference.org/
【ICML2025】FG-CLIP:细粒度视觉与文本对齐
专知会员服务
11+阅读 · 2025年5月9日
大模型5个公式化讲解,附视频与Slides
专知会员服务
40+阅读 · 2024年2月6日
专知会员服务
27+阅读 · 2021年4月22日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
深度学习中Attention Mechanism详细介绍:原理、分类及应用
深度学习与NLP
10+阅读 · 2019年2月18日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
李宏毅-201806-中文-Deep Reinforcement Learning精品课程分享
深度学习与NLP
15+阅读 · 2018年6月20日
IJCAI | Cascade Dynamics Modeling with Attention-based RNN
KingsGarden
13+阅读 · 2017年7月16日
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
20+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
13+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
9+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
10+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
20+阅读 · 11月25日
相关基金
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员