Scheduler
- class Scheduler[source]
Bases:
ABC,Generic[D]Abstract base class for schedulers of flow matching models.
Generally \(\beta_t = 1-\alpha_t\), but this can be re-defined.
- abstract alpha(x: D, t: Tensor) D[source]
\(\alpha_t\).
Can be overwritten if \(\alpha_t\) is data-dependent.
- abstract alpha_dot(x: D, t: Tensor) D[source]
\(\dot{\alpha}_t\).
Can be overwritten if \(\dot{\alpha}_t\) is data-dependent.
- beta_dot(x: D, t: Tensor) D[source]
\(\dot{\beta}_t\).
Can be overwritten if \(\dot{\beta}_t\) is data-dependent.
- eta(x: D, t: Tensor) D[source]
\(\eta_t\) as defined in [Adjoint Matching](https://arxiv.org/abs/2409.08861).
- kappa(x: D, t: Tensor) D[source]
\(\kappa_t\) as defined in [Adjoint Matching](https://arxiv.org/abs/2409.08861).
- model_input(t: Tensor) Tensor[source]
Input to the model at time t.
Defaults to t, but could be different if using a different time parameterization.
- property noise_schedule: NoiseSchedule[D]
Get the current noise schedule.