Coder Social home page Coder Social logo

zju-pi / diff-sampler Goto Github PK

View Code? Open in Web Editor NEW
143.0 8.0 6.0 9.28 MB

An open-source toolbox for fast sampling of diffusion models. Official implementations for our [CVPR-2024, ICML-2024] papers

License: Apache License 2.0

Python 45.67% Shell 0.37% Jupyter Notebook 53.96%
diffusion-models ode-solver samplers cvpr2024 benchmark

diff-sampler's Introduction

diff-sampler

diff-sampler is an open-source toolbox for fast sampling of diffusion models, to provide a fair comparison of existing approaches and help researchers to develp better approaches. diff-sampler contains various model implementations, numerical-based solvers, time schedules, and other features.

This repository also includes (or will include) the official implementations of our following works:

News

TODO

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

Citation

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

@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}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.