Oriel — AI & technology worth noticing, every day.

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

Web page · https://developer.nvidia.com/blog/how-to-optimize-nvfp4-attention-on-nvidia-rtx-blackwell-through-register-recycling

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

First seen by Oriel on .

AI summary

The post describes a register-recycling schedule for SageAttention3 on NVIDIA RTX Blackwell SM120 that overlaps NVFP4 attention work and reduces core-kernel latency by 1.17x to 1.64x across tested workloads.

  • The kernel splits each N128 score tile into two N64 register slots and reuses each slot for the next tile’s QK computation after quantizing its current scores.
  • Updating online-softmax state across the full N128 tile preserves the algorithm while interleaving QK with current-tile softmax, quantization, and PV work.
  • On an NVIDIA RTX PRO 6000 Blackwell, eight benchmark cases improved from 1.17x to 1.64x; the largest gain was synthetic 8,192-token causal attention.
  • Production end-to-end latency reductions ranged from 1.11% to 15.34% across LongLive, Helios, OmniDreams, and Cosmos 3 NanoPolicy Droid workloads.
  • Core timings exclude Q/K/V quantization and output-stride restoration; some long-run results used only one process per arm or scenario.

#nvfp4 #attention #nvidia blackwell #flashinfer

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
NVIDIA Developer Bloghttps://developer.nvidia.com/blog/?p=125793https://developer.nvidia.com/blog/how-to-optimize-nvfp4-attention-on-nvidia-rtx-blackwell-through-register-recycling/ Read discussion