AI Cloud Architect

Accelerating Spatio-Temporal Attention for Video Diffusion on TPUs

GoogleBlog post by Ravisri Valluri, Sagar Chapara and Rishabh ManojGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Sparse attention for video diffusion, with custom Splash Attention kernels and token layout changes, cuts 81-frame 720p denoising time on eight TPU v6e chips by 1.28x, and up to 1.69x at 1440p.

Who it is for

Teams running video diffusion models on TPUs who need lower denoising latency at high resolutions.

Key points

  • Authors report 1.28x speedup at 720p (153.50 s to 119.86 s) with 24.80 dB PSNR versus dense.
  • Authors report 1.69x end-to-end speedup at 1440p (302K tokens) with 24.05 dB PSNR.
  • Isolated kernel result: 2.40x faster than dense Splash attention on a single TPU v6e chip.

The same at other vendors