ponents of the diffusion pipeline.
_optional_components (Liststr) — list of all components that are optional so they don’t have to be
passed for the pipeline to function (should be overridden by subclasses).

__call__


(
*args
**kwargs

)



Call self as a function.

device

<
source
>
(
)
→
torch.device

Returns

torch.device



The torch device on which the pipeline is located.



to

<
source
>
(
torch_device: typing.Union[str, torch.device