-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Some methods (e.g., diffusion models) [1] provide a fixed schedule for integration that takes into account the (approximately known) curvature of the underlying ODE.
Currently, only fixed single step size and (automatic) adaptive step size schedules are possible, but no fixed schedules with varying steps sizes.
@LarsKue How can we introduce them best?
One option woud be the following: If the steps parameter to integrate is iterable and numeric, we interpret it as times for a fixed schedule with [start_time, t_1, t_2, ..., stop_time]. In this setting, we would make the start_time and stop_time parameters optional, and introduce checks to ensure they are passed in the other cases.
What do you think? If you are ok with this design, I would offer to create a PR for this.