diffusers/src/diffusers/schedulers at main · cooperleong00/diffusers · GitHub
Skip to content

Latest commit

 

History

History
 
 

schedulers

Folders and files

README.md

Schedulers

  • Schedulers are the algorithms to use diffusion models in inference as well as for training. They include the noise schedules and define algorithm-specific diffusion steps.
  • Schedulers can be used interchangeable between diffusion models in inference to find the preferred trade-off between speed and generation quality.
  • Schedulers are available in numpy, but can easily be transformed into PyTorch.

API

  • Schedulers should provide one or more def step(...) functions that should be called iteratively to unroll the diffusion loop during the forward pass.
  • Schedulers should be framework specific.

Examples