CLiS: Plug-and-Play Attention Acceleration for Video Diffusion on TPUs via Certified Stabilization

arXiv:2611.00444 · cs.LG · Submitted 2026-10-30 · Read on arXiv

cs.LG

Submitted: 2026-10-30

Updated: 2026-10-30

Code: https://github.com/google/torchax

License: http://creativecommons.org/licenses/by/4.0/

The gist: High-resolution video diffusion relies on attention over long token sequences, making attention efficiency critical to generation latency.

Terminology

Abstract

High-resolution video diffusion relies on attention over long token sequences, making attention efficiency critical to generation latency. Our analysis identifies repeated maximum reductions and accumulator rescaling in online softmax as a bottleneck in long-context TPU attention. We propose CLiS (Certified Loop-invariant Stabilization), a training-free, plug-and-play optimization for video diffusion inference. CLiS fixes per-row stabilizers before the KV loop and certifies numerical safety per head, falling back to online softmax when certification fails. It integrates into existing fused-attention kernels without changing model weights or architecture. On Wan 2.2 and LTX-2 across TPU v6e and TPU7x, CLiS reduces diffusion transformer (DiT) step latency by up to 19.6% relative to tuned online softmax without measurable quality loss. Controlled TPU adaptations of prior GPU stabilization methods show performance or numerical-safety limitations. Preliminary causal LLM experiments also show up to 13.5% higher training throughput in continued pretraining and 7.7% in supervised fine-tuning.

Sources

Related papers