 scheduler.config.num_train_timesteps.
SchedulerMixin provides general loading and saving functionality via the SchedulerMixin.save_pretrained() and
from_pretrained() functions.

scale_model_input

<
source
>
(
sample: FloatTensor
timestep: typing.Union[float, torch.FloatTensor]

)
→
torch.FloatTensor

Parameters 

Ensures interchangeability with schedulers that need to scale the denoising model input depending on the —


current timestep. —
sa