Hot AI News

Recycling GPU registers makes 4-bit attention up to 1.64x faster on RTX Blackwell

Nvidia says a new scheduling trick for SageAttention3 speeds up its NVFP4 kernel by up to 1.64x on RTX PRO 6000 Blackwell, and cut end-to-end world-model latency by up to 15.34% at Reactor.

Recycling GPU registers makes 4-bit attention up to 1.64x faster on RTX Blackwell
Image: Nvidia

Nvidia has published a developer post describing a scheduling change for 4-bit NVFP4 attention on RTX Blackwell GPUs. The company says it cuts kernel latency by up to 1.64x on the RTX PRO 6000.

The work, written by Nvidia engineer Atharva Joshi, targets the SageAttention3 kernel on the SM120 architecture used by the RTX PRO 6000 Blackwell Series. The core optimization has been merged into the main branch of the FlashInfer library.

Kernel speedup, optimized vs original
Image: Nvidia, chart by Aiholics

How freed score registers keep Tensor Cores busy

In the original SageAttention3 design, each thread block uses four producer warps and eight consumer warps. For every 128-column tile, the consumers run the query-key multiplication, then softmax and quantization of the probabilities, then the probability-value multiplication, strictly in sequence. While softmax and quantization run, the Tensor Cores sit idle.

Video: Nvidia

Nvidia’s fix splits each 128-column score tile into two 64-column halves, each held in its own register slot. Once one half has been exponentiated and packed into NVFP4, its registers are reused to compute the matching half of the next tile’s query-key product. That work then overlaps with the rest of the current tile’s softmax, quantization and value multiplication. Online-softmax statistics are still updated across the full tile before either half is consumed.

The register budget explains why this matters. According to Nvidia, producer warps use 3,072 registers and consumer warps 59,392, about 95.3% of the multiprocessor’s capacity. That leaves no room for a second full score buffer, which is the usual way to overlap tiles.

Advertisements

Gains range from 17% to 64% in the kernel, far less end to end

Reactor, a platform for real-time video, robotics and world models, tested the kernel on an RTX PRO 6000 Blackwell Server Edition with 96 GB of memory. With identical inputs, batch size 1, 24 heads and head dimension 128, the kernel speedups ranged from 1.17x to 1.64x. The top figure came from a synthetic causal case with 8,192 tokens. A real 7,040-token input captured from LongLive gained 1.18x without a causal mask and 1.19x with one. Nvidia notes that this timing excludes Q/K/V quantization and output-stride restoration.

End-to-end results are smaller and vary by model. In Nvidia’s table, LongLive latency fell 6.70% for a 32-frame generation, and OmniDreams fell between 14.77% and 15.34% across its scenarios. Helios gained only 1.11% to 1.78%, and the Cosmos 3 Nano policy action-prediction pilot gained 1.70%. In each case only the listed attention calls ran in NVFP4, while other attention operations and the model weights stayed in BF16.

Reactor says it put the kernel into its production stack serving customer traffic. Nvidia’s own summary calls the results reductions of “up to 15.34%” in end-to-end latency.

Who can try it, and what the post leaves open

The code is available now to anyone building from source. Nvidia tells developers to clone the FlashInfer main branch with its submodules, follow the source installation guide, plug the SM120 NVFP4 attention API into supported layers, and compare latency and output quality against a BF16 baseline. No price or release version is given, and the hardware tested is a workstation-class server card, not a consumer GPU.

Several limits are worth keeping in mind. The numbers are measured by Reactor and published by Nvidia, and the post does not describe independent replication. The OmniDreams rows come from one process per scenario, while LongLive and Helios report medians of three runs. The BF16 baseline for the chunk and action benchmarks is native cuDNN attention. Most importantly, the post tells readers to check output quality themselves but publishes no quality metrics for the NVFP4 results. SageAttention3’s two-level scaling for the softmax output is meant to protect accuracy, but how well it holds up per model is not shown.

Advertisements

Real-time world models are becoming a hardware contest

The post lands as several vendors push interactive generative models toward lower latency on different silicon. Earlier this week aiholics reported that Runway’s robot model answers in 104 ms on Amazon’s Trainium3 chip, and last week that Apple’s FastFrames-L reduces a 14B video model to two sampling steps. Those routes cut latency through a different chip or by shrinking the number of steps. Nvidia’s approach keeps the model and the sampling schedule and changes how one kernel uses the registers on hardware customers may already own.

That is also the narrower claim. The kernel gains are largest on synthetic causal inputs, and the real-model gains depend on how much of a model’s runtime is attention. Helios, where only some self-attention calls use NVFP4, barely moved, while OmniDreams, which leans on self-attention with cached history, gained about 15%. For teams serving long-sequence video or world models on RTX Blackwell, the practical question is how much of their step time is attention, and whether the quality cost of 4-bit is acceptable.

Nvidia also frames the technique against its data center chips. On Hopper and data center Blackwell, FlashAttention3 and FlashAttention4 overlap matrix math and softmax, but the post says those pipelines do not transfer directly to SM120. On that chip, BF16 attention is bound by matrix-multiply throughput rather than softmax, which is why the company is leaning on the higher NVFP4 rate.

Sign Up for the Daily AI Pulse

One email a day. All the stories that matter.

Alex CarterAI News & Big Tech Correspondent

Alex Carter writes for Aiholics, keeping readers updated on the fast-paced world of AI and Big Tech.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may also like