DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models

Muyang Li, Tianle Cai, Jiaxin Cao, Qinsheng Zhang, Han Cai +5 more
2/9/2026

No official code found. Best implementation: mit-han-lab/distrifuser (727 stars, MIT, last commit 2024-12-02).

Abstract

Diffusion models have achieved great success in synthesizing high-quality images. However, generating high-resolution images with diffusion models is still challenging due to the enormous computational costs, resulting in a pro-hibitive latency for interactive applications. In this paper, we propose DistriFusion to tackle this problem by leveraging parallelism across multiple GPUs. Our method splits the model input into multiple patches and assigns each patch to a GPU. However,naïvely implementing such an algorithm breaks the interaction between patches and loses fidelity, while incorporating such an interaction will incur tremendous communication overhead. To overcome this dilemma, we observe the high similarity between the input from adjacent diffusion steps and propose displaced patch parallelism, which takes advantage of the sequential nature of the diffusion process by reusing the pre-computed feature maps from the previous timestep to provide context for the current step. Therefore, our method supports asynchronous commu-nication, which can be pipelined by computation. Extensive experiments show that our method can be applied to recent Stable Diffusion XL with no quality degradation and achieve up to a 6.1 ×speedup on eight A100 GPUs compared to one.

View on arXivView PDF

Code Implementations(1)

MIT

[CVPR 2024 Highlight] DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models

72734PythonFeb 28, 20241 years agoMIT
accelerationdiffusion-modelsgenerative-aigenerative-modelparallelism

Similar Papers

Cite this paper

@article{li2026distrifusion,
  title  = {DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models},
  author = {Muyang Li and Tianle Cai and Jiaxin Cao and Qinsheng Zhang and Han Cai and Junjie Bai and Yangqing Jia and Ming-Yu Liu and Kai Li and Song Han},
  year   = {2026},
  eprint = {2402.19481},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2402.19481},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.19481.svg)](https://codeofpaper.com/paper/2402.19481)

Discussion