跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.39032 · v1

Reducing Memory Traffic in FP4 LLM Training

首次提交 2026-11-29 02:35
版本更新 2026-11-29 02:35
雷达观测 2026-12-01 11:22
arXiv ↗PDF ↗

摘要

Native FP4 training retains higher-precision gradient computation and weight-gradient accumulation. Our characterization of NVIDIA Transformer Engine on Blackwell identifies two sources of intermediate global-memory traffic: a numerical boundary, where unavailable scaling information forces gradient materialization, and a kernel boundary, where separate microbatch GEMMs repeatedly store and reload FP32 accumulators. Together, these create a global-memory boundary not inherently required by FP4 arithmetic. We address the numerical boundary through \emph{producer-local FP4 quantization}, converting gradients within their producing kernels to avoid intermediate BF16 transfers. We address the kernel boundary through register-resident FP32 accumulation across microbatch GEMMs, preserving accumulation order. Under a fixed operand-memory budget, two-microbatch windows across all projections recover 69% of the training-step time savings of four-microbatch accumulation across all projections with roughly one-third of the additional operand storage. On Blackwell, our implementation reduces GPU kernel time by 9.28\% and improves CUDA Graph training throughput by 9.63%, with a sustained 9.7% improvement over 20 million training tokens and comparable validation perplexity to Transformer Engine NVFP4. FP32 accumulation matches the sequential reference bit for bit across more than 1.2 billion elements. On AMD MI210, optimized software-emulated MXFP4 execution using BF16 GEMMs improves training throughput by 30.9% over the corresponding MXFP4 reference.

作者备注:14 pages, 12 figures, 1 table

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-29 02:35 · 最新观测版本

Reducing Memory Traffic in FP4 LLM Training

Native FP4 training retains higher-precision gradient computation and weight-gradient accumulation. Our characterization of NVIDIA Transformer Engine on Blackwell identifies two sources of intermediate global-memory traffic: a numerical boundary, where unavailable scaling information forces gradient materialization, and a kernel boundary, where separate microbatch GEMMs repeatedly store and reload FP32 accumulators. Together, these create a global-memory boundary not inherently required by FP4 arithmetic. We address the numerical boundary through \emph{producer-local FP4 quantization}, converting gradients within their producing kernels to avoid intermediate BF16 transfers. We address the kernel boundary through register-resident FP32 accumulation across microbatch GEMMs, preserving accumulation order. Under a fixed operand-memory budget, two-microbatch windows across all projections recover 69% of the training-step time savings of four-microbatch accumulation across all projections with roughly one-third of the additional operand storage. On Blackwell, our implementation reduces GPU kernel time by 9.28\% and improves CUDA Graph training throughput by 9.63%, with a sustained 9.7% improvement over 20 million training tokens and comparable validation perplexity to Transformer Engine NVFP4. FP32 accumulation matches the sequential reference bit for bit across more than 1.2 billion elements. On AMD MI210, optimized software-emulated MXFP4 execution using BF16 GEMMs improves training throughput by 30.9% over the corresponding MXFP4 reference.

查看此版本解读 →查看此版本原文 ↗