Skip to content

Latest commit

 

History

History
96 lines (80 loc) · 9.27 KB

File metadata and controls

96 lines (80 loc) · 9.27 KB

diff-sampler

diff-sampler is an open-source toolbox designed for fast sampling of diffusion-based generative models. It enables a fair comparison among existing approaches and helps researchers develp better algorithms. diff-sampler supports a wide range of model implementations, numerical solvers, time schedules, and other advanced features.

This repository also includes the official implementations of our following works:

News

Supported Fast Samplers for Diffusion Models

Name Max Order Source Location
Euler 1 Denoising Diffusion Implicit Models diff-solvers-main
Heun 2 Elucidating the Design Space of Diffusion-Based Generative Models diff-solvers-main
DPM-Solver-2 2 DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps diff-solvers-main
DPM-Solver++ 3 DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models diff-solvers-main
UniPC 3 UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models diff-solvers-main
DEIS 4 Fast Sampling of Diffusion Models with Exponential Integrator diff-solvers-main
iPNDM 4 Fast Sampling of Diffusion Models with Exponential Integrator diff-solvers-main
iPNDM_v 4 The variable-step version of the Adams–Bashforth methods diff-solvers-main
AMED-Solver 2 Fast ODE-based Sampling for Diffusion Models in Around 5 Steps amed-solver-main
AMED-Plugin - Fast ODE-based Sampling for Diffusion Models in Around 5 Steps amed-solver-main
GITS - On the Trajectory Regularity of ODE-based Diffusion Sampling gits-main

Question

If you have any questions regarding the implementations, please contact zhyzhou@zju.edu.cn, defchern@zju.edu.cn.

Citation

If you find this repository useful, please consider citing the following papers (reverse chronological order):

@article{chen2025geometric,
  title={Geometric Regularity in Deterministic Sampling of Diffusion-based Generative Models},
  author={Chen, Defang and Zhou, Zhenyu and Wang, Can and Lyu, Siwei},
  journal={arXiv preprint arXiv:2506.10177},
  year={2025}
}

@article{zhou2024simple,
  title={Simple and Fast Distillation of Diffusion Models},
  author={Zhou, Zhenyu and Chen, Defang and Wang, Can and Chen, Chun and Lyu, Siwei},
  journal={arXiv preprint arXiv:2409.19681},
  year={2024}
}

@article{chen2024trajectory,
  title={On the Trajectory Regularity of ODE-based Diffusion Sampling},
  author={Chen, Defang and Zhou, Zhenyu and Wang, Can and Shen, Chunhua and Lyu, Siwei},
  journal={arXiv preprint arXiv:2405.11326},
  year={2024}
}

@article{zhou2023fast,
  title={Fast ODE-based Sampling for Diffusion Models in Around 5 Steps},
  author={Zhou, Zhenyu and Chen, Defang and Wang, Can and Chen, Chun},
  journal={arXiv preprint arXiv:2312.00094},
  year={2023}
}

@article{chen2023geometric,
  title={A geometric perspective on diffusion models},
  author={Chen, Defang and Zhou, Zhenyu and Mei, Jian-Ping and Shen, Chunhua and Chen, Chun and Wang, Can},
  journal={arXiv preprint arXiv:2305.19947},
  year={2023}
}

Star History

Star History Chart