DiTango: Cost-Effective Parallel Diffusion Generation with Selective Attention State Reuse
Summary
DiTango is a novel parallel framework designed to enhance the cost-effectiveness of Diffusion Transformer (DiT) generation, particularly for high-resolution, long-duration content. It addresses significant scalability challenges in multi-node environments, which typically suffer from excessive communication overhead during parallel diffusion inference. The framework leverages an observation that spatially proximate partitions in Context Parallelism contribute more to attention computation, enabling a selective attention state mechanism. This mechanism strategically balances partial attention computation with historical result reuse across denoising steps. DiTango incorporates an anchor-guided state selection planner to optimize computation-reuse decisions for each partition, alongside a runtime for efficient state-centric operations. Experimental evaluations show DiTango achieves up to 1.9x end-to-end and 3.2x attention speedup with near-linear scaling in multi-node settings, while maintaining generation quality comparable to established high-performance approaches.
Key takeaway
For Machine Learning Engineers deploying Diffusion Transformers for high-resolution, long-duration content generation, DiTango presents a critical solution to multi-node scalability. Its selective attention state reuse mechanism directly addresses communication overhead, enabling up to 1.9x end-to-end speedup and near-linear scaling. You should evaluate DiTango to significantly reduce inference costs and accelerate generation times in your distributed DiT deployments, without compromising output quality.
Key insights
DiTango optimizes parallel Diffusion Transformer generation by selectively reusing attention states, significantly reducing multi-node communication overhead.
Principles
- Context Parallelism partitions exhibit heterogeneity.
- Map heterogeneous patterns to hierarchical communication.
- Balance partial attention with historical state reuse.
Method
DiTango employs an anchor-guided state selection planner to optimize computation-reuse decisions for each partition, complemented by a runtime orchestrating efficient state-centric operations across denoising steps.
In practice
- Attain up to 1.9x end-to-end speedup.
- Realize 3.2x attention computation speedup.
- Scale DiT generation near-linearly in multi-node.
Topics
- Diffusion Transformers
- Parallel Computing
- Attention Mechanisms
- Multi-node Systems
- AI-generated Content
- Scalability
Best for: Research Scientist, AI Scientist, Machine Learning Engineer, Computer Vision Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.