ó
    oM‡j1" ã                   óþ  • S SK Jr  S SKJr  SSKJr  SSKJr  SSKJ	r	  SSK
JrJr  SS	KJr  SS
KJr  SSKJr  SSKJr  SSKJrJr  SSKJrJrJrJrJrJrJrJ r J!r!  SSK"J#r#J$r$  SSK%J&r&  SSK'J(r(J)r)J*r*  SSK+J,r,J-r-  SSK.J/r/J0r0J1r1J2r2J3r3J4r4J5r5J6r6J7r7J8r8  SSK9J:r:J;r;  SSK<J=r=  SSK>J?r?J@r@  SSKAJBrB  SSKCJDrD  SSKEJFrFJGrGJHrHJIrIJJrJJKrK  SSKLJMrMJNrNJOrOJPrPJQrQJRrR  SSKSJTrTJUrU  SSKVJWrW  SSKXJYrYJZrZ  SSK[J\r\  SSK]J^r^  SS K_J`r`  SS!KaJbrb  SS"KcJdrd  SS#KeJfrfJgrgJhrhJiriJjrjJkrkJlrlJmrmJnrnJoroJprpJqrqJrrrJsrsJtrt  SS$KuJvrvJwrw  SS%KxJyry  SS&KzJ{r{J|r|J}r}J~r~JrJ€r€J�r�J‚r‚  SS'KƒJ„r„  SS(K…J†r†  SS)K‡Jˆrˆ  SS*K‰JŠrŠJ‹r‹  SS+KŒJ�r�JŽrŽJ�r�  SS,K�J‘r‘J’r’J“r“  SS-K”J•r•J–r–J—r—  SS.K˜J™r™JšršJ›r›  SS/KœJ�r�JžržJŸrŸJ r J¡r¡J¢r¢  \" / S0\�4PS1\—4PS2\“4PS3\j4PS4\*4PS5\B4PS6\f4PS7\F4PS8\M4PS9\U4PS:\4PS;\4PS<\!4PS=\$4PS>\,4PS?\Š4PS@\Z4PSA\v4PSB\w4PSC\„4PSD\h4PSE\o4PSF\l4PSG\t4PSH\q4PSI\g4PSJ\4PSK\84PSL\44PSM\34PSN\74PSO\:4PSP\;4PSQ\D4PSR\W4PSS\^4PST\`4PSU\4PSV\4PSW\4PSX\=4PSY\?4PSZ\@4PS[\4PS\\b4PS]\‚4PS^\{4PS_\¢4PS`\ž4PSa\�4PSb\¡4PSc\d4PSd\y4P5      r£\" Se\4Sf\†4Sg\ˆ4Sh\\4/5      r¤\" S0\�4S1\•4S2\‘4S3\i4S4\(4S7\G4S8\N4S9\T4S:\4SE\m4S;\4S<\4SG\r4SH\p4S@\Y4SK\54SM\14SL\/4SN\74SO\:4SP\;4S]\4Si\}4Sj\~4Sk\�4S_\Ÿ4/5      r¥\" S0\Ž4S1\–4S2\’4S4\)4S7\I4S8\P4S:\4SF\k4S;\4S<\ 4S=\#4SG\s4SK\64SM\24SL\04SE\n4S]\€4Si\|4S_\ 4/5      r¦\" Sl\4Sm\š4/5      r§\" Sn\&4/5      r¨\" So\4Sp\™4/5      r©\" So\4Sm\›4/5      rª\" S7\K4S8\R4S>\-4S?\‹4/5      r«\" S7\H4S8\O4/5      r¬\" S7\J4S8\Q4/5      r­\	" 5       (       a  SSqK®J¯r¯J°r°  SSrKeJ±r±  \°\£Ss'   \±\£St'   \¯\¥Ss'   \£\¥\¦\§\¨\©\ª\¤\«\¬\­/r²Su r³Sv r´S‚Sw\µ4Sx jjr¶ " Sy Sz\5      r· " S{ S|\5      r¸ " S} S~\5      r¹ " S S€\5      rºg�)ƒé    )ÚOrderedDict)Úvalidate_hf_hub_argsé   )ÚConfigMixin)ÚControlNetUnionModel)Úis_sentencepiece_availableé   )ÚAnyFlowFARPipelineÚAnyFlowPipeline)ÚAudioLDM2Pipeline)ÚAuraFlowPipeline)ÚChromaPipeline)ÚCogView3PlusPipeline)ÚCogView4ControlPipelineÚCogView4Pipeline)	Ú(StableDiffusionControlNetImg2ImgPipelineÚ(StableDiffusionControlNetInpaintPipelineÚ!StableDiffusionControlNetPipelineÚ*StableDiffusionXLControlNetImg2ImgPipelineÚ*StableDiffusionXLControlNetInpaintPipelineÚ#StableDiffusionXLControlNetPipelineÚ/StableDiffusionXLControlNetUnionImg2ImgPipelineÚ/StableDiffusionXLControlNetUnionInpaintPipelineÚ(StableDiffusionXLControlNetUnionPipeline)Ú,StableDiffusion3ControlNetInpaintingPipelineÚ"StableDiffusion3ControlNetPipeline)ÚCosmos3OmniPipeline)ÚIFImg2ImgPipelineÚIFInpaintingPipelineÚ
IFPipeline)ÚWuerstchenCombinedPipelineÚWuerstchenDecoderPipeline)
ÚFluxControlImg2ImgPipelineÚFluxControlInpaintPipelineÚFluxControlNetImg2ImgPipelineÚFluxControlNetInpaintPipelineÚFluxControlNetPipelineÚFluxControlPipelineÚFluxImg2ImgPipelineÚFluxInpaintPipelineÚFluxKontextPipelineÚFluxPipeline)ÚFlux2KleinPipelineÚFlux2Pipeline)ÚGlmImagePipeline)ÚHeliosPipelineÚHeliosPyramidPipeline)ÚHunyuanDiTPipeline)ÚIdeogram4Pipeline)ÚKandinskyCombinedPipelineÚ KandinskyImg2ImgCombinedPipelineÚKandinskyImg2ImgPipelineÚ KandinskyInpaintCombinedPipelineÚKandinskyInpaintPipelineÚKandinskyPipeline)ÚKandinskyV22CombinedPipelineÚ#KandinskyV22Img2ImgCombinedPipelineÚKandinskyV22Img2ImgPipelineÚ#KandinskyV22InpaintCombinedPipelineÚKandinskyV22InpaintPipelineÚKandinskyV22Pipeline)ÚKandinsky3Img2ImgPipelineÚKandinsky3Pipeline)ÚKrea2Pipeline)Ú%LatentConsistencyModelImg2ImgPipelineÚLatentConsistencyModelPipeline)ÚLongCatAudioDiTPipeline)ÚLuminaPipeline)ÚLumina2Pipeline)ÚNucleusMoEImagePipeline)ÚOvisImagePipeline)ÚHunyuanDiTPAGPipelineÚPixArtSigmaPAGPipelineÚSanaPAGPipelineÚ"StableDiffusion3PAGImg2ImgPipelineÚStableDiffusion3PAGPipelineÚ+StableDiffusionControlNetPAGInpaintPipelineÚ$StableDiffusionControlNetPAGPipelineÚ!StableDiffusionPAGImg2ImgPipelineÚ!StableDiffusionPAGInpaintPipelineÚStableDiffusionPAGPipelineÚ-StableDiffusionXLControlNetPAGImg2ImgPipelineÚ&StableDiffusionXLControlNetPAGPipelineÚ#StableDiffusionXLPAGImg2ImgPipelineÚ#StableDiffusionXLPAGInpaintPipelineÚStableDiffusionXLPAGPipeline)ÚPixArtAlphaPipelineÚPixArtSigmaPipeline)ÚPRXPipeline)ÚQwenImageControlNetPipelineÚQwenImageEditInpaintPipelineÚQwenImageEditPipelineÚQwenImageEditPlusPipelineÚQwenImageImg2ImgPipelineÚQwenImageInpaintPipelineÚQwenImageLayeredPipelineÚQwenImagePipeline)ÚSanaPipeline)ÚStableAudioPipeline)ÚStableAudio3Pipeline)ÚStableCascadeCombinedPipelineÚStableCascadeDecoderPipeline)ÚStableDiffusionImg2ImgPipelineÚStableDiffusionInpaintPipelineÚStableDiffusionPipeline)ÚStableDiffusion3Img2ImgPipelineÚStableDiffusion3InpaintPipelineÚStableDiffusion3Pipeline)Ú StableDiffusionXLImg2ImgPipelineÚ StableDiffusionXLInpaintPipelineÚStableDiffusionXLPipeline)ÚWanImageToVideoPipelineÚWanPipelineÚWanVideoToVideoPipeline)ÚZImageControlNetInpaintPipelineÚZImageControlNetPipelineÚZImageImg2ImgPipelineÚZImageInpaintPipelineÚZImageOmniPipelineÚZImagePipelinezstable-diffusionzstable-diffusion-xlzstable-diffusion-3zstable-diffusion-3-pagÚifÚhunyuanzhunyuan-pagÚ	kandinskyÚkandinsky22Ú
kandinsky3zstable-diffusion-controlnetzstable-diffusion-xl-controlnetz$stable-diffusion-xl-controlnet-unionzstable-diffusion-3-controlnetÚ
wuerstchenÚcascadeÚlcmzpixart-alphazpixart-sigmaÚsanazsana-pagzstable-diffusion-pagzstable-diffusion-controlnet-pagzstable-diffusion-xl-pagz"stable-diffusion-xl-controlnet-pagzpixart-sigma-pagÚauraflowÚfluxzflux-controlzflux-controlnetzflux-kontextzflux2-kleinÚflux2Ú	ideogram4Úkrea2ÚluminaÚlumina2ÚchromaÚcogview3Úcogview4Ú	glm_imageÚhelioszhelios-pyramidzcogview4-controlznucleusmoe-imageÚ	qwenimagezqwenimage-controlnetzz-imagezz-image-controlnetzz-image-controlnet-inpaintzz-image-omniÚovisÚprxÚ	audioldm2zstable-audiozstable-audio-3zlongcat-audio-ditzqwenimage-editzqwenimage-edit-pluszqwenimage-layeredÚanyflowÚwanzcosmos3-omnizanyflow-farzwan-i2v)ÚKolorsImg2ImgPipelineÚKolorsPipeline)ÚKolorsPAGPipelineÚkolorsz
kolors-pagc                 ó*  • U [         R                  5       ;   a  [        [        U R                  SS9$ U [
        R                  5       ;   a  [        [        U R                  SS9$ U [        R                  5       ;   a  [        [        U R                  SS9$ g )NF)Úthrow_error_if_not_exist)	Ú*_AUTO_TEXT2IMAGE_DECODER_PIPELINES_MAPPINGÚvaluesÚ_get_task_classÚ!AUTO_TEXT2IMAGE_PIPELINES_MAPPINGÚ__name__Ú+_AUTO_IMAGE2IMAGE_DECODER_PIPELINES_MAPPINGÚ"AUTO_IMAGE2IMAGE_PIPELINES_MAPPINGÚ'_AUTO_INPAINT_DECODER_PIPELINES_MAPPINGÚAUTO_INPAINT_PIPELINES_MAPPING)Úpipeline_clss    Ú¯C:\Users\johnn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\diffusers/pipelines/auto_pipeline.pyÚ_get_connected_pipeliner§   T  s�   € àÔA×HÑHÓJÓJÜÜ-¨|×/DÑ/DÐ_dñ
ð 	
ð ÔB×IÑIÓKÓKÜÜ.°×0EÑ0EÐ`eñ
ð 	
ð Ô>×EÑEÓGÓGÜÔ=¸|×?TÑ?TÐotÑuÐuð Hó    c                 ó|   • [          H2  nUR                  5        H  u  p#UR                  U :X  d  M  Us  s  $    M4     g )N)ÚSUPPORTED_TASKS_MAPPINGSÚitemsr    )Úpipeline_class_nameÚtask_mappingÚ
model_nameÚpipelines       r¦   Ú
_get_modelr°   b  s7   € ß0ˆØ$0×$6Ñ$6Ö$8Ñ ˆJØ× Ñ Ð$7Õ7Ø!Ô!ó %9ò 1r¨   r›   c                 ó~   • [        U5      nUb  U R                  US 5      nUb  U$ U(       a  [        SU SU 35      eg )Nz-AutoPipeline can't find a pipeline linked to z for )r°   ÚgetÚ
ValueError)Úmappingr¬   r›   r®   Ú
task_classs        r¦   rž   rž   i  sU   € ÜÐ/Ó0€JàÑØ—[‘[ ¨TÓ2ˆ
ØÑ!ØÐæÜÐHÐI\ÐH]Ð]bÐcmÐbnÐoÓpÐpð  r¨   c                   óL   • \ rS rSrSrSrS r\\S 5       5       r	\S 5       r
Srg)	ÚAutoPipelineForText2Imageiu  a  

[`AutoPipelineForText2Image`] is a generic pipeline class that instantiates a text-to-image pipeline class. The
specific underlying pipeline class is automatically selected from either the
[`~AutoPipelineForText2Image.from_pretrained`] or [`~AutoPipelineForText2Image.from_pipe`] methods.

This class cannot be instantiated using `__init__()` (throws an error).

Class attributes:

    - **config_name** (`str`) -- The configuration filename that stores the class and module names of all the
      diffusion pipeline's components.

úmodel_index.jsonc                 ó¢   • [        U R                  R                   SU R                  R                   SU R                  R                   S35      e©Nz+ is designed to be instantiated using the `z5.from_pretrained(pretrained_model_name_or_path)` or `z.from_pipe(pipeline)` methods.©ÚEnvironmentErrorÚ	__class__r    ©ÚselfÚargsÚkwargss      r¦   Ú__init__Ú"AutoPipelineForText2Image.__init__‡  óR   € ÜØ�~‰~×&Ñ&Ð'ð (ØŸ.™.×1Ñ1Ð2ð 3Ø—‘×'Ñ'Ð(Ð(FðHó
ð 	
r¨   c                 óv  • UR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUUUUUUS	.n	U R                  " U40 U	D6n
U
S
   nSU;   a  SnOSnSU;   aC  [        US   [        5      (       a  U
S
   R	                  US5      nOU
S
   R	                  US5      nSU;   a*  UR                  S5      nU(       a  UR	                  US5      n[        [        U5      n0 U	EUEnUR                  " U40 UD6$ )uë  
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:
    1. Detect the pipeline class of the pretrained_model_or_path based on the _class_name property of its
       config object
    2. Find the text-to-image pipeline linked to the pipeline class using pattern matching on pipeline class
       name.

If a `controlnet` argument is passed, it will instantiate a [`StableDiffusionControlNetPipeline`] object.

The pipeline is set in evaluation mode (`model.eval()`) by default.

If you get the error message below, you need to finetune the weights for your downstream task:

```
Some weights of UNet2DConditionModel were not initialized from the model checkpoint at stable-diffusion-v1-5/stable-diffusion-v1-5 and are newly initialized because the shapes did not match:
- conv_in.weight: found shape torch.Size([320, 4, 3, 3]) in the checkpoint and torch.Size([320, 9, 3, 3]) in the model instantiated
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
```

Parameters:
    pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
        Can be either:

            - A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
              hosted on the Hub.
            - A path to a *directory* (for example `./my_pipeline_directory/`) containing pipeline weights
              saved using
            [`~DiffusionPipeline.save_pretrained`].
    dtype (`torch.dtype`, *optional*):
        Override the default `torch.dtype` and load the model with another dtype.
    force_download (`bool`, *optional*, defaults to `False`):
        Whether or not to force the (re-)download of the model weights and configuration files, overriding the
        cached versions if they exist.
    cache_dir (`str | os.PathLike`, *optional*):
        Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
        is not used.

    proxies (`dict[str, str]`, *optional*):
        A dictionary of proxy servers to use by protocol or endpoint, for example, `{'http': 'foo.bar:3128',
        'http://hostname': 'foo.bar:4012'}`. The proxies are used on each request.
    output_loading_info(`bool`, *optional*, defaults to `False`):
        Whether or not to also return a dictionary containing missing keys, unexpected keys and error messages.
    local_files_only (`bool`, *optional*, defaults to `False`):
        Whether to only load local model weights and configuration files or not. If set to `True`, the model
        won't be downloaded from the Hub.
    token (`str` or *bool*, *optional*):
        The token to use as HTTP bearer authorization for remote files. If `True`, the token generated from
        `diffusers-cli login` (stored in `~/.huggingface`) is used.
    revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
        allowed by Git.
    custom_revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, or a commit id similar to
        `revision` when loading a custom pipeline from the Hub. It can be a ðŸ¤— Diffusers version when loading a
        custom pipeline from GitHub, otherwise it defaults to `"main"` when loading from the Hub.
    mirror (`str`, *optional*):
        Mirror source to resolve accessibility issues if youâ€™re downloading a model in China. We do not
        guarantee the timeliness or safety of the source, and you should refer to the mirror site for more
        information.
    device_map (`str` or `dict[str, int | str | torch.device]`, *optional*):
        A map that specifies where each submodule should go. It doesnâ€™t need to be defined for each
        parameter/buffer name; once a given module name is inside, every submodule of it will be sent to the
        same device.

        Set `device_map="auto"` to have ðŸ¤— Accelerate automatically compute the most optimized `device_map`. For
        more information about each option see [designing a device
        map](https://hf.co/docs/accelerate/main/en/usage_guides/big_modeling#designing-a-device-map).
    max_memory (`Dict`, *optional*):
        A dictionary device identifier for the maximum memory. Will default to the maximum memory available for
        each GPU and the available CPU RAM if unset.
    offload_folder (`str` or `os.PathLike`, *optional*):
        The path to offload weights if device_map contains the value `"disk"`.
    offload_state_dict (`bool`, *optional*):
        If `True`, temporarily offloads the CPU state dict to the hard drive to avoid running out of CPU RAM if
        the weight of the CPU state dict + the biggest shard of the checkpoint does not fit. Defaults to `True`
        when there is some disk offload.
    low_cpu_mem_usage (`bool`, *optional*, defaults to `True` if torch version >= 1.9.0 else `False`):
        Speed up model loading only loading the pretrained weights and not initializing the weights. This also
        tries to not use more than 1x model size in CPU memory (including peak memory) while loading the model.
        Only supported for PyTorch >= 1.9.0. If you are using an older version of PyTorch, setting this
        argument to `True` will raise an error.
    use_safetensors (`bool`, *optional*, defaults to `None`):
        If set to `None`, the safetensors weights are downloaded if they're available **and** if the
        safetensors library is installed. If set to `True`, the model is forcibly loaded from safetensors
        weights. If set to `False`, safetensors weights are not loaded.
    kwargs (remaining dictionary of keyword arguments, *optional*):
        Can be used to overwrite load and saveable variables (the pipeline components of the specific pipeline
        class). The overwritten components are passed directly to the pipelines `__init__` method. See example
        below for more information.
    variant (`str`, *optional*):
        Load weights from a specified variant filename such as `"fp16"` or `"ema"`.

> [!TIP] > To use private or [gated](https://huggingface.co/docs/hub/models-gated#gated-models) models, log-in
with `hf > auth login`.

Examples:

```py
>>> from diffusers import AutoPipelineForText2Image

>>> pipeline = AutoPipelineForText2Image.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5")
>>> image = pipeline(prompt).images[0]
```
Ú	cache_dirNÚforce_downloadFÚproxiesÚtokenÚlocal_files_onlyÚrevision©rÆ   rÇ   rÈ   rÉ   rÊ   rË   Ú_class_nameÚControlPipelineÚPipelineÚ
controlnetÚControlNetUnionPipelineÚControlNetPipelineÚ
enable_pagÚPAGPipeline)ÚpopÚload_configÚ
isinstancer   Úreplacerž   rŸ   Úfrom_pretrained)ÚclsÚpretrained_model_or_pathrÁ   rÆ   rÇ   rÈ   rÉ   rÊ   rË   Úload_config_kwargsÚconfigÚorig_class_nameÚ
to_replacerÓ   Útext_2_image_clss                  r¦   rÙ   Ú)AutoPipelineForText2Image.from_pretrainedŽ  sb  € ðZ —J‘J˜{¨DÓ1ˆ	ØŸ™Ð$4°eÓ<ˆØ—*‘*˜Y¨Ó-ˆØ—
‘
˜7 DÓ)ˆØ!Ÿ:™:Ð&8¸%Ó@ÐØ—:‘:˜j¨$Ó/ˆð #Ø,ØØØ 0Ø ñ
Ðð —’Ð!9ÑPÐ=OÑPˆØ  Ñ/ˆØ Ó/Ø*‰Jà#ˆJà˜6Ó!Ü˜& Ñ.Ô0D×EÑEØ"(¨Ñ"7×"?Ñ"?À
ÐLeÓ"f‘à"(¨Ñ"7×"?Ñ"?À
ÐL`Ó"a�Ø˜6Ó!ØŸ™ LÓ1ˆJÞØ"1×"9Ñ"9¸*ÀmÓ"T�ä*Ô+LÈoÓ^Ðà1Ð&Ð1¨&Ð1ˆØ×/Ò/Ð0HÑSÈFÑSÐSr¨   c                 óÊ  • [        UR                  5      nUR                  R                  n[	        [
        U5      nSU;   a‚  US   bR  SUR                  ;   a  SOSn[	        [
        UR                  R                  SS5      R                  USU-   5      5      nO*[	        [
        UR                  R                  SS5      5      nSU;   a}  UR                  S5      nU(       a;  [	        [
        UR                  R                  SS5      R                  SS5      5      nO*[	        [
        UR                  R                  SS5      5      nUR                  U5      u  p‰UR                  S	S5      n
U Vs0 s H  o»U;   d  M
  X²R                  U5      _M     nnUR                  R                  5        VVs0 s H"  u  p½X¸;   d  M  X¼;  d  M  X±R                  U   _M$     nnnU	 Vs0 s H  o»U;   d  M
  X²R                  U5      _M     nnUR                  5        VVs0 s H  u  p½X¹;   d  M  X¿;  d  M  X³U   _M     nnnUR                  5        Vs/ s H6  nUR                  S
5      (       d  M  USS U	;   d  M&  USS U;  d  M1  USS PM8     nnU H  nUR                  S
U 35      UU'   M     0 UEUEUEUEnUR                  5        VVs0 s H.  u  p½UU;  d  M  UR                  S
5      (       a  SOS
 U 3X;   _M0     nnn[        U5      [        UR                  5      -
  [        UR                  5       5      -
  n[        U5      S:”  aO  [!        SU SU S[        [#        UR                  5       5      [#        UR                  5       5      -   5       S35      eU" S0 UD6nUR%                  U
S9  UR$                  " S0 UD6  U$ s  snf s  snnf s  snf s  snnf s  snf s  snnf )a®  
Instantiates a text-to-image Pytorch diffusion pipeline from another instantiated diffusion pipeline class.

The from_pipe() method takes care of returning the correct pipeline class instance by finding the text-to-image
pipeline linked to the pipeline class using pattern matching on pipeline class name.

All the modules the pipeline contains will be used to initialize the new pipeline without reallocating
additional memory.

The pipeline is set in evaluation mode (`model.eval()`) by default.

Parameters:
    pipeline (`DiffusionPipeline`):
        an instantiated `DiffusionPipeline` object

```py
>>> from diffusers import AutoPipelineForText2Image, AutoPipelineForImage2Image

>>> pipe_i2i = AutoPipelineForImage2Image.from_pretrained(
...     "stable-diffusion-v1-5/stable-diffusion-v1-5", requires_safety_checker=False
... )

>>> pipe_t2i = AutoPipelineForText2Image.from_pipe(pipe_i2i)
>>> image = pipe_t2i(prompt).images[0]
```
rÐ   NÚPAGrÔ   rÏ   Ú
ControlNetÚ rÓ   Ú_name_or_pathÚ_r	   r   ú	Pipeline ú
 expected ú, but only ú were passed©ræ   © )ÚdictrÝ   r½   r    rž   rŸ   rØ   rÕ   Ú_get_signature_keysÚ
componentsr«   ÚkeysÚ
startswithÚsetÚ_optional_componentsÚlenr³   ÚlistÚregister_to_config)rÚ   r¯   rÁ   Úoriginal_configÚoriginal_cls_namerà   rß   rÓ   Úexpected_modulesÚoptional_kwargsÚpretrained_model_name_or_pathÚkÚpassed_class_objÚvÚoriginal_class_objÚpassed_pipe_kwargsÚoriginal_pipe_kwargsÚadditional_pipe_kwargsÚtext_2_image_kwargsÚunused_original_configÚmissing_modulesÚmodels                         r¦   Ú	from_pipeÚ#AutoPipelineForText2Image.from_pipe!  ss  € ô: ˜xŸ™Ó/ˆØ$×.Ñ.×7Ñ7Ðô +Ô+LÐN_Ó`Ðà˜6Ó!Ø�lÑ#Ñ/Ø.3Ð7G×7PÑ7PÓ.P™]ÐV`�
Ü#2Ü5Ø$×-Ñ-×5Ñ5°lÀBÓG×OÑOÐPZÐ\hÐkuÑ\uÓvó$Ñ ô
 $3Ü5Ø$×-Ñ-×5Ñ5°lÀBÓGó$Ð ð
 ˜6Ó!ØŸ™ LÓ1ˆJÞÜ#2Ü5Ø$×-Ñ-×5Ñ5°e¸RÓ@×HÑHÈÐUbÓcó$Ñ ô
 $3Ü5Ø$×-Ñ-×5Ñ5°e¸RÓ@ó$Ð ð -=×,PÑ,PÐQaÓ,bÑ)Ðà(7×(;Ñ(;¸OÈTÓ(RÐ%ñ 7GÓVÒ6F°ÈvÉ+Ó,˜AŸz™z¨!›}Ò,Ñ6FÐÐVð !×+Ñ+×1Ñ1Ô3ô
â3‘�ØÑ$ó &à)*Ñ)Bó &ˆA×"Ñ" 1Ñ%Ò%Ù3ð 	ñ 
ñ 9HÓWº°1ÐPVÉ;Ó.˜a§¡¨A£Ò.¹ÐÐWð (×-Ñ-Ô/ô 
â/‘�ØÑ#ó "à()Ñ(Có "ˆA˜qÑ!Ò!Ù/ð 	ñ  
ð %×)Ñ)Ô+ó"
â+�Ø�|‰|˜C× ó à%& q r U¨oÑ%=ó àBCÀAÀBÀ%ÐOaÑBaó ˆAˆaˆb‹EÙ+ð 	ð "
ó
 (ˆAØ&5×&9Ñ&9¸A¸a¸S¸'Ó&BÐ  Ó#ñ (ð wÐ!1ÐvÐ5GÐvÐK]ÐvÐauÐvÐð
 (×-Ñ-Ô/ô"
â/‘�ØÐ+Ñ+ó I�Q—\‘\ #×&Ñ&‰r¨CÐ0°°Ð4°oÑ6HÒHÙ/ð 	ñ "
ô Ð Ó!¤CÐ(8×(MÑ(MÓ$NÑNÔQTÐUh×UmÑUmÓUoÓQpÑpð 	ô ˆÓ !Ó#ÜØÐ,Ð-¨ZÐ8HÐ7IÈÔUXÔY]Ð^n×^sÑ^sÓ^uÓYvÔy}ð  Q÷  Vñ  Vó  Xó  zYñ  ZYó  VZð  U[ð  [gð  hóð ñ !Ñ7Ð#6Ñ7ˆØ× Ñ Ð/LÐ ÑMØ× Ò Ñ:Ð#9Ò:àˆùò_ Wùó
ùò Xùó 
ùò"
ùó"
s`   Å0	OÅ=OÆ1O	Ç O	ÇO	Ç!	OÇ.OÈOÈ'OÈ.	OÉOÉ*OÉ5OÊ 	OËOË%Orí   N©r    Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úconfig_namerÂ   Úclassmethodr   rÙ   r  Ú__static_attributes__rí   r¨   r¦   r·   r·   u  sJ   † ñð %€Kò
ð ØñOTó ó ðOTðb ñqó óqr¨   r·   c                   óL   • \ rS rSrSrSrS r\\S 5       5       r	\S 5       r
Srg)	ÚAutoPipelineForImage2Imagei–  a  

[`AutoPipelineForImage2Image`] is a generic pipeline class that instantiates an image-to-image pipeline class. The
specific underlying pipeline class is automatically selected from either the
[`~AutoPipelineForImage2Image.from_pretrained`] or [`~AutoPipelineForImage2Image.from_pipe`] methods.

This class cannot be instantiated using `__init__()` (throws an error).

Class attributes:

    - **config_name** (`str`) -- The configuration filename that stores the class and module names of all the
      diffusion pipeline's components.

r¸   c                 ó¢   • [        U R                  R                   SU R                  R                   SU R                  R                   S35      erº   r»   r¾   s      r¦   rÂ   Ú#AutoPipelineForImage2Image.__init__¨  rÄ   r¨   c                 ó¾  • UR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUUUUUUS	.n	U R                  " U40 U	D6n
U
S
   nSU;   a  SnOSU;   a  SnOSnSU;   aC  [        US   [        5      (       a  UR	                  USU-   5      nOUR	                  USU-   5      nSU;   a-  UR                  S5      nU(       a  UR	                  USU-   5      nUS:X  a  UR	                  US5      n[        [        U5      n0 U	EUEnUR                  " U40 UD6$ )u  
Instantiates a image-to-image Pytorch diffusion pipeline from pretrained pipeline weight.

The from_pretrained() method takes care of returning the correct pipeline class instance by:
    1. Detect the pipeline class of the pretrained_model_or_path based on the _class_name property of its
       config object
    2. Find the image-to-image pipeline linked to the pipeline class using pattern matching on pipeline class
       name.

If a `controlnet` argument is passed, it will instantiate a [`StableDiffusionControlNetImg2ImgPipeline`]
object.

The pipeline is set in evaluation mode (`model.eval()`) by default.

If you get the error message below, you need to finetune the weights for your downstream task:

```
Some weights of UNet2DConditionModel were not initialized from the model checkpoint at stable-diffusion-v1-5/stable-diffusion-v1-5 and are newly initialized because the shapes did not match:
- conv_in.weight: found shape torch.Size([320, 4, 3, 3]) in the checkpoint and torch.Size([320, 9, 3, 3]) in the model instantiated
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
```

Parameters:
    pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
        Can be either:

            - A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
              hosted on the Hub.
            - A path to a *directory* (for example `./my_pipeline_directory/`) containing pipeline weights
              saved using
            [`~DiffusionPipeline.save_pretrained`].
    dtype (`str` or `torch.dtype`, *optional*):
        Override the default `torch.dtype` and load the model with another dtype.
    force_download (`bool`, *optional*, defaults to `False`):
        Whether or not to force the (re-)download of the model weights and configuration files, overriding the
        cached versions if they exist.
    cache_dir (`str | os.PathLike`, *optional*):
        Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
        is not used.

    proxies (`dict[str, str]`, *optional*):
        A dictionary of proxy servers to use by protocol or endpoint, for example, `{'http': 'foo.bar:3128',
        'http://hostname': 'foo.bar:4012'}`. The proxies are used on each request.
    output_loading_info(`bool`, *optional*, defaults to `False`):
        Whether or not to also return a dictionary containing missing keys, unexpected keys and error messages.
    local_files_only (`bool`, *optional*, defaults to `False`):
        Whether to only load local model weights and configuration files or not. If set to `True`, the model
        won't be downloaded from the Hub.
    token (`str` or *bool*, *optional*):
        The token to use as HTTP bearer authorization for remote files. If `True`, the token generated from
        `diffusers-cli login` (stored in `~/.huggingface`) is used.
    revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
        allowed by Git.
    custom_revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, or a commit id similar to
        `revision` when loading a custom pipeline from the Hub. It can be a ðŸ¤— Diffusers version when loading a
        custom pipeline from GitHub, otherwise it defaults to `"main"` when loading from the Hub.
    mirror (`str`, *optional*):
        Mirror source to resolve accessibility issues if youâ€™re downloading a model in China. We do not
        guarantee the timeliness or safety of the source, and you should refer to the mirror site for more
        information.
    device_map (`str` or `dict[str, int | str | torch.device]`, *optional*):
        A map that specifies where each submodule should go. It doesnâ€™t need to be defined for each
        parameter/buffer name; once a given module name is inside, every submodule of it will be sent to the
        same device.

        Set `device_map="auto"` to have ðŸ¤— Accelerate automatically compute the most optimized `device_map`. For
        more information about each option see [designing a device
        map](https://hf.co/docs/accelerate/main/en/usage_guides/big_modeling#designing-a-device-map).
    max_memory (`Dict`, *optional*):
        A dictionary device identifier for the maximum memory. Will default to the maximum memory available for
        each GPU and the available CPU RAM if unset.
    offload_folder (`str` or `os.PathLike`, *optional*):
        The path to offload weights if device_map contains the value `"disk"`.
    offload_state_dict (`bool`, *optional*):
        If `True`, temporarily offloads the CPU state dict to the hard drive to avoid running out of CPU RAM if
        the weight of the CPU state dict + the biggest shard of the checkpoint does not fit. Defaults to `True`
        when there is some disk offload.
    low_cpu_mem_usage (`bool`, *optional*, defaults to `True` if torch version >= 1.9.0 else `False`):
        Speed up model loading only loading the pretrained weights and not initializing the weights. This also
        tries to not use more than 1x model size in CPU memory (including peak memory) while loading the model.
        Only supported for PyTorch >= 1.9.0. If you are using an older version of PyTorch, setting this
        argument to `True` will raise an error.
    use_safetensors (`bool`, *optional*, defaults to `None`):
        If set to `None`, the safetensors weights are downloaded if they're available **and** if the
        safetensors library is installed. If set to `True`, the model is forcibly loaded from safetensors
        weights. If set to `False`, safetensors weights are not loaded.
    kwargs (remaining dictionary of keyword arguments, *optional*):
        Can be used to overwrite load and saveable variables (the pipeline components of the specific pipeline
        class). The overwritten components are passed directly to the pipelines `__init__` method. See example
        below for more information.
    variant (`str`, *optional*):
        Load weights from a specified variant filename such as `"fp16"` or `"ema"`.

> [!TIP] > To use private or [gated](https://huggingface.co/docs/hub/models-gated#gated-models) models, log-in
with `hf > auth login`.

Examples:

```py
>>> from diffusers import AutoPipelineForImage2Image

>>> pipeline = AutoPipelineForImage2Image.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5")
>>> image = pipeline(prompt, image).images[0]
```
rÆ   NrÇ   FrÈ   rÉ   rÊ   rË   rÌ   rÍ   ÚImg2ImgÚImg2ImgPipelinerÎ   rÏ   rÐ   ÚControlNetUnionrä   rÓ   rã   ÚControlImg2ImgPipeline)rÕ   rÖ   r×   r   rØ   rž   r¢   rÙ   )rÚ   rÛ   rÁ   rÆ   rÇ   rÈ   rÉ   rÊ   rË   rÜ   rÝ   rÞ   rß   rÓ   Úimage_2_image_clss                  r¦   rÙ   Ú*AutoPipelineForImage2Image.from_pretrained¯  s”  € ð\ —J‘J˜{¨DÓ1ˆ	ØŸ™Ð$4°eÓ<ˆØ—*‘*˜Y¨Ó-ˆØ—
‘
˜7 DÓ)ˆØ!Ÿ:™:Ð&8¸%Ó@ÐØ—:‘:˜j¨$Ó/ˆð #Ø,ØØØ 0Ø ñ
Ðð —’Ð!9ÑPÐ=OÑPˆØ  Ñ/ˆð ˜Ó'Ø*‰JØ /Ó1Ø*‰Jà#ˆJà˜6Ó!Ü˜& Ñ.Ô0D×EÑEØ"1×"9Ñ"9¸*ÐFWÐZdÑFdÓ"e‘à"1×"9Ñ"9¸*ÀlÐU_ÑF_Ó"`�Ø˜6Ó!ØŸ™ LÓ1ˆJÞØ"1×"9Ñ"9¸*ÀeÈjÑFXÓ"Y�àÐ*Ó*Ø-×5Ñ5°jÐBZÓ[ˆOä+Ô,NÐP_Ó`Ðà1Ð&Ð1¨&Ð1ˆØ ×0Ò0Ð1IÑTÈVÑTÐTr¨   c                 óÐ  • [        UR                  5      nUR                  R                  n[	        [
        U5      nSU;   a…  US   bU  SnSUR                  ;   a  SU-   n[	        [
        UR                  R                  SS5      R                  USU-   5      5      nO*[	        [
        UR                  R                  SS5      5      nSU;   a}  UR                  S5      nU(       a;  [	        [
        UR                  R                  SS5      R                  SS5      5      nO*[	        [
        UR                  R                  SS5      5      nUR                  U5      u  p‰UR                  S	S5      n
U Vs0 s H  o»U;   d  M
  X²R                  U5      _M     nnUR                  R                  5        VVs0 s H"  u  p½X¸;   d  M  X¼;  d  M  X±R                  U   _M$     nnnU	 Vs0 s H  o»U;   d  M
  X²R                  U5      _M     nnUR                  5        VVs0 s H  u  p½X¹;   d  M  X¿;  d  M  X³U   _M     nnnUR                  5        Vs/ s H6  nUR                  S
5      (       d  M  USS U	;   d  M&  USS U;  d  M1  USS PM8     nnU H  nUR                  S
U 35      UU'   M     0 UEUEUEUEnUR                  5        VVs0 s H.  u  p½UU;  d  M  UR                  S
5      (       a  SOS
 U 3X;   _M0     nnn[        U5      [        UR                  5      -
  [        UR                  5       5      -
  n[        U5      S:”  aO  [!        SU SU S[        [#        UR                  5       5      [#        UR                  5       5      -   5       S35      eU" S0 UD6nUR%                  U
S9  UR$                  " S0 UD6  U$ s  snf s  snnf s  snf s  snnf s  snf s  snnf )aÂ  
Instantiates a image-to-image Pytorch diffusion pipeline from another instantiated diffusion pipeline class.

The from_pipe() method takes care of returning the correct pipeline class instance by finding the
image-to-image pipeline linked to the pipeline class using pattern matching on pipeline class name.

All the modules the pipeline contains will be used to initialize the new pipeline without reallocating
additional memory.

The pipeline is set in evaluation mode (`model.eval()`) by default.

Parameters:
    pipeline (`DiffusionPipeline`):
        an instantiated `DiffusionPipeline` object

Examples:

```py
>>> from diffusers import AutoPipelineForText2Image, AutoPipelineForImage2Image

>>> pipe_t2i = AutoPipelineForText2Image.from_pretrained(
...     "stable-diffusion-v1-5/stable-diffusion-v1-5", requires_safety_checker=False
... )

>>> pipe_i2i = AutoPipelineForImage2Image.from_pipe(pipe_t2i)
>>> image = pipe_i2i(prompt, image).images[0]
```
rÐ   Nr  rã   rä   rå   rÓ   ÚPAGImg2ImgPipelineræ   rç   r	   r   rè   ré   rê   rë   rì   rí   )rî   rÝ   r½   r    rž   r¢   rØ   rÕ   rï   rð   r«   rñ   rò   ró   rô   rõ   r³   rö   r÷   )rÚ   r¯   rÁ   rø   rù   r  rß   rÓ   rú   rû   rü   rý   rþ   rÿ   r   r  r  r  Úimage_2_image_kwargsr  r  r  s                         r¦   r  Ú$AutoPipelineForImage2Image.from_pipeM  sz  € ô> ˜xŸ™Ó/ˆØ$×.Ñ.×7Ñ7Ðä+Ô,NÐPaÓbÐà˜6Ó!Ø�lÑ#Ñ/Ø.�
ØÐ-×6Ñ6Ó6Ø!&¨Ñ!3�JÜ$3Ü6Ø%×.Ñ.×6Ñ6°|ÀRÓH×PÑPØ" L°:Ñ$=óó%Ñ!ô %4Ü6Ø%×.Ñ.×6Ñ6°|ÀRÓHó%Ð!ð
 ˜6Ó!ØŸ™ LÓ1ˆJÞÜ$3Ü6Ø%×.Ñ.×6Ñ6°u¸bÓA×IÑIÐJ[Ð]qÓró%Ñ!ô
 %4Ü6Ø%×.Ñ.×6Ñ6°u¸bÓAó%Ð!ð ->×,QÑ,QÐRcÓ,dÑ)Ðà(7×(;Ñ(;¸OÈTÓ(RÐ%ñ 7GÓVÒ6F°ÈvÉ+Ó,˜AŸz™z¨!›}Ò,Ñ6FÐÐVð !×+Ñ+×1Ñ1Ô3ô
â3‘�ØÑ$ó &à)*Ñ)Bó &ˆA×"Ñ" 1Ñ%Ò%Ù3ð 	ñ 
ñ 9HÓWº°1ÐPVÉ;Ó.˜a§¡¨A£Ò.¹ÐÐWð (×-Ñ-Ô/ô 
â/‘�ØÑ#ó "à()Ñ(Có "ˆA˜qÑ!Ò!Ù/ð 	ñ  
ð %×)Ñ)Ô+ó"
â+�Ø�|‰|˜C× ó à%& q r U¨oÑ%=ó àBCÀAÀBÀ%ÐOaÑBaó ˆAˆaˆb‹EÙ+ð 	ð "
ó
 (ˆAØ&5×&9Ñ&9¸A¸a¸S¸'Ó&BÐ  Ó#ñ (ð  xÐ"2ÐwÐ6HÐwÐL^ÐwÐbvÐwÐð
 (×-Ñ-Ô/ô"
â/‘�ØÐ,Ñ,ó I�Q—\‘\ #×&Ñ&‰r¨CÐ0°°Ð4°oÑ6HÒHÙ/ð 	ñ "
ô Ð Ó!¤CÐ(9×(NÑ(NÓ$OÑOÔRUÐVj×VoÑVoÓVqÓRrÑrð 	ô ˆÓ !Ó#ÜØÐ-Ð.¨jÐ9IÐ8JÈ+ÔVYÔZ^Ð_o×_tÑ_tÓ_vÓZwÔz~ð  @R÷  @Wñ  @Wó  @Yó  {Zñ  [Zó  W[ð  V\ð  \hð  ióð ñ "Ñ9Ð$8Ñ9ˆØ× Ñ Ð/LÐ ÑMØ× Ò Ñ:Ð#9Ò:àˆùò_ Wùó
ùò Xùó 
ùò"
ùó"
s`   Å3	OÆ OÆ4OÇOÇ
OÇ$	OÇ1OÈOÈ*OÈ1	OÉOÉ-OÉ8OÊ	OËO"Ë%O"rí   Nr
  rí   r¨   r¦   r  r  –  sJ   † ñð %€Kò
ð ØñZUó ó ðZUðx ñvó óvr¨   r  c                   óL   • \ rS rSrSrSrS r\\S 5       5       r	\S 5       r
Srg)	ÚAutoPipelineForInpaintingiÇ  a  

[`AutoPipelineForInpainting`] is a generic pipeline class that instantiates an inpainting pipeline class. The
specific underlying pipeline class is automatically selected from either the
[`~AutoPipelineForInpainting.from_pretrained`] or [`~AutoPipelineForInpainting.from_pipe`] methods.

This class cannot be instantiated using `__init__()` (throws an error).

Class attributes:

    - **config_name** (`str`) -- The configuration filename that stores the class and module names of all the
      diffusion pipeline's components.

r¸   c                 ó¢   • [        U R                  R                   SU R                  R                   SU R                  R                   S35      erº   r»   r¾   s      r¦   rÂ   Ú"AutoPipelineForInpainting.__init__Ù  rÄ   r¨   c                 ó¾  • UR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUUUUUUS	.n	U R                  " U40 U	D6n
U
S
   nSU;   a  SnOSU;   a  SnOSnSU;   aC  [        US   [        5      (       a  UR	                  USU-   5      nOUR	                  USU-   5      nSU;   a-  UR                  S5      nU(       a  UR	                  USU-   5      nUS:X  a  UR	                  US5      n[        [        U5      n0 U	EUEnUR                  " U40 UD6$ )u  
Instantiates a inpainting Pytorch diffusion pipeline from pretrained pipeline weight.

The from_pretrained() method takes care of returning the correct pipeline class instance by:
    1. Detect the pipeline class of the pretrained_model_or_path based on the _class_name property of its
       config object
    2. Find the inpainting pipeline linked to the pipeline class using pattern matching on pipeline class name.

If a `controlnet` argument is passed, it will instantiate a [`StableDiffusionControlNetInpaintPipeline`]
object.

The pipeline is set in evaluation mode (`model.eval()`) by default.

If you get the error message below, you need to finetune the weights for your downstream task:

```
Some weights of UNet2DConditionModel were not initialized from the model checkpoint at stable-diffusion-v1-5/stable-diffusion-v1-5 and are newly initialized because the shapes did not match:
- conv_in.weight: found shape torch.Size([320, 4, 3, 3]) in the checkpoint and torch.Size([320, 9, 3, 3]) in the model instantiated
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
```

Parameters:
    pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
        Can be either:

            - A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
              hosted on the Hub.
            - A path to a *directory* (for example `./my_pipeline_directory/`) containing pipeline weights
              saved using
            [`~DiffusionPipeline.save_pretrained`].
    dtype (`str` or `torch.dtype`, *optional*):
        Override the default `torch.dtype` and load the model with another dtype.
    force_download (`bool`, *optional*, defaults to `False`):
        Whether or not to force the (re-)download of the model weights and configuration files, overriding the
        cached versions if they exist.
    cache_dir (`str | os.PathLike`, *optional*):
        Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
        is not used.

    proxies (`dict[str, str]`, *optional*):
        A dictionary of proxy servers to use by protocol or endpoint, for example, `{'http': 'foo.bar:3128',
        'http://hostname': 'foo.bar:4012'}`. The proxies are used on each request.
    output_loading_info(`bool`, *optional*, defaults to `False`):
        Whether or not to also return a dictionary containing missing keys, unexpected keys and error messages.
    local_files_only (`bool`, *optional*, defaults to `False`):
        Whether to only load local model weights and configuration files or not. If set to `True`, the model
        won't be downloaded from the Hub.
    token (`str` or *bool*, *optional*):
        The token to use as HTTP bearer authorization for remote files. If `True`, the token generated from
        `diffusers-cli login` (stored in `~/.huggingface`) is used.
    revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
        allowed by Git.
    custom_revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, or a commit id similar to
        `revision` when loading a custom pipeline from the Hub. It can be a ðŸ¤— Diffusers version when loading a
        custom pipeline from GitHub, otherwise it defaults to `"main"` when loading from the Hub.
    mirror (`str`, *optional*):
        Mirror source to resolve accessibility issues if youâ€™re downloading a model in China. We do not
        guarantee the timeliness or safety of the source, and you should refer to the mirror site for more
        information.
    device_map (`str` or `dict[str, int | str | torch.device]`, *optional*):
        A map that specifies where each submodule should go. It doesnâ€™t need to be defined for each
        parameter/buffer name; once a given module name is inside, every submodule of it will be sent to the
        same device.

        Set `device_map="auto"` to have ðŸ¤— Accelerate automatically compute the most optimized `device_map`. For
        more information about each option see [designing a device
        map](https://hf.co/docs/accelerate/main/en/usage_guides/big_modeling#designing-a-device-map).
    max_memory (`Dict`, *optional*):
        A dictionary device identifier for the maximum memory. Will default to the maximum memory available for
        each GPU and the available CPU RAM if unset.
    offload_folder (`str` or `os.PathLike`, *optional*):
        The path to offload weights if device_map contains the value `"disk"`.
    offload_state_dict (`bool`, *optional*):
        If `True`, temporarily offloads the CPU state dict to the hard drive to avoid running out of CPU RAM if
        the weight of the CPU state dict + the biggest shard of the checkpoint does not fit. Defaults to `True`
        when there is some disk offload.
    low_cpu_mem_usage (`bool`, *optional*, defaults to `True` if torch version >= 1.9.0 else `False`):
        Speed up model loading only loading the pretrained weights and not initializing the weights. This also
        tries to not use more than 1x model size in CPU memory (including peak memory) while loading the model.
        Only supported for PyTorch >= 1.9.0. If you are using an older version of PyTorch, setting this
        argument to `True` will raise an error.
    use_safetensors (`bool`, *optional*, defaults to `None`):
        If set to `None`, the safetensors weights are downloaded if they're available **and** if the
        safetensors library is installed. If set to `True`, the model is forcibly loaded from safetensors
        weights. If set to `False`, safetensors weights are not loaded.
    kwargs (remaining dictionary of keyword arguments, *optional*):
        Can be used to overwrite load and saveable variables (the pipeline components of the specific pipeline
        class). The overwritten components are passed directly to the pipelines `__init__` method. See example
        below for more information.
    variant (`str`, *optional*):
        Load weights from a specified variant filename such as `"fp16"` or `"ema"`.

> [!TIP] > To use private or [gated](https://huggingface.co/docs/hub/models-gated#gated-models) models, log-in
with `hf > auth login`.

Examples:

```py
>>> from diffusers import AutoPipelineForInpainting

>>> pipeline = AutoPipelineForInpainting.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5")
>>> image = pipeline(prompt, image=init_image, mask_image=mask_image).images[0]
```
rÆ   NrÇ   FrÈ   rÉ   rÊ   rË   rÌ   rÍ   ÚInpaintÚInpaintPipelinerÎ   rÏ   rÐ   r  rä   rÓ   rã   ÚControlInpaintPipeline)rÕ   rÖ   r×   r   rØ   rž   r¤   rÙ   )rÚ   rÛ   rÁ   rÆ   rÇ   rÈ   rÉ   rÊ   rË   rÜ   rÝ   rÞ   rß   rÓ   Úinpainting_clss                  r¦   rÙ   Ú)AutoPipelineForInpainting.from_pretrainedà  s’  € ðZ —J‘J˜{¨DÓ1ˆ	ØŸ™Ð$4°eÓ<ˆØ—*‘*˜Y¨Ó-ˆØ—
‘
˜7 DÓ)ˆØ!Ÿ:™:Ð&8¸%Ó@ÐØ—:‘:˜j¨$Ó/ˆð #Ø,ØØØ 0Ø ñ
Ðð —’Ð!9ÑPÐ=OÑPˆØ  Ñ/ˆð ˜Ó'Ø*‰JØ /Ó1Ø*‰Jà#ˆJà˜6Ó!Ü˜& Ñ.Ô0D×EÑEØ"1×"9Ñ"9¸*ÐFWÐZdÑFdÓ"e‘à"1×"9Ñ"9¸*ÀlÐU_ÑF_Ó"`�Ø˜6Ó!ØŸ™ LÓ1ˆJÞØ"1×"9Ñ"9¸*ÀeÈjÑFXÓ"Y�ØÐ*Ó*Ø-×5Ñ5°jÐBZÓ[ˆOÜ(Ô)GÈÓYˆà1Ð&Ð1¨&Ð1ˆØ×-Ò-Ð.FÑQÈ&ÑQÐQr¨   c                 óš  • [        UR                  5      nUR                  R                  n[	        [
        U5      nSU;   ak  US   b;  [	        [
        UR                  R                  SS5      R                  SS5      5      nO*[	        [
        UR                  R                  SS5      5      nSU;   a}  UR                  S5      nU(       a;  [	        [
        UR                  R                  SS5      R                  SS	5      5      nO*[	        [
        UR                  R                  S	S5      5      nUR                  U5      u  pxUR                  S
S5      n	U V
s0 s H  oªU;   d  M
  X¢R                  U
5      _M     nn
UR                  R                  5        V
Vs0 s H"  u  p¬X§;   d  M  X«;  d  M  X¡R                  U
   _M$     nn
nU V
s0 s H  oªU;   d  M
  X¢R                  U
5      _M     nn
UR                  5        V
Vs0 s H  u  p¬X¨;   d  M  X®;  d  M  X£U
   _M     nn
nUR                  5        V
s/ s H6  n
U
R                  S5      (       d  M  U
SS U;   d  M&  U
SS U;  d  M1  U
SS PM8     nn
U H  n
UR                  SU
 35      Xú'   M     0 UEUEUEUEnUR                  5        V
Vs0 s H.  u  p¬U
U;  d  M  U
R                  S5      (       a  SOS U
 3X:   _M0     nn
n[        U5      [        UR                  5      -
  [        UR                  5       5      -
  n[        U5      S:”  aO  [!        SU SU S[        [#        UR                  5       5      [#        UR                  5       5      -   5       S35      eU" S0 UD6nUR%                  U	S9  UR$                  " S0 UD6  U$ s  sn
f s  snn
f s  sn
f s  snn
f s  sn
f s  snn
f )aÒ  
Instantiates a inpainting Pytorch diffusion pipeline from another instantiated diffusion pipeline class.

The from_pipe() method takes care of returning the correct pipeline class instance by finding the inpainting
pipeline linked to the pipeline class using pattern matching on pipeline class name.

All the modules the pipeline class contain will be used to initialize the new pipeline without reallocating
additional memory.

The pipeline is set in evaluation mode (`model.eval()`) by default.

Parameters:
    pipeline (`DiffusionPipeline`):
        an instantiated `DiffusionPipeline` object

Examples:

```py
>>> from diffusers import AutoPipelineForText2Image, AutoPipelineForInpainting

>>> pipe_t2i = AutoPipelineForText2Image.from_pretrained(
...     "DeepFloyd/IF-I-XL-v1.0", requires_safety_checker=False
... )

>>> pipe_inpaint = AutoPipelineForInpainting.from_pipe(pipe_t2i)
>>> image = pipe_inpaint(prompt, image=init_image, mask_image=mask_image).images[0]
```
rÐ   Nrä   rå   r'  ÚControlNetInpaintPipelinerÓ   rã   ÚPAGInpaintPipelineræ   rç   r	   r   rè   ré   rê   rë   rì   rí   )rî   rÝ   r½   r    rž   r¤   rØ   rÕ   rï   rð   r«   rñ   rò   ró   rô   rõ   r³   rö   r÷   )rÚ   r¯   rÁ   rø   rù   r)  rÓ   rú   rû   rü   rý   rþ   rÿ   r   r  r  r  Úinpainting_kwargsr  r  r  s                        r¦   r  Ú#AutoPipelineForInpainting.from_pipe{  sS  € ô< ˜xŸ™Ó/ˆØ$×.Ñ.×7Ñ7Ðô )Ô)GÐIZÓ[ˆà˜6Ó!Ø�lÑ#Ñ/Ü!0Ü2Ø"×+Ñ+×3Ñ3°LÀ"ÓE×MÑMØ)Ð+Fóó"‘ô "1Ü2Ø"×+Ñ+×3Ñ3Ð4OÐQbÓcó"�ð
 ˜6Ó!ØŸ™ LÓ1ˆJÞÜ!0Ü2Ø"×+Ñ+×3Ñ3°E¸2Ó>×FÑFÐGXÐZnÓoó"‘ô
 "1Ü2Ø"×+Ñ+×3Ñ3Ð4HÐJ[Ó\ó"�ð -;×,NÑ,NÈ~Ó,^Ñ)Ðà(7×(;Ñ(;¸OÈTÓ(RÐ%ñ 7GÓVÒ6F°ÈvÉ+Ó,˜AŸz™z¨!›}Ò,Ñ6FÐÐVð !×+Ñ+×1Ñ1Ô3ô
â3‘�ØÑ$ó &à)*Ñ)Bó &ˆA×"Ñ" 1Ñ%Ò%Ù3ð 	ñ 
ñ 9HÓWº°1ÐPVÉ;Ó.˜a§¡¨A£Ò.¹ÐÐWð (×-Ñ-Ô/ô 
â/‘�ØÑ#ó "à()Ñ(Có "ˆA˜qÑ!Ò!Ù/ð 	ñ  
ð %×)Ñ)Ô+ó"
â+�Ø�|‰|˜C× ó à%& q r U¨oÑ%=ó àBCÀAÀBÀ%ÐOaÑBaó ˆAˆaˆb‹EÙ+ð 	ð "
ó
 (ˆAØ&5×&9Ñ&9¸A¸a¸S¸'Ó&BÐ Ó#ñ (ð uÐ/ÐtÐ3EÐtÐI[ÐtÐ_sÐtÐð
 (×-Ñ-Ô/ô"
â/‘�ØÐ)Ñ)ó I�Q—\‘\ #×&Ñ&‰r¨CÐ0°°Ð4°oÑ6HÒHÙ/ð 	ñ "
ô Ð Ó!¤C¨×(KÑ(KÓ$LÑLÌsÐSd×SiÑSiÓSkÓOlÑlð 	ô ˆÓ !Ó#ÜØ˜NÐ+¨:Ð6FÐ5GÀ{ÔSVÔW[Ð\l×\qÑ\qÓ\sÓWtÔw{ð  }O÷  }Tñ  }Tó  }Vó  xWñ  XWó  TXð  SYð  Yeð  fóð ñ Ñ3Ð!2Ñ3ˆØ× Ñ Ð/LÐ ÑMØ× Ò Ñ:Ð#9Ò:àˆùò_ Wùó
ùò Xùó 
ùò"
ùó"
s`   Å	N,Å&N,ÆN1Æ)N1Æ0N1Ç
	N7ÇN7ÈN<ÈN<È	N<È5OÉOÉOÉ)	OÊ0OË %Orí   Nr
  rí   r¨   r¦   r"  r"  Ç  sJ   † ñð %€Kò
ð ØñWRó ó ðWRðr ñsó ósr¨   r"  c                   óL   • \ rS rSrSrSrS r\\S 5       5       r	\S 5       r
Srg)	ÚAutoPipelineForText2Audioiò  a  

[`AutoPipelineForText2Audio`] is a generic pipeline class that instantiates a text-to-audio pipeline class. The
specific underlying pipeline class is automatically selected from either the
[`~AutoPipelineForText2Audio.from_pretrained`] or [`~AutoPipelineForText2Audio.from_pipe`] methods.

This class cannot be instantiated using `__init__()` (throws an error).

Class attributes:

    - **config_name** (`str`) -- The configuration filename that stores the class and module names of all the
      diffusion pipeline's components.

r¸   c                 ó¢   • [        U R                  R                   SU R                  R                   SU R                  R                   S35      erº   r»   r¾   s      r¦   rÂ   Ú"AutoPipelineForText2Audio.__init__  rÄ   r¨   c                 ón  • UR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUR                  SS5      nUUUUUUS	.n	U R                  " U40 U	D6n
U
S
   n[        [        U5      n0 U	EUEnUR                  " U40 UD6$ )u¯  
Instantiates a text-to-audio Pytorch diffusion pipeline from pretrained pipeline weight.

The from_pretrained() method takes care of returning the correct pipeline class instance by:
    1. Detect the pipeline class of the pretrained_model_or_path based on the _class_name property of its
       config object
    2. Find the text-to-audio pipeline linked to the pipeline class using pattern matching on pipeline class
       name.

The pipeline is set in evaluation mode (`model.eval()`) by default.

Parameters:
    pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
        Can be either:

            - A string, the *repo id* (for example `stabilityai/stable-audio-open-1.0`) of a pretrained
              pipeline hosted on the Hub.
            - A path to a *directory* (for example `./my_pipeline_directory/`) containing pipeline weights
              saved using
            [`~DiffusionPipeline.save_pretrained`].
    dtype (`torch.dtype`, *optional*):
        Override the default `torch.dtype` and load the model with another dtype.
    force_download (`bool`, *optional*, defaults to `False`):
        Whether or not to force the (re-)download of the model weights and configuration files, overriding the
        cached versions if they exist.
    cache_dir (`str | os.PathLike`, *optional*):
        Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
        is not used.

    proxies (`dict[str, str]`, *optional*):
        A dictionary of proxy servers to use by protocol or endpoint, for example, `{'http': 'foo.bar:3128',
        'http://hostname': 'foo.bar:4012'}`. The proxies are used on each request.
    output_loading_info(`bool`, *optional*, defaults to `False`):
        Whether or not to also return a dictionary containing missing keys, unexpected keys and error messages.
    local_files_only (`bool`, *optional*, defaults to `False`):
        Whether to only load local model weights and configuration files or not. If set to `True`, the model
        won't be downloaded from the Hub.
    token (`str` or *bool*, *optional*):
        The token to use as HTTP bearer authorization for remote files. If `True`, the token generated from
        `diffusers-cli login` (stored in `~/.huggingface`) is used.
    revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
        allowed by Git.
    custom_revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, or a commit id similar to
        `revision` when loading a custom pipeline from the Hub. It can be a ðŸ¤— Diffusers version when loading a
        custom pipeline from GitHub, otherwise it defaults to `"main"` when loading from the Hub.
    mirror (`str`, *optional*):
        Mirror source to resolve accessibility issues if you're downloading a model in China. We do not
        guarantee the timeliness or safety of the source, and you should refer to the mirror site for more
        information.
    device_map (`str` or `dict[str, int | str | torch.device]`, *optional*):
        A map that specifies where each submodule should go. It doesn't need to be defined for each
        parameter/buffer name; once a given module name is inside, every submodule of it will be sent to the
        same device.

        Set `device_map="auto"` to have ðŸ¤— Accelerate automatically compute the most optimized `device_map`. For
        more information about each option see [designing a device
        map](https://hf.co/docs/accelerate/main/en/usage_guides/big_modeling#designing-a-device-map).
    max_memory (`Dict`, *optional*):
        A dictionary device identifier for the maximum memory. Will default to the maximum memory available for
        each GPU and the available CPU RAM if unset.
    offload_folder (`str` or `os.PathLike`, *optional*):
        The path to offload weights if device_map contains the value `"disk"`.
    offload_state_dict (`bool`, *optional*):
        If `True`, temporarily offloads the CPU state dict to the hard drive to avoid running out of CPU RAM if
        the weight of the CPU state dict + the biggest shard of the checkpoint does not fit. Defaults to `True`
        when there is some disk offload.
    low_cpu_mem_usage (`bool`, *optional*, defaults to `True` if torch version >= 1.9.0 else `False`):
        Speed up model loading only loading the pretrained weights and not initializing the weights. This also
        tries to not use more than 1x model size in CPU memory (including peak memory) while loading the model.
        Only supported for PyTorch >= 1.9.0. If you are using an older version of PyTorch, setting this
        argument to `True` will raise an error.
    use_safetensors (`bool`, *optional*, defaults to `None`):
        If set to `None`, the safetensors weights are downloaded if they're available **and** if the
        safetensors library is installed. If set to `True`, the model is forcibly loaded from safetensors
        weights. If set to `False`, safetensors weights are not loaded.
    kwargs (remaining dictionary of keyword arguments, *optional*):
        Can be used to overwrite load and saveable variables (the pipeline components of the specific pipeline
        class). The overwritten components are passed directly to the pipelines `__init__` method. See example
        below for more information.
    variant (`str`, *optional*):
        Load weights from a specified variant filename such as `"fp16"` or `"ema"`.

> [!TIP] > To use private or [gated](https://huggingface.co/docs/hub/models-gated#gated-models) models, log-in
with `hf > auth login`.

Examples:

```py
>>> import torch
>>> import soundfile as sf
>>> from diffusers import AutoPipelineForText2Audio

>>> pipeline = AutoPipelineForText2Audio.from_pretrained(
...     "stabilityai/stable-audio-open-1.0", torch_dtype=torch.float16
... )
>>> pipeline = pipeline.to("cuda")

>>> output = pipeline(
...     "Generate a male voice reading a paragraph",
...     num_inference_steps=200,
...     audio_end_in_s=10.0,
... )
>>> audio = output.audios[0].T.float().cpu().numpy()
>>> sf.write("audio.wav", audio, pipeline.vae.sampling_rate)
```
rÆ   NrÇ   FrÈ   rÉ   rÊ   rË   rÌ   rÍ   )rÕ   rÖ   rž   Ú!AUTO_TEXT2AUDIO_PIPELINES_MAPPINGrÙ   )rÚ   rÛ   rÁ   rÆ   rÇ   rÈ   rÉ   rÊ   rË   rÜ   rÝ   rÞ   Útext_2_audio_clss                r¦   rÙ   Ú)AutoPipelineForText2Audio.from_pretrained  sÚ   € ð^ —J‘J˜{¨DÓ1ˆ	ØŸ™Ð$4°eÓ<ˆØ—*‘*˜Y¨Ó-ˆØ—
‘
˜7 DÓ)ˆØ!Ÿ:™:Ð&8¸%Ó@ÐØ—:‘:˜j¨$Ó/ˆð #Ø,ØØØ 0Ø ñ
Ðð —’Ð!9ÑPÐ=OÑPˆØ  Ñ/ˆä*Ô+LÈoÓ^Ðà1Ð&Ð1¨&Ð1ˆØ×/Ò/Ð0HÑSÈFÑSÐSr¨   c                 ó²  • [        UR                  5      nUR                  R                  n[	        [
        U5      nUR                  U5      u  pgUR                  SS5      nU V	s0 s H  o™U;   d  M
  X’R                  U	5      _M     n
n	UR                  R                  5        V	Vs0 s H"  u  p›X–;   d  M  Xš;  d  M  X‘R                  U	   _M$     nn	nU V	s0 s H  o™U;   d  M
  X’R                  U	5      _M     nn	UR                  5        V	Vs0 s H  u  p›X—;   d  M  X�;  d  M  X“U	   _M     nn	nUR                  5        V	s/ s H6  n	U	R                  S5      (       d  M  U	SS U;   d  M&  U	SS U;  d  M1  U	SS PM8     nn	U H  n	UR                  SU	 35      Xé'   M     0 U
EUEUEUEnUR                  5        V	Vs0 s H.  u  p›U	U;  d  M  U	R                  S5      (       a  SOS U	 3X9   _M0     nn	n[        U5      [        UR                  5      -
  [        UR                  5       5      -
  n[        U5      S:”  aO  [        SU SU S	[        [!        U
R                  5       5      [!        UR                  5       5      -   5       S
35      eU" S0 UD6nUR#                  US9  UR"                  " S0 UD6  U$ s  sn	f s  snn	f s  sn	f s  snn	f s  sn	f s  snn	f )ap  
Instantiates a text-to-audio Pytorch diffusion pipeline from another instantiated diffusion pipeline class.

The from_pipe() method takes care of returning the correct pipeline class instance by finding the text-to-audio
pipeline linked to the pipeline class using pattern matching on pipeline class name.

All the modules the pipeline contains will be used to initialize the new pipeline without reallocating
additional memory.

The pipeline is set in evaluation mode (`model.eval()`) by default.

Parameters:
    pipeline (`DiffusionPipeline`):
        an instantiated `DiffusionPipeline` object

```py
>>> import torch
>>> import soundfile as sf
>>> from diffusers import AutoPipelineForText2Audio, StableAudioPipeline

>>> pipe = StableAudioPipeline.from_pretrained("stabilityai/stable-audio-open-1.0", torch_dtype=torch.float16)

>>> pipe_audio = AutoPipelineForText2Audio.from_pipe(pipe)
>>> output = pipe_audio(
...     "Generate a sound",
...     num_inference_steps=200,
...     audio_end_in_s=10.0,
... )
>>> audio = output.audios[0].T.float().cpu().numpy()
>>> sf.write("audio.wav", audio, pipe_audio.vae.sampling_rate)
```
ræ   Nrç   r	   rå   r   rè   ré   rê   rë   rì   rí   )rî   rÝ   r½   r    rž   r5  rï   rÕ   rð   r«   rñ   rò   ró   rô   rõ   r³   rö   r÷   )rÚ   r¯   rÁ   rø   rù   r6  rú   rû   rü   rý   rþ   rÿ   r   r  r  r  Útext_2_audio_kwargsr  r  r  s                       r¦   r  Ú#AutoPipelineForText2Audio.from_pipe’  sp  € ôF ˜xŸ™Ó/ˆØ$×.Ñ.×7Ñ7Ðä*Ô+LÐN_Ó`Ðà,<×,PÑ,PÐQaÓ,bÑ)Ðà(7×(;Ñ(;¸OÈTÓ(RÐ%á6FÓVÒ6F°ÈvÉ+Ó,˜AŸz™z¨!›}Ò,Ñ6FÐÐVð !×+Ñ+×1Ñ1Ô3ô
â3‘�ØÑ$ó &à)*Ñ)Bó &ˆA×"Ñ" 1Ñ%Ò%Ù3ð 	ñ 
ñ 9HÓWº°1ÐPVÉ;Ó.˜a§¡¨A£Ò.¹ÐÐWð (×-Ñ-Ô/ô 
â/‘�ØÑ#ó "à()Ñ(Có "ˆA˜qÑ!Ò!Ù/ð 	ñ  
ð %×)Ñ)Ô+ó"
â+�Ø�|‰|˜C× ó à%& q r U¨oÑ%=ó àBCÀAÀBÀ%ÐOaÑBaó ˆAˆaˆb‹EÙ+ð 	ð "
ó
 (ˆAØ&5×&9Ñ&9¸A¸a¸S¸'Ó&BÐ Ó#ñ (ð wÐ!1ÐvÐ5GÐvÐK]ÐvÐauÐvÐð (×-Ñ-Ô/ô"
â/‘�ØÐ+Ñ+ó I�Q—\‘\ #×&Ñ&‰r¨CÐ0°°Ð4°oÑ6HÒHÙ/ð 	ñ "
ô Ð Ó!¤CÐ(8×(MÑ(MÓ$NÑNÔQTÐUh×UmÑUmÓUoÓQpÑpð 	ô ˆÓ !Ó#ÜØÐ,Ð-¨ZÐ8HÐ7IÈÔUXÔY]Ð^n×^sÑ^sÓ^uÓYvÔy}ð  Q÷  Vñ  Vó  Xó  zYñ  ZYó  VZð  U[ð  [gð  hóð ñ !Ñ7Ð#6Ñ7ˆØ× Ñ Ð/LÐ ÑMØ× Ò Ñ:Ð#9Ò:àˆùòW Wùó
ùò Xùó 
ùò"
ùó"
s`   Á%	J8Á2J8Â&J=Â5J=Â<J=Ã	KÃ#KÄKÄKÄ#	KÅKÅKÅ*KÅ5	KÆ<KÇ%Krí   Nr
  rí   r¨   r¦   r1  r1  ò  sJ   † ñð %€Kò
ð ØñCTó ó ðCTðJ ñVó óVr¨   r1  N)T)»Úcollectionsr   Úhuggingface_hub.utilsr   Úconfiguration_utilsr   Úmodels.controlnetsr   Úutilsr   r”   r
   r   r“   r   Ú	aura_flowr   r‹   r   rŒ   r   r�   r   r   rÐ   r   r   r   r   r   r   r   r   r   Úcontrolnet_sd3r   r   Úcosmosr   Údeepfloyd_ifr   r   r    Údeprecated.wuerstchenr!   r"   r…   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r†   r-   r.   rŽ   r/   r�   r0   r1   Ú
hunyuanditr2   r‡   r3   r}   r4   r5   r6   r7   r8   r9   Úkandinsky2_2r:   r;   r<   r=   r>   r?   r   r@   rA   rˆ   rB   Úlatent_consistency_modelsrC   rD   Úlongcat_audio_ditrE   r‰   rF   rŠ   rG   Únucleusmoe_imagerH   Ú
ovis_imagerI   ÚpagrJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   Úpixart_alpharY   rZ   r’   r[   r�   r\   r]   r^   r_   r`   ra   rb   rc   rƒ   rd   Ústable_audiore   Ústable_audio_3rf   Ústable_cascaderg   rh   Ústable_diffusionri   rj   rk   Ústable_diffusion_3rl   rm   rn   Ústable_diffusion_xlro   rp   rq   r•   rr   rs   rt   Úz_imageru   rv   rw   rx   ry   rz   rŸ   r5  r¢   r¤   Ú!AUTO_TEXT2VIDEO_PIPELINES_MAPPINGÚ&AUTO_CONDITION2VIDEO_PIPELINES_MAPPINGÚ"AUTO_IMAGE2VIDEO_PIPELINES_MAPPINGÚ"AUTO_VIDEO2VIDEO_PIPELINES_MAPPINGrœ   r¡   r£   r™   r–   r—   r˜   rª   r§   r°   Úboolrž   r·   r  r"  r1  rí   r¨   r¦   Ú<module>rY     s*  ðõ  $å 6å -Ý 5Ý .ß 8Ý (Ý 'Ý "Ý *ß ?÷
÷ 
õ 
÷õ (ß MÑ Mß X÷÷ ÷ ÷ 5Ý 'ß 9Ý *Ý (÷÷ ÷÷ ÷ FÝ  ß lÝ 6Ý "Ý $Ý 5Ý )÷÷ ÷ ÷ ñ ÷" CÝ ÷	÷ 	ó 	õ Ý -Ý 0ß W÷ñ ÷
ñ ÷
ñ ÷
 OÑ N÷÷ ñ %0ð6Ø	Ð4Ð5ð6à	Ð 9Ð:ð6ð 
Ð7Ð8ð6ð 
"Ð#>Ð?ð	6ð
 
ˆzÐð6ð 
Ð&Ð'ð6ð 
Ð-Ð.ð6ð 
Ð/Ð0ð6ð 
Ð4Ð5ð6ð 
Ð)Ð*ð6ð 
'Ð(IÐJð6ð 
*Ð+NÐOð6ð 
0Ð1YÐZð6ð 
)Ð*LÐMð6ð 
Ð1Ð2ð6ð  
Ð1Ð2ð!6ð" 
Ð.Ð/ð#6ð$ 
Ð,Ð-ð%6ð& 
Ð,Ð-ð'6ð( 
�Ðð)6ð* 
�_Ð%ð+6ð, 
 Ð!;Ð<ð-6ð. 
+Ð,PÐQð/6ð0 
#Ð$@ÐAð16ð2 
.Ð/UÐVð36ð4 
Ð3Ð4ð56ð6 
Ð%Ð&ð76ð8 
�Ðð96ð: 
Ð,Ð-ð;6ð< 
Ð2Ð3ð=6ð> 
Ð,Ð-ð?6ð@ 
Ð*Ð+ðA6ðB 
�-Ð ðC6ðD 
Ð'Ð(ðE6ðF 
�-Ð ðG6ðH 
�>Ð"ðI6ðJ 
�OÐ$ðK6ðL 
�>Ð"ðM6ðN 
Ð)Ð*ðO6ðP 
Ð%Ð&ðQ6ðR 
Ð&Ð'ðS6ðT 
�>Ð"ðU6ðV 
Ð0Ð1ðW6ðX 
Ð4Ð5ðY6ðZ 
Ð4Ð5ð[6ð\ 
Ð'Ð(ð]6ð^ 
 Ð!<Ð=ð_6ð` 
�NÐ#ða6ðb 
Ð7Ð8ðc6ðd 
&Ð'FÐGðe6ðf 
Ð+Ð,ðg6ðh 
Ð"Ð#ði6ðj 
�Ððk6ó8%Ð !ñt %0à	Ð'Ð(Ø	Ð,Ð-Ø	Ð/Ð0Ø	Ð5Ð6ð	ó%Ð !ñ &1à	Ð;Ð<Ø	Ð @ÐAØ	Ð>Ð?Ø	!Ð#EÐFØ	Ð Ð!Ø	Ð6Ð7Ø	Ð;Ð<Ø	Ð0Ð1Ø	&Ð(PÐQØ	Ð!BÐCØ	)Ð+UÐVØ	/Ð1`ÐaØ	"Ð$GÐHØ	-Ð/\Ð]Ø	Ð5Ð6Ø	Ð$Ð%Ø	Ð9Ð:Ø	Ð3Ð4Ø	Ð,Ð-Ø	Ð*Ð+Ø	�-Ð Ø	Ð.Ð/Ø	Ð0Ð1Ø	Ð 9Ð:Ø	Ð6Ð7Ø	Ð)Ð*ð5ó&Ð "ñ> "-à	Ð;Ð<Ø	Ð @ÐAØ	Ð>Ð?Ø	Ð#Ð$Ø	Ð6Ð7Ø	Ð;Ð<Ø	&Ð(PÐQØ	*Ð,WÐXØ	)Ð+UÐVØ	/Ð1`ÐaØ	(Ð*VÐWØ	"Ð$GÐHØ	Ð$Ð%Ø	Ð9Ð:Ø	Ð3Ð4Ø	Ð!BÐCØ	Ð.Ð/Ø	Ð7Ð8Ø	Ð)Ð*ð'ó"Ð ñ0 %0à	�OÐ$Ø	�Ððó%Ð !ñ *5à	Ð,Ð-ðó*Ð &ñ &1à	Ð*Ð+Ø	Ð+Ð,ðó&Ð "ñ &1à	Ð*Ð+Ø	Ð'Ð(ðó&Ð "ñ .9à	Ð'Ð(Ø	Ð,Ð-Ø	Ð0Ð1Ø	Ð0Ð1ð	ó.Ð *ñ /:à	Ð.Ð/Ø	Ð3Ð4ðó/Ð +ñ +6à	Ð.Ð/Ø	Ð3Ð4ðó+Ð 'ñ ×Ñß=Ý&à2@Ð% hÑ/Ø6GÐ% lÑ3Ø3HÐ& xÑ0ð &Ø&Ø"Ø%Ø*Ø&Ø&Ø%Ø.Ø/Ø+ðÐ òvò"ñ	qÈDõ 	qô^ ô ^ôB	n ô nôb	h ô hôV	w õ wr¨   