 example
below for more information.   variant (str, optional) —
Load weights from a specified variant filename such as "fp16" or "ema". This is ignored when
loading from_flax.    Instantiates a text-to-image Pytorch diffusion pipeline from pretrained pipeline weight. The from_pretrained() method takes care of returning the correct pipeline class instance by: Detect the pipeline class of the pretrained_model_or_path based on the _class_name pro