Skip to main content
VRAM DIFFUSIONVRAM STUDIO // FLUX.1 & WAN2.2 OFFLOAD + GPU BATCH STUDIO FP8 + SAGEATTN | VULTR $300 GPU CREDIT | XIAOMI MIMO OFFLOAD | BASELINE 2026-10-13
ComfyUIFluxGPU
ComfyUIFluxGPU Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
VRAM & CUDA Tuning

SageAttention vs FlashAttention-2 Speedup in Flux & Wan2.2

Benchmark INT8-quantized QK attention in SageAttention (--use-sage-attention) versus FlashAttention-2 and PyTorch SDPA on L4 and L40S.

1.8x-2.3x Video Speedup · -14% Activation VRAM · Ada/Ampere

SageAttention vs FlashAttention-2 Speedup in Flux & Wan2.2
VRAM & offload baseline verified 2026-10-13 by DiffusionVRAM Studio.

Why Video Diffusion Sees Massive SageAttention Gains

Wan2.2 spatiotemporal attention processes tens of thousands of tokens across 81 frames. SageAttention quantizes Q*K^T matrix products to INT8 on Tensor Cores, nearly doubling throughput.

CUDA 12.4 & Triton Compatibility

Install triton and sageattention inside a CUDA 12.4 + PyTorch 2.5 environment and pass --use-sage-attention in comfyui-launch.sh.

Measured Thresholds & ComfyUI Configuration Matrix

Attention BackendFlux.1 1024x1536 SpeedWan2.2 720p 81f Speed
PyTorch SDPA (Default)1.00x baseline1.00x baseline
FlashAttention-21.18x faster (-8% peak VRAM)1.28x faster
SageAttention (--use-sage-attention)1.35x faster (-14% peak VRAM)1.95x-2.30x faster
1.8x-2.3x Video Speedup · -14% Activation VRAM · Ada/Ampere Claim $300 GPU CreditXiaomi MiMo API