跳到正文
实时
NVIDIA Technical Blog· Atharva Joshi·· 9 天前40

如何通过寄存器回收优化NVIDIA RTX Blackwell上的NVFP4注意力机制。

How to Optimize NVFP4 Attention on NVIDIA RTX Blackwell Through Register Recycling

要点速览

FlashAttention3和FlashAttention4通过在线程块内重叠矩阵乘加(MMA)操作中的softmax来提升NVIDIA Hopper和Blackwell数据中心GPU的注意力性能,但NVFP4在Blackwell上存在性能瓶颈。

正文

Decorative image.Attention can be a major bottleneck when serving world foundation models, where long sequences make inference computationally demanding. On NVIDIA Hopper and...Decorative image.

Attention can be a major bottleneck when serving world foundation models, where long sequences make inference computationally demanding. On NVIDIA Hopper and NVIDIA Blackwell data center GPUs, FlashAttention3 and FlashAttention4 improve attention performance by overlapping matrix multiply-accumulate (MMA) operations through softmax within a thread block. However…

Source

来源: NVIDIA Technical Blog · developer.nvidia.com