FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute

Sotiris Anagnostidis, Gregor Bachmann, Yeongmin Kim, Jonas Kohler, Markos Georgopoulos +5 more
2/27/2025
cs.LGcs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Despite their remarkable performance, modern Diffusion Transformers are hindered by substantial resource requirements during inference, stemming from the fixed and large amount of compute needed for each denoising step. In this work, we revisit the conventional static paradigm that allocates a fixed compute budget per denoising iteration and propose a dynamic strategy instead. Our simple and sample-efficient framework enables pre-trained DiT models to be converted into \emph{flexible} ones -- dubbed FlexiDiT -- allowing them to process inputs at varying compute budgets. We demonstrate how a single \emph{flexible} model can generate images without any drop in quality, while reducing the required FLOPs by more than $40$\% compared to their static counterparts, for both class-conditioned and text-conditioned image generation. Our method is general and agnostic to input and conditioning modalities. We show how our approach can be readily extended for video generation, where FlexiDiT models generate samples with up to $75$\% less compute without compromising performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{anagnostidis2025flexidit,
  title  = {FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute},
  author = {Sotiris Anagnostidis and Gregor Bachmann and Yeongmin Kim and Jonas Kohler and Markos Georgopoulos and Artsiom Sanakoyeu and Yuming Du and Albert Pumarola and Ali Thabet and Edgar Schönfeld},
  year   = {2025},
  eprint = {2502.20126},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.20126v1},
  journal = {CVPR 2025 2025}
}

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/2502.20126.svg)](https://codeofpaper.com/paper/2502.20126)

Discussion