SDXS: Real-Time One-Step Latent Diffusion Models with Image Conditions

Yuda Song, Zehao Sun, Xuanwu Yin
3/25/2024
cs.CV

No official code found. Best implementation: IDKiro/sdxs (663 stars, Apache-2.0, last commit 2024-05-27).

Abstract

Recent advancements in diffusion models have positioned them at the forefront of image generation. Despite their superior performance, diffusion models are not without drawbacks; they are characterized by complex architectures and substantial computational demands, resulting in significant latency due to their iterative sampling process. To mitigate these limitations, we introduce a dual approach involving model miniaturization and a reduction in sampling steps, aimed at significantly decreasing model latency. Our methodology leverages knowledge distillation to streamline the U-Net and image decoder architectures, and introduces an innovative one-step DM training technique that utilizes feature matching and score distillation. We present two models, SDXS-512 and SDXS-1024, achieving inference speeds of approximately 100 FPS (30x faster than SD v1.5) and 30 FPS (60x faster than SDXL) on a single GPU, respectively. Moreover, our training approach offers promising applications in image-conditioned control, facilitating efficient image-to-image translation.

View on arXivView PDF

Code Implementations(1)

IDKiro/sdxsCommunity100%
Apache-2.0

SDXS: Real-Time One-Step Latent Diffusion Models with Image Conditions

66324CSS, PythonMar 22, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{song2024sdxs,
  title  = {SDXS: Real-Time One-Step Latent Diffusion Models with Image Conditions},
  author = {Yuda Song and Zehao Sun and Xuanwu Yin},
  year   = {2024},
  eprint = {2403.16627},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.16627v2}
}

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

Discussion