be used to overwrite load - and saveable variables - i.e. the pipeline components - of the
specific pipeline class. The overwritten components are then directly passed to the pipelines
__init__ method. See example below for more information.


variant (str, optional) —
If specified load weights from variant filename, e.g. pytorch_model..bin. variant is
ignored when using from_flax.



Instantiate a PyTorch diffusion pipeline from pre-trained pi