eduler.from_config(scheduler.config)

load_config

<
source
>
(
pretrained_model_name_or_path: typing.Union[str, os.PathLike]
return_unused_kwargs = False
**kwargs

)


Parameters 

pretrained_model_name_or_path (str or os.PathLike, optional) —
Can be either:

A string, the model id of a model repo on huggingface.co. Valid model ids should have an
organization name, like google/ddpm-celebahq-256.
A path to a directory containing model weights s