How to Optimize NVFP4 Attention on NVIDIA RTX Blackwell Through Register Recycling
Engineers serving video or world models on RTX Blackwell GPUs can get up to 1.64x faster attention and 15.34% lower end-to-end latency by pulling a merged FlashInfer kernel.
NVIDIA published a tutorial on making the attention step of AI video generation faster on its RTX Blackwell gaming and workstation GPUs. The trick is 'register recycling': reusing the GPU's scratch memory for the next calculation while the current one finishes, so the chip never sits idle. This made the attention kernel up to 1.64x faster, and the company Reactor cut real video-model response times by up to 15.34% using it in production.
Companies serving video-generation and world models on NVIDIA RTX PRO 6000 Blackwell hardware can cut inference latency meaningfully at no hardware cost. Reactor reports up to 15.34% end-to-end latency reduction across LongLive, Helios, OmniDreams, and Cosmos 3 Nano workloads, with the core kernel up to 1.64x faster. The optimization is already merged into the open-source FlashInfer library, so adoption requires an upgrade rather than a purchase decision. Teams on data-center Blackwell GPUs gain less, since the technique targets SM120 specifically.
SageAttention3's original SM120 CTA (4 producer, 8 consumer warps) runs QK, softmax/quantization, and PV serially per N128 tile, leaving Tensor Cores idle and consuming 62,464 registers (95.3% of capacity), leaving no room for a second score buffer. The optimization splits each N128 score tile into two N64 slots and reuses score registers after NVFP4 quantization to compute the next tile's QK, overlapping MMA with remaining softmax and PV work. Kernel latency improved up to 1.64x (Synthetic 8,192 causal); Reactor saw up to 15.34% end-to-end reduction. The kernel is merged into FlashInfer main; timings exclude Q/K/V quantization.