HomeAI NewsNVIDIA merges NVFP4 attention kernel into FlashInfer main branch

NVIDIA merges NVFP4 attention kernel into FlashInfer main branch

The register-recycling schedule delivers up to 1.64x faster NVFP4 attention on RTX PRO 6000 Blackwell hardware.

NVIDIA detailed a register-recycling schedule that speeds up NVFP4 attention kernels on RTX Blackwell GPUs. The SageAttention3 kernel splits each N128 score tile into two N64 register slots and reuses those registers after softmax quantization, so the next tile’s QK computation overlaps the current tile’s remaining work.

FlashAttention3 and FlashAttention4 pipeline matrix multiply-accumulate operations through softmax on Hopper and Blackwell data center GPUs, but those hardware-specific pipelines do not map onto the SM120 Tensor Core architecture in the RTX PRO 6000 Blackwell Series. NVFP4 provides hardware-accelerated 4-bit matrix multiplication for higher Tensor Core throughput than BF16.

The schedule removes Tensor Core idle time without allocating a second full score buffer, and it cuts NVFP4 attention latency by up to 1.64x on RTX PRO 6000 Blackwell. Reactor deployed the kernel in its production serving stack for world models and measured end-to-end latency reductions of up to 15.34% across LongLive, Helios, OmniDreams, and Cosmos 3 Nano.

NVIDIA merged the core optimization into the FlashInfer main branch, so teams can adopt it directly. Builders can clone that branch with its submodules, follow the source installation guide, and wire the SM120 NVFP4 attention API into supported attention layers to compare end-to-end latency and output quality against a BF16 baseline.

What matters

  • NVIDIA recycles score registers after softmax quantization to keep Tensor Cores busy during NVFP4 attention.
  • Reactor cut end-to-end inference latency by up to 15.34% on LongLive, Helios, OmniDreams, and Cosmos 3 Nano.
  • Builders can pull the SM120 NVFP4 attention API from FlashInfer and benchmark it against a BF16 baseline.

Why it matters

Builders can pull the SM120 NVFP4 attention API from FlashInfer and benchmark it against a BF16 baseline.

This GenAI News article was prepared in original wording using reporting and materials published by NVIDIA Developer Blog. Source reference: https://developer.nvidia.com/blog/how-to-optimize-nvfp4-attention-on-nvidia-rtx-blackwell-through-register-recycling/.

Drafted by the GenAI News review pipeline.

latest articles

explore more