Skip to content
简体中文

切换主题

arXiv 2611.03344 · cs.LG · 2026-11-02

FLAMIA: FLAsh MIcroscaling Attention for Fast and Causally Safe Training on Blackwell

Fedor Velikonivtsev, Mikhail Koltakov, Denis Kuznedelev

Yandex Research

在最新榜 #255 本站收录于 2026-11-06

一句话要点

FLAMIA通过结合量化、前向后向计算一致性及文档级调度,实现了在Blackwell架构上的高效且安全的注意力训练,加速比达1.06至1.42倍。

FLAMIA achieves 1.06–1.42× speedup in attention training on Blackwell via quantization, numerical consistency, and document scheduling.

要点

  • 注意力计算在长上下文训练中成本高昂,Blackwell硬件虽支持高吞吐低精度运算,但存在量化开销、因果信息泄露和前向后向数值不一致等问题。
  • FLAMIA提出一套针对Blackwell的注意力内核,融合token-block缩放、量化融合与文档局部缩放,避免共享尺度导致的因果泄漏并保持前后计算一致性。
  • 在多种打包文档工作负载下,MXFP8路径相比最优基线实现1.06至1.42倍加速,涵盖量化与前向后向计算的整体开销。
  • 实验验证了Llama风格模型在预训练中的稳定性与质量保留,表明量化设计、训练数值一致性与调度策略协同可有效发挥低比特硬件潜力。
English overview

FLAMIA introduces a family of attention kernels optimized for NVIDIA Blackwell GPUs, combining mixed FP8 and MXFP8 quantization with token-block scaling and document-local scaling to reduce overhead. It addresses scale leakage and forward-backward numerical inconsistencies through targeted safeguards. The design enables efficient, causally safe training on packed documents without repacking, achieving 1.06–1.42× speedup across workloads while preserving training stability and model quality.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

20HF 点赞
11GitHub stars
0引用(Semantic Scholar)
37.7热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)