An open-source toolbox for fast sampling of diffusion models. Official implementations of our works published in ICML'24, NeurIPS'24, CVPR'24, J. Stat. Mech'25.
Jupyter Notebook
365
43 commits
updated Nov 25, 2025
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:


./src/dataset_name. Some errors and typos were fixed. Detailed running scripts are provided in launch.sh, where we also added new scripts for evaluation of CLIP score for Stable Diffusion.If you have any questions regarding the implementations, please contact zhyzhou@zju.edu.cn, defchern@zju.edu.cn.
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}
}
36 commits
7 commits
Jupyter Notebook
87.0%
Python
12.9%
An open-source toolbox for fast sampling of diffusion models. Official implementations of our works published in ICML'24, NeurIPS'24, CVPR'24, J. Stat. Mech'25.
Jupyter Notebook
365
43 commits
updated Nov 25, 2025
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:


./src/dataset_name. Some errors and typos were fixed. Detailed running scripts are provided in launch.sh, where we also added new scripts for evaluation of CLIP score for Stable Diffusion.If you have any questions regarding the implementations, please contact zhyzhou@zju.edu.cn, defchern@zju.edu.cn.
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}
}
36 commits
7 commits
Jupyter Notebook
87.0%
Python
12.9%