Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

FlashInfer merges NVFP4 attention optimization for RTX Blackwell

AI summary

NVIDIA says a FlashInfer optimization for NVFP4 attention on RTX Blackwell SM120 now uses score-register recycling and improved scheduling to overlap matrix multiplication with remaining softmax work. Reactor integrated the kernel into its production serving stack, and measurements shared by Reactor showed end-to-end latency reductions ranging from 1.32% to 15.34% across several world-model workloads on the NVIDIA RTX PRO 6000 Blackwell. The optimization was merged into the FlashInfer main branch.

In-depth insight

The merged kernel provides a concrete way to improve low-latency world-model inference on RTX Blackwell hardware without requiring a second full score buffer.

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, these hardware-specific pipelines cannot be applied directly to the NVIDIA RTX PRO 6000 Blackwell Series (SM120), which uses a different Tensor Core architecture. For video generation models using BF16 inference, attention remains primarily MMA-bound on NVIDIA Blackwell RTX GPUs, while softmax is a major bottleneck in forward attention on Blackwell data center GPUs.

Introduced with NVIDIA Blackwell architecture, NVFP4 offers hardware-accelerated 4-bit matrix multiplication, enabling higher Tensor Core throughput and creating an opportunity to accelerate attention beyond BF16. But sustaining high throughput requires careful coordination of softmax, data movement, and intermediate storage. Dependencies between these stages can leave Tensor Cores idle, limiting how effectively the kernel uses the available compute.

This post explains how to accelerate NVFP4 attention on the SM120 architecture through register recycling and improved scheduling. By reclaiming score registers after the softmax outputs have been packed into NVFP4, the next tile’s matrix multiplication can overlap with remaining softmax work on the current tile. This creates a more efficient pipeline that reduces Tensor Core idle time and improves utilization without requiring a second full score buffer.

#NVIDIA#Reactor#FlashInfer#NVIDIA RTX PRO 6000 Blackwell#SageAttention3#FlashAttention3#FlashAttention4#NVFP4

Original · 10 min readRead the original
Group chat

No comments yet. Start the conversation.