Papers › DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps

DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps

2 Jun 2022arXiv:2206.00927archive 2025-07-28

Cheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li, Jun Zhu

Diffusion probabilistic models (DPMs) are emerging powerful generative models. Despite their high-quality generation performance, DPMs still suffer from their slow sampling as they generally need hundreds or thousands of sequential function evaluations (steps) of large neural networks to draw a sample. Sampling from DPMs can be viewed alternatively as solving the corresponding diffusion ordinary differential equations (ODEs). In this work, we propose an exact formulation of the solution of diffusion ODEs. The formulation analytically computes the linear part of the solution, rather than leaving all terms to black-box ODE solvers as adopted in previous works. By applying change-of-variable, the solution can be equivalently simplified to an exponentially weighted integral of the neural network. Based on our formulation, we propose DPM-Solver, a fast dedicated high-order solver for diffusion ODEs with the convergence order guarantee. DPM-Solver is suitable for both discrete-time and continuous-time DPMs without any further training. Experimental results show that DPM-Solver can generate high-quality samples in only 10 to 20 function evaluations on various datasets. We achieve 4.70 FID in 10 function evaluations and 2.87 FID in 20 function evaluations on the CIFAR10 dataset, and a 4∼16× speedup compared with previous state-of-the-art training-free samplers on various datasets.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2206.00927")

Code

Syntology Ran 5 of 24 code samples harvested from 5 repositories linked to this paper; 19 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 4 samples from 1 repository, 1 ran; community (archive-listed): 17 samples from 3 repositories, 3 ran; community: 3 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

luchengthu/dpm-solver officialmentioned in papermentioned on GitHubjax report
astra-vision/LiDPM mentioned on GitHubpytorchApache-2.0 report
thomaskerdreux/pdm_sar_insar_generation mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

24 samples harvested; 5 ran; 0 honoured the contract we drafted; 19 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
2ran · our draft was wrong
2ran
19unverified

Licence: 0 of the 24 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 5 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

DPM_Solver luchengthu/dpm-solver/dpm_solver_pytorch.py official repository ran MIT (permissive) · 18673fd093501c14 · report
expand_dims LuChengTHU/dpm-solver/examples/score_sde_jax/dpm_solver.py official repository unverified MIT (permissive) · 5de61fe60d41eb55 · report
interpolate_fn LuChengTHU/dpm-solver/examples/score_sde_jax/dpm_solver.py official repository unverified MIT (permissive) · 8f6335e1c872cedc · report
model_wrapper LuChengTHU/dpm-solver/examples/score_sde_jax/dpm_solver.py official repository unverified MIT (permissive) · aafc0d7013851789 · report
expand_dims thomaskerdreux/pdm_sar_insar_generation/utils/utils_sample_DPM.py community (archive-listed) ran · our draft was wrong MIT (permissive) · b68777351ff35e18 · report
interpolate_fn thomaskerdreux/pdm_sar_insar_generation/utils/utils_sample_DPM.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 75f87754036e8581 · report
DPM_Solver thomaskerdreux/pdm_sar_insar_generation/utils/utils_sample_DPM.py community (archive-listed) unverified MIT (permissive) · c92037e529d03d02 · report
NoiseScheduleVP thomaskerdreux/pdm_sar_insar_generation/utils/utils_sample_DPM.py community (archive-listed) unverified MIT (permissive) · c1dc4eb5c194ce8d · report
convert_inf astra-vision/LiDPM/lidpm/utils/callbacks.py community (archive-listed) unverified Apache-2.0 (permissive) · 87d3711ace93ad00 · report
cosine_beta_schedule astra-vision/LiDPM/lidpm/utils/scheduling.py community (archive-listed) unverified Apache-2.0 (permissive) · 2844790a72cc7fd1 · report
feats_to_coord astra-vision/LiDPM/lidpm/utils/collations.py community (archive-listed) unverified Apache-2.0 (permissive) · b8a1f3b1f37f7fde · report
linear_beta_schedule astra-vision/LiDPM/lidpm/utils/scheduling.py community (archive-listed) unverified Apache-2.0 (permissive) · 84a1879c66fb8e8b · report
load_config astra-vision/LiDPM/lidpm/utils/configs.py community (archive-listed) unverified Apache-2.0 (permissive) · 33bdf42966c6d6f3 · report
load_poses astra-vision/LiDPM/lidpm/utils/pcd_preprocess.py community (archive-listed) unverified Apache-2.0 (permissive) · dd375501c42dd070 · report
parse_calibration astra-vision/LiDPM/lidpm/utils/pcd_preprocess.py community (archive-listed) unverified Apache-2.0 (permissive) · b39e1616e4146e48 · report
quadratic_beta_schedule astra-vision/LiDPM/lidpm/utils/scheduling.py community (archive-listed) unverified Apache-2.0 (permissive) · f9097d641770f184 · report
random_flip_point_cloud astra-vision/LiDPM/lidpm/utils/pcd_transforms.py community (archive-listed) unverified Apache-2.0 (permissive) · 418cad3868631abf · report
rotate_perturbation_point_cloud astra-vision/LiDPM/lidpm/utils/pcd_transforms.py community (archive-listed) unverified Apache-2.0 (permissive) · 0fb3faa4f806ee7a · report
rotate_point_cloud astra-vision/LiDPM/lidpm/utils/pcd_transforms.py community (archive-listed) unverified Apache-2.0 (permissive) · a9f27fc650c1d8ce · report
smart_config astra-vision/LiDPM/lidpm/utils/configs.py community (archive-listed) unverified Apache-2.0 (permissive) · 22c48367db1c5906 · report
index_list thu-ml/DPM-Solver-v3/codebases/score_sde/samplers/dpm_solver_v3.py community ran · violated contract MIT (permissive) · 522ab9ee79479d93 · report
weighted_cumsumexp_trapezoid thu-ml/DPM-Solver-v3/codebases/score_sde/samplers/dpm_solver_v3.py community unverified MIT (permissive) · 62681c73cc1d446e · report
weighted_cumsumexp_trapezoid_torch thu-ml/DPM-Solver-v3/codebases/score_sde/samplers/dpm_solver_v3.py community unverified MIT (permissive) · 510b207c6841a775 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections