You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* init schedulers docs
* add some docstrings, fix sidebar formatting
* add docstrings
* [Type hint] PNDM schedulers (#335)
* [Type hint] PNDM Schedulers
* ran make style
* updated timesteps type hint
* apply suggestions from code review
* ran make style
* removed unused import
* [Type hint] scheduling ddim (#343)
* [Type hint] scheduling ddim
* apply suggestions from code review
apply suggestions to also return the return type
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* make style
* update class docstrings
* add docstrings
* missed merge edit
* add general docs page
* modify headings for right sidebar
Co-authored-by: Partho <parthodas6176@gmail.com>
Co-authored-by: Santiago Víquez <santi.viquez@gmail.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Differentalgorithmsusetimestepsthatbothdiscrete(accepting`int`inputs),suchasthe[`DDPMScheduler`]or[`PNDMScheduler`],andcontinuous(accepting'float` inputs), such as the score-based schedulers [`ScoreSdeVeScheduler`] or [`ScoreSdeVpScheduler`].
29
+
30
+
## Designing Re-usable schedulers
31
+
The core design principle between the schedule functions is to be model, system, and framework independent.
32
+
This allows for rapid experimentation and cleaner abstractions in the code, where the model prediction is separated from the sample update.
33
+
To this end, the design of schedulers is such that:
34
+
- Schedulers can be used interchangeably between diffusion models in inference to find the preferred trade-off between speed and generation quality.
35
+
- Schedulers are currently by default in PyTorch, but are designed to be framework independent (partial Numpy support currently exists).
#### Pseudo numerical methods for diffusion models (PNDM)
83
+
84
+
Original implementation can be found [here](https://github.com/crowsonkb/k-diffusion/blob/481677d114f6ea445aa009cf5bd7a9cdee909e47/k_diffusion/sampling.py#L181).
0 commit comments