News ·
How to Optimize NVFP4 Attention on NVIDIA RTX Blackwell Through Register Recycling
NVIDIA detailed a register-recycling optimization for NVFP4 attention on RTX Blackwell, improving kernel latency up to 1.64x and enabling Reactor to cut end-to-end inference latency up to 15.34%; the kernel is merged into FlashInfer.

NVIDIA published a guide on accelerating NVFP4 attention on the NVIDIA RTX PRO 6000 Blackwell Series (SM120). Attention can bottleneck world foundation model serving with long sequences, and existing Hopper/Blackwell data center pipelines like FlashAttention3/4 do not apply directly to SM120's different Tensor Core architecture. NVFP4 provides hardware-accelerated 4-bit matrix multiplication with higher Tensor Core throughput than BF16, but uncoordinated softmax, data movement, and storage can leave Tensor Cores idle.
The optimized SageAttention3 kernel splits each N128 score tile into two N64 register slots. After softmax outputs are packed into NVFP4, the score registers are reclaimed and reused, letting the next tile's QK matrix multiplication overlap with the current tile's remaining softmax work. This reduces Tensor Core idle time without allocating a second full score buffer, improving kernel latency by up to 1.64x. SageAttention3 performs both QK and PV in NVFP4 and uses two-level scaling to normalize softmax outputs into the full dynamic range before quantization, avoiding accuracy loss from the narrow [0,1] output range.
Reactor integrated the kernel into its production serving stack for real customer traffic, reporting end-to-end latency reductions of up to 15.34% across LongLive, Helios, OmniDreams, and Cosmos 3 Nano workloads. The core optimization has been merged into the FlashInfer main branch; builders can install FlashInfer, integrate the SM120 NVFP4 attention API on RTX Blackwell, and compare latency and output quality against a BF16 baseline.

References
- NVIDIA · developer.nvidia.com
Read the full story at NVIDIA ↗Like, save or discuss on Buzz


