GitHub - vlcanesin/diffusers: Original fork of the 🤗 Diffusers library implementing the solvers of the paper: "WiSP-OSch: Solver Within-Step Parallelism and Order Scheduling for Diffusion Sampling" · GitHub
Skip to content
vlcanesinPublic

About

Original fork of the 🤗 Diffusers library implementing the solvers of the paper: "WiSP-OSch: Solver Within-Step Parallelism and Order Scheduling for Diffusion Sampling"

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Diffusers (Fork)

This repository is a fork of the original Diffusers Hugging Face project. It was created to add ODE solvers and sampling schedulers proposed in the ICLR'26 DeLTA wokshop oral paper "WiSP-OSch: Solver Within-Step Parallelism and Order Scheduling for Diffusion Sampling" [hal]. To reproduce all experiments from the paper, please, check this repository

Changes from the original

The following schedulers are implemented in this fork:

  • scheduling_runge_kutta.py
    RungeKuttaScheduler — Fixed-step solvers of order p = 1–4.
    Includes EDM and tEDM (EDM adapted directly to time) time step schedules and order scheduling.

  • scheduling_dpmsolver_osch.py
    DPMSolverComposedScheduler — Implements the order scheduling strategy in the scheduling_dpmsolver_singlestep.py scheduler.

  • scheduling_wisp_runge_kutta.py
    WiSPRungeKuttaScheduler — Solvers of order p = 1–4, constructed by zeroing out state coefficients to enable parallelization.

  • scheduling_exp_runge_kutta.py
    ExpRungeKuttaScheduler — expRK4s6 and expRK5s10 solvers (exponential Runge–Kutta solvers of order p = 4–5) adapted to the diffusion context with appropriate quadrature rules.

  • scheduling_adaptive_runge_kutta.py
    AdaptiveHeunScheduler — Adaptive solver of order p = 2.

  • scheduling_dpm_runge_kutta.py
    DPMRungeKuttaScheduler — Experimental RK solver of order p = 4, using the ODE formulations (2.2, 2.3) from the DPM Solver paper.

  • scheduling_dpm_adaptive_runge_kutta.py
    DPMAdaptiveHeunScheduler — Experimental implementation based on adaptive step-size selection from the DPM paper, using a Heun solver.

Installation

  • Clone the repository
  • Install the library into your environment via pip install -e .

Citation

If you use this project in your research, please cite:

@inproceedings{canesin2026optimizing,
  title={WiSP-OSch: Solver Within-Step Parallelism and Order Scheduling for Diffusion Sampling},
  author={Canesin, V{\'\i}ctor Lucas Rosada and Gusak, Julia},
  booktitle={ICLR 2026 2nd Workshop on Deep Generative Model in Machine Learning: Theory, Principle and Efficacy}
}

About

Original fork of the 🤗 Diffusers library implementing the solvers of the paper: "WiSP-OSch: Solver Within-Step Parallelism and Order Scheduling for Diffusion Sampling"

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages