Real-Time Video Generation with Pyramid Attention Broadcast

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhao, Xuanlei, Jin, Xiaolong, Wang, Kai, You, Yang
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929733210472448
author Zhao, Xuanlei
Jin, Xiaolong
Wang, Kai
You, Yang
author_facet Zhao, Xuanlei
Jin, Xiaolong
Wang, Kai
You, Yang
contents We present Pyramid Attention Broadcast (PAB), a real-time, high quality and training-free approach for DiT-based video generation. Our method is founded on the observation that attention difference in the diffusion process exhibits a U-shaped pattern, indicating significant redundancy. We mitigate this by broadcasting attention outputs to subsequent steps in a pyramid style. It applies different broadcast strategies to each attention based on their variance for best efficiency. We further introduce broadcast sequence parallel for more efficient distributed inference. PAB demonstrates up to 10.5x speedup across three models compared to baselines, achieving real-time generation for up to 720p videos. We anticipate that our simple yet effective method will serve as a robust baseline and facilitate future research and application for video generation.
format Preprint
id arxiv_https___arxiv_org_abs_2408_12588
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Real-Time Video Generation with Pyramid Attention Broadcast
Zhao, Xuanlei
Jin, Xiaolong
Wang, Kai
You, Yang
Computer Vision and Pattern Recognition
Distributed, Parallel, and Cluster Computing
We present Pyramid Attention Broadcast (PAB), a real-time, high quality and training-free approach for DiT-based video generation. Our method is founded on the observation that attention difference in the diffusion process exhibits a U-shaped pattern, indicating significant redundancy. We mitigate this by broadcasting attention outputs to subsequent steps in a pyramid style. It applies different broadcast strategies to each attention based on their variance for best efficiency. We further introduce broadcast sequence parallel for more efficient distributed inference. PAB demonstrates up to 10.5x speedup across three models compared to baselines, achieving real-time generation for up to 720p videos. We anticipate that our simple yet effective method will serve as a robust baseline and facilitate future research and application for video generation.
title Real-Time Video Generation with Pyramid Attention Broadcast
topic Computer Vision and Pattern Recognition
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2408.12588