Rigsy · benchmarks

Attention kernels on a home RTX 5080.

Attention is the most expensive step in video and image models. Here is how fast the kernels people actually install run on one consumer GPU — and what they cost in accuracy.

These are results of official, third-party kernels. PyTorch's built-in SDPA and SageAttention 2 and 3 by their original authors — Rigsy did not write them and ships no kernel of its own yet. A custom attention kernel tuned for this card is on the roadmap; when it exists, it will be measured here the same way.

Test machine

GPUNVIDIA GeForce RTX 5080, 16 GB (Blackwell, sm_120)
Driver / CUDA617.14 / CUDA 13.2
PyTorch2.14.0+cu132
SageAttention2.2.0 · SageAttention3 1.0.0 (built from source for Windows, sm_120a)
ComfyUI0.42.0
OSWindows 11
Measured29 October 2026

1 · The kernel alone

One attention call the size Wan 2.2 14B uses for an 81-frame 832×480 video: 1 × 40 heads × 32 760 tokens × 128, bf16. One warm-up run, then the mean of five; nothing else on the GPU but an idle ComfyUI, with enough free VRAM (see the note below).

KernelTimeSpeed-upError vs FP32
PyTorch SDPA511 ms1.0×0 %
SageAttention 2 INT8 QK · FP8 PV76 ms6.7×3.9 %
SageAttention 3 FP4 block-scaled56 ms9.2×19 %

2 · A real video

Wan 2.2 image-to-video 14B (NVFP4, lightx2v 4 steps), 81 frames at 1104×752, RIFE ×2. Same image, prompt and seed; only the attention kernel changes.

KernelWhole videoWhat we saw
SageAttention 2146 san extra object appeared on the subject in the last frames
SageAttention 3151 sclean
First, middle and last frame of the same Wan video: top row SageAttention 2, bottom row SageAttention 3
First, middle and last frame. Top: SageAttention 2. Bottom: SageAttention 3.

Reproduce it Soon

The benchmark script will be published on GitHub, so anyone can run the same test on their own card and compare.

Roadmap · Rigsy Kernel Planned

A custom attention kernel written for this one card — no general-purpose compromises:

Status: research. No dates promised.