Heun scheduler inspired by Karras et. al paper
	

Overview
	
Algorithm 1 of Karras et. al.
Scheduler ported from @crowsonkb’s https://github.com/crowsonkb/k-diffusion library:
All credit for making this scheduler work goes to Katherine Crowson

HeunDiscreteScheduler
	

class diffusers.HeunDiscreteScheduler

<
source
>
(
num_train_timesteps: int = 1000
beta_start: float = 0.00085
beta_end: float = 0.012
beta_schedule: str = 'linear'
trained_beta