diffusers 0.27.1__py3-none-any.whl → 0.32.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- diffusers/__init__.py +233 -6
- diffusers/callbacks.py +209 -0
- diffusers/commands/env.py +102 -6
- diffusers/configuration_utils.py +45 -16
- diffusers/dependency_versions_table.py +4 -3
- diffusers/image_processor.py +434 -110
- diffusers/loaders/__init__.py +42 -9
- diffusers/loaders/ip_adapter.py +626 -36
- diffusers/loaders/lora_base.py +900 -0
- diffusers/loaders/lora_conversion_utils.py +991 -125
- diffusers/loaders/lora_pipeline.py +3812 -0
- diffusers/loaders/peft.py +571 -7
- diffusers/loaders/single_file.py +405 -173
- diffusers/loaders/single_file_model.py +385 -0
- diffusers/loaders/single_file_utils.py +1783 -713
- diffusers/loaders/textual_inversion.py +41 -23
- diffusers/loaders/transformer_flux.py +181 -0
- diffusers/loaders/transformer_sd3.py +89 -0
- diffusers/loaders/unet.py +464 -540
- diffusers/loaders/unet_loader_utils.py +163 -0
- diffusers/models/__init__.py +76 -7
- diffusers/models/activations.py +65 -10
- diffusers/models/adapter.py +53 -53
- diffusers/models/attention.py +605 -18
- diffusers/models/attention_flax.py +1 -1
- diffusers/models/attention_processor.py +4304 -687
- diffusers/models/autoencoders/__init__.py +8 -0
- diffusers/models/autoencoders/autoencoder_asym_kl.py +15 -17
- diffusers/models/autoencoders/autoencoder_dc.py +620 -0
- diffusers/models/autoencoders/autoencoder_kl.py +110 -28
- diffusers/models/autoencoders/autoencoder_kl_allegro.py +1149 -0
- diffusers/models/autoencoders/autoencoder_kl_cogvideox.py +1482 -0
- diffusers/models/autoencoders/autoencoder_kl_hunyuan_video.py +1176 -0
- diffusers/models/autoencoders/autoencoder_kl_ltx.py +1338 -0
- diffusers/models/autoencoders/autoencoder_kl_mochi.py +1166 -0
- diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py +19 -24
- diffusers/models/autoencoders/autoencoder_oobleck.py +464 -0
- diffusers/models/autoencoders/autoencoder_tiny.py +21 -18
- diffusers/models/autoencoders/consistency_decoder_vae.py +45 -20
- diffusers/models/autoencoders/vae.py +41 -29
- diffusers/models/autoencoders/vq_model.py +182 -0
- diffusers/models/controlnet.py +47 -800
- diffusers/models/controlnet_flux.py +70 -0
- diffusers/models/controlnet_sd3.py +68 -0
- diffusers/models/controlnet_sparsectrl.py +116 -0
- diffusers/models/controlnets/__init__.py +23 -0
- diffusers/models/controlnets/controlnet.py +872 -0
- diffusers/models/{controlnet_flax.py → controlnets/controlnet_flax.py} +9 -9
- diffusers/models/controlnets/controlnet_flux.py +536 -0
- diffusers/models/controlnets/controlnet_hunyuan.py +401 -0
- diffusers/models/controlnets/controlnet_sd3.py +489 -0
- diffusers/models/controlnets/controlnet_sparsectrl.py +788 -0
- diffusers/models/controlnets/controlnet_union.py +832 -0
- diffusers/models/controlnets/controlnet_xs.py +1946 -0
- diffusers/models/controlnets/multicontrolnet.py +183 -0
- diffusers/models/downsampling.py +85 -18
- diffusers/models/embeddings.py +1856 -158
- diffusers/models/embeddings_flax.py +23 -9
- diffusers/models/model_loading_utils.py +480 -0
- diffusers/models/modeling_flax_pytorch_utils.py +2 -1
- diffusers/models/modeling_flax_utils.py +2 -7
- diffusers/models/modeling_outputs.py +14 -0
- diffusers/models/modeling_pytorch_flax_utils.py +1 -1
- diffusers/models/modeling_utils.py +611 -146
- diffusers/models/normalization.py +361 -20
- diffusers/models/resnet.py +18 -23
- diffusers/models/transformers/__init__.py +16 -0
- diffusers/models/transformers/auraflow_transformer_2d.py +544 -0
- diffusers/models/transformers/cogvideox_transformer_3d.py +542 -0
- diffusers/models/transformers/dit_transformer_2d.py +240 -0
- diffusers/models/transformers/dual_transformer_2d.py +9 -8
- diffusers/models/transformers/hunyuan_transformer_2d.py +578 -0
- diffusers/models/transformers/latte_transformer_3d.py +327 -0
- diffusers/models/transformers/lumina_nextdit2d.py +340 -0
- diffusers/models/transformers/pixart_transformer_2d.py +445 -0
- diffusers/models/transformers/prior_transformer.py +13 -13
- diffusers/models/transformers/sana_transformer.py +488 -0
- diffusers/models/transformers/stable_audio_transformer.py +458 -0
- diffusers/models/transformers/t5_film_transformer.py +17 -19
- diffusers/models/transformers/transformer_2d.py +297 -187
- diffusers/models/transformers/transformer_allegro.py +422 -0
- diffusers/models/transformers/transformer_cogview3plus.py +386 -0
- diffusers/models/transformers/transformer_flux.py +593 -0
- diffusers/models/transformers/transformer_hunyuan_video.py +791 -0
- diffusers/models/transformers/transformer_ltx.py +469 -0
- diffusers/models/transformers/transformer_mochi.py +499 -0
- diffusers/models/transformers/transformer_sd3.py +461 -0
- diffusers/models/transformers/transformer_temporal.py +21 -19
- diffusers/models/unets/unet_1d.py +8 -8
- diffusers/models/unets/unet_1d_blocks.py +31 -31
- diffusers/models/unets/unet_2d.py +17 -10
- diffusers/models/unets/unet_2d_blocks.py +225 -149
- diffusers/models/unets/unet_2d_condition.py +41 -40
- diffusers/models/unets/unet_2d_condition_flax.py +6 -5
- diffusers/models/unets/unet_3d_blocks.py +192 -1057
- diffusers/models/unets/unet_3d_condition.py +22 -27
- diffusers/models/unets/unet_i2vgen_xl.py +22 -18
- diffusers/models/unets/unet_kandinsky3.py +2 -2
- diffusers/models/unets/unet_motion_model.py +1413 -89
- diffusers/models/unets/unet_spatio_temporal_condition.py +40 -16
- diffusers/models/unets/unet_stable_cascade.py +19 -18
- diffusers/models/unets/uvit_2d.py +2 -2
- diffusers/models/upsampling.py +95 -26
- diffusers/models/vq_model.py +12 -164
- diffusers/optimization.py +1 -1
- diffusers/pipelines/__init__.py +202 -3
- diffusers/pipelines/allegro/__init__.py +48 -0
- diffusers/pipelines/allegro/pipeline_allegro.py +938 -0
- diffusers/pipelines/allegro/pipeline_output.py +23 -0
- diffusers/pipelines/amused/pipeline_amused.py +12 -12
- diffusers/pipelines/amused/pipeline_amused_img2img.py +14 -12
- diffusers/pipelines/amused/pipeline_amused_inpaint.py +13 -11
- diffusers/pipelines/animatediff/__init__.py +8 -0
- diffusers/pipelines/animatediff/pipeline_animatediff.py +122 -109
- diffusers/pipelines/animatediff/pipeline_animatediff_controlnet.py +1106 -0
- diffusers/pipelines/animatediff/pipeline_animatediff_sdxl.py +1288 -0
- diffusers/pipelines/animatediff/pipeline_animatediff_sparsectrl.py +1010 -0
- diffusers/pipelines/animatediff/pipeline_animatediff_video2video.py +236 -180
- diffusers/pipelines/animatediff/pipeline_animatediff_video2video_controlnet.py +1341 -0
- diffusers/pipelines/animatediff/pipeline_output.py +3 -2
- diffusers/pipelines/audioldm/pipeline_audioldm.py +14 -14
- diffusers/pipelines/audioldm2/modeling_audioldm2.py +58 -39
- diffusers/pipelines/audioldm2/pipeline_audioldm2.py +121 -36
- diffusers/pipelines/aura_flow/__init__.py +48 -0
- diffusers/pipelines/aura_flow/pipeline_aura_flow.py +584 -0
- diffusers/pipelines/auto_pipeline.py +196 -28
- diffusers/pipelines/blip_diffusion/blip_image_processing.py +1 -1
- diffusers/pipelines/blip_diffusion/modeling_blip2.py +6 -6
- diffusers/pipelines/blip_diffusion/modeling_ctx_clip.py +1 -1
- diffusers/pipelines/blip_diffusion/pipeline_blip_diffusion.py +2 -2
- diffusers/pipelines/cogvideo/__init__.py +54 -0
- diffusers/pipelines/cogvideo/pipeline_cogvideox.py +772 -0
- diffusers/pipelines/cogvideo/pipeline_cogvideox_fun_control.py +825 -0
- diffusers/pipelines/cogvideo/pipeline_cogvideox_image2video.py +885 -0
- diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py +851 -0
- diffusers/pipelines/cogvideo/pipeline_output.py +20 -0
- diffusers/pipelines/cogview3/__init__.py +47 -0
- diffusers/pipelines/cogview3/pipeline_cogview3plus.py +674 -0
- diffusers/pipelines/cogview3/pipeline_output.py +21 -0
- diffusers/pipelines/consistency_models/pipeline_consistency_models.py +6 -6
- diffusers/pipelines/controlnet/__init__.py +86 -80
- diffusers/pipelines/controlnet/multicontrolnet.py +7 -182
- diffusers/pipelines/controlnet/pipeline_controlnet.py +134 -87
- diffusers/pipelines/controlnet/pipeline_controlnet_blip_diffusion.py +2 -2
- diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py +93 -77
- diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py +88 -197
- diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py +136 -90
- diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py +176 -80
- diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py +125 -89
- diffusers/pipelines/controlnet/pipeline_controlnet_union_inpaint_sd_xl.py +1790 -0
- diffusers/pipelines/controlnet/pipeline_controlnet_union_sd_xl.py +1501 -0
- diffusers/pipelines/controlnet/pipeline_controlnet_union_sd_xl_img2img.py +1627 -0
- diffusers/pipelines/controlnet/pipeline_flax_controlnet.py +2 -2
- diffusers/pipelines/controlnet_hunyuandit/__init__.py +48 -0
- diffusers/pipelines/controlnet_hunyuandit/pipeline_hunyuandit_controlnet.py +1060 -0
- diffusers/pipelines/controlnet_sd3/__init__.py +57 -0
- diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet.py +1133 -0
- diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet_inpainting.py +1153 -0
- diffusers/pipelines/controlnet_xs/__init__.py +68 -0
- diffusers/pipelines/controlnet_xs/pipeline_controlnet_xs.py +916 -0
- diffusers/pipelines/controlnet_xs/pipeline_controlnet_xs_sd_xl.py +1111 -0
- diffusers/pipelines/ddpm/pipeline_ddpm.py +2 -2
- diffusers/pipelines/deepfloyd_if/pipeline_if.py +16 -30
- diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py +20 -35
- diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py +23 -41
- diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py +22 -38
- diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py +25 -41
- diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py +19 -34
- diffusers/pipelines/deepfloyd_if/pipeline_output.py +6 -5
- diffusers/pipelines/deepfloyd_if/watermark.py +1 -1
- diffusers/pipelines/deprecated/alt_diffusion/modeling_roberta_series.py +11 -11
- diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion.py +70 -30
- diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion_img2img.py +48 -25
- diffusers/pipelines/deprecated/repaint/pipeline_repaint.py +2 -2
- diffusers/pipelines/deprecated/spectrogram_diffusion/pipeline_spectrogram_diffusion.py +7 -7
- diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_cycle_diffusion.py +21 -20
- diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_inpaint_legacy.py +27 -29
- diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_model_editing.py +33 -27
- diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_paradigms.py +33 -23
- diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_pix2pix_zero.py +36 -30
- diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py +102 -69
- diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion.py +13 -13
- diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py +10 -5
- diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_image_variation.py +11 -6
- diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.py +10 -5
- diffusers/pipelines/deprecated/vq_diffusion/pipeline_vq_diffusion.py +5 -5
- diffusers/pipelines/dit/pipeline_dit.py +7 -4
- diffusers/pipelines/flux/__init__.py +69 -0
- diffusers/pipelines/flux/modeling_flux.py +47 -0
- diffusers/pipelines/flux/pipeline_flux.py +957 -0
- diffusers/pipelines/flux/pipeline_flux_control.py +889 -0
- diffusers/pipelines/flux/pipeline_flux_control_img2img.py +945 -0
- diffusers/pipelines/flux/pipeline_flux_control_inpaint.py +1141 -0
- diffusers/pipelines/flux/pipeline_flux_controlnet.py +1006 -0
- diffusers/pipelines/flux/pipeline_flux_controlnet_image_to_image.py +998 -0
- diffusers/pipelines/flux/pipeline_flux_controlnet_inpainting.py +1204 -0
- diffusers/pipelines/flux/pipeline_flux_fill.py +969 -0
- diffusers/pipelines/flux/pipeline_flux_img2img.py +856 -0
- diffusers/pipelines/flux/pipeline_flux_inpaint.py +1022 -0
- diffusers/pipelines/flux/pipeline_flux_prior_redux.py +492 -0
- diffusers/pipelines/flux/pipeline_output.py +37 -0
- diffusers/pipelines/free_init_utils.py +41 -38
- diffusers/pipelines/free_noise_utils.py +596 -0
- diffusers/pipelines/hunyuan_video/__init__.py +48 -0
- diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video.py +687 -0
- diffusers/pipelines/hunyuan_video/pipeline_output.py +20 -0
- diffusers/pipelines/hunyuandit/__init__.py +48 -0
- diffusers/pipelines/hunyuandit/pipeline_hunyuandit.py +916 -0
- diffusers/pipelines/i2vgen_xl/pipeline_i2vgen_xl.py +33 -48
- diffusers/pipelines/kandinsky/pipeline_kandinsky.py +8 -8
- diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py +32 -29
- diffusers/pipelines/kandinsky/pipeline_kandinsky_img2img.py +11 -11
- diffusers/pipelines/kandinsky/pipeline_kandinsky_inpaint.py +12 -12
- diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py +10 -10
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2.py +6 -6
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py +34 -31
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_controlnet.py +10 -10
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_controlnet_img2img.py +10 -10
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_img2img.py +6 -6
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_inpainting.py +8 -8
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior.py +7 -7
- diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior_emb2emb.py +6 -6
- diffusers/pipelines/kandinsky3/convert_kandinsky3_unet.py +3 -3
- diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py +22 -35
- diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py +26 -37
- diffusers/pipelines/kolors/__init__.py +54 -0
- diffusers/pipelines/kolors/pipeline_kolors.py +1070 -0
- diffusers/pipelines/kolors/pipeline_kolors_img2img.py +1250 -0
- diffusers/pipelines/kolors/pipeline_output.py +21 -0
- diffusers/pipelines/kolors/text_encoder.py +889 -0
- diffusers/pipelines/kolors/tokenizer.py +338 -0
- diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py +82 -62
- diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py +77 -60
- diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py +12 -12
- diffusers/pipelines/latte/__init__.py +48 -0
- diffusers/pipelines/latte/pipeline_latte.py +881 -0
- diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py +80 -74
- diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py +85 -76
- diffusers/pipelines/ledits_pp/pipeline_output.py +2 -2
- diffusers/pipelines/ltx/__init__.py +50 -0
- diffusers/pipelines/ltx/pipeline_ltx.py +789 -0
- diffusers/pipelines/ltx/pipeline_ltx_image2video.py +885 -0
- diffusers/pipelines/ltx/pipeline_output.py +20 -0
- diffusers/pipelines/lumina/__init__.py +48 -0
- diffusers/pipelines/lumina/pipeline_lumina.py +890 -0
- diffusers/pipelines/marigold/__init__.py +50 -0
- diffusers/pipelines/marigold/marigold_image_processing.py +576 -0
- diffusers/pipelines/marigold/pipeline_marigold_depth.py +813 -0
- diffusers/pipelines/marigold/pipeline_marigold_normals.py +690 -0
- diffusers/pipelines/mochi/__init__.py +48 -0
- diffusers/pipelines/mochi/pipeline_mochi.py +748 -0
- diffusers/pipelines/mochi/pipeline_output.py +20 -0
- diffusers/pipelines/musicldm/pipeline_musicldm.py +14 -14
- diffusers/pipelines/pag/__init__.py +80 -0
- diffusers/pipelines/pag/pag_utils.py +243 -0
- diffusers/pipelines/pag/pipeline_pag_controlnet_sd.py +1328 -0
- diffusers/pipelines/pag/pipeline_pag_controlnet_sd_inpaint.py +1543 -0
- diffusers/pipelines/pag/pipeline_pag_controlnet_sd_xl.py +1610 -0
- diffusers/pipelines/pag/pipeline_pag_controlnet_sd_xl_img2img.py +1683 -0
- diffusers/pipelines/pag/pipeline_pag_hunyuandit.py +969 -0
- diffusers/pipelines/pag/pipeline_pag_kolors.py +1136 -0
- diffusers/pipelines/pag/pipeline_pag_pixart_sigma.py +865 -0
- diffusers/pipelines/pag/pipeline_pag_sana.py +886 -0
- diffusers/pipelines/pag/pipeline_pag_sd.py +1062 -0
- diffusers/pipelines/pag/pipeline_pag_sd_3.py +994 -0
- diffusers/pipelines/pag/pipeline_pag_sd_3_img2img.py +1058 -0
- diffusers/pipelines/pag/pipeline_pag_sd_animatediff.py +866 -0
- diffusers/pipelines/pag/pipeline_pag_sd_img2img.py +1094 -0
- diffusers/pipelines/pag/pipeline_pag_sd_inpaint.py +1356 -0
- diffusers/pipelines/pag/pipeline_pag_sd_xl.py +1345 -0
- diffusers/pipelines/pag/pipeline_pag_sd_xl_img2img.py +1544 -0
- diffusers/pipelines/pag/pipeline_pag_sd_xl_inpaint.py +1776 -0
- diffusers/pipelines/paint_by_example/pipeline_paint_by_example.py +17 -12
- diffusers/pipelines/pia/pipeline_pia.py +74 -164
- diffusers/pipelines/pipeline_flax_utils.py +5 -10
- diffusers/pipelines/pipeline_loading_utils.py +515 -53
- diffusers/pipelines/pipeline_utils.py +411 -222
- diffusers/pipelines/pixart_alpha/__init__.py +8 -1
- diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py +76 -93
- diffusers/pipelines/pixart_alpha/pipeline_pixart_sigma.py +873 -0
- diffusers/pipelines/sana/__init__.py +47 -0
- diffusers/pipelines/sana/pipeline_output.py +21 -0
- diffusers/pipelines/sana/pipeline_sana.py +884 -0
- diffusers/pipelines/semantic_stable_diffusion/pipeline_semantic_stable_diffusion.py +27 -23
- diffusers/pipelines/shap_e/pipeline_shap_e.py +3 -3
- diffusers/pipelines/shap_e/pipeline_shap_e_img2img.py +14 -14
- diffusers/pipelines/shap_e/renderer.py +1 -1
- diffusers/pipelines/stable_audio/__init__.py +50 -0
- diffusers/pipelines/stable_audio/modeling_stable_audio.py +158 -0
- diffusers/pipelines/stable_audio/pipeline_stable_audio.py +756 -0
- diffusers/pipelines/stable_cascade/pipeline_stable_cascade.py +71 -25
- diffusers/pipelines/stable_cascade/pipeline_stable_cascade_combined.py +23 -19
- diffusers/pipelines/stable_cascade/pipeline_stable_cascade_prior.py +35 -34
- diffusers/pipelines/stable_diffusion/__init__.py +0 -1
- diffusers/pipelines/stable_diffusion/convert_from_ckpt.py +20 -11
- diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py +1 -1
- diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion.py +2 -2
- diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_upscale.py +6 -6
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py +145 -79
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py +43 -28
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_image_variation.py +13 -8
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py +100 -68
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py +109 -201
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py +131 -32
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py +247 -87
- diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py +30 -29
- diffusers/pipelines/stable_diffusion/pipeline_stable_unclip.py +35 -27
- diffusers/pipelines/stable_diffusion/pipeline_stable_unclip_img2img.py +49 -42
- diffusers/pipelines/stable_diffusion/safety_checker.py +2 -1
- diffusers/pipelines/stable_diffusion_3/__init__.py +54 -0
- diffusers/pipelines/stable_diffusion_3/pipeline_output.py +21 -0
- diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3.py +1140 -0
- diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_img2img.py +1036 -0
- diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_inpaint.py +1250 -0
- diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py +29 -20
- diffusers/pipelines/stable_diffusion_diffedit/pipeline_stable_diffusion_diffedit.py +59 -58
- diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen.py +31 -25
- diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen_text_image.py +38 -22
- diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py +30 -24
- diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py +24 -23
- diffusers/pipelines/stable_diffusion_ldm3d/pipeline_stable_diffusion_ldm3d.py +107 -67
- diffusers/pipelines/stable_diffusion_panorama/pipeline_stable_diffusion_panorama.py +316 -69
- diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py +10 -5
- diffusers/pipelines/stable_diffusion_safe/safety_checker.py +1 -1
- diffusers/pipelines/stable_diffusion_sag/pipeline_stable_diffusion_sag.py +98 -30
- diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py +121 -83
- diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py +161 -105
- diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py +142 -218
- diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py +45 -29
- diffusers/pipelines/stable_diffusion_xl/watermark.py +9 -3
- diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py +110 -57
- diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py +69 -39
- diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py +105 -74
- diffusers/pipelines/text_to_video_synthesis/pipeline_output.py +3 -2
- diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py +29 -49
- diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py +32 -93
- diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py +37 -25
- diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py +54 -40
- diffusers/pipelines/unclip/pipeline_unclip.py +6 -6
- diffusers/pipelines/unclip/pipeline_unclip_image_variation.py +6 -6
- diffusers/pipelines/unidiffuser/modeling_text_decoder.py +1 -1
- diffusers/pipelines/unidiffuser/modeling_uvit.py +12 -12
- diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py +29 -28
- diffusers/pipelines/wuerstchen/modeling_paella_vq_model.py +5 -5
- diffusers/pipelines/wuerstchen/modeling_wuerstchen_common.py +5 -10
- diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py +6 -8
- diffusers/pipelines/wuerstchen/pipeline_wuerstchen.py +4 -4
- diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py +12 -12
- diffusers/pipelines/wuerstchen/pipeline_wuerstchen_prior.py +15 -14
- diffusers/{models/dual_transformer_2d.py → quantizers/__init__.py} +2 -6
- diffusers/quantizers/auto.py +139 -0
- diffusers/quantizers/base.py +233 -0
- diffusers/quantizers/bitsandbytes/__init__.py +2 -0
- diffusers/quantizers/bitsandbytes/bnb_quantizer.py +561 -0
- diffusers/quantizers/bitsandbytes/utils.py +306 -0
- diffusers/quantizers/gguf/__init__.py +1 -0
- diffusers/quantizers/gguf/gguf_quantizer.py +159 -0
- diffusers/quantizers/gguf/utils.py +456 -0
- diffusers/quantizers/quantization_config.py +669 -0
- diffusers/quantizers/torchao/__init__.py +15 -0
- diffusers/quantizers/torchao/torchao_quantizer.py +292 -0
- diffusers/schedulers/__init__.py +12 -2
- diffusers/schedulers/deprecated/__init__.py +1 -1
- diffusers/schedulers/deprecated/scheduling_karras_ve.py +25 -25
- diffusers/schedulers/scheduling_amused.py +5 -5
- diffusers/schedulers/scheduling_consistency_decoder.py +11 -11
- diffusers/schedulers/scheduling_consistency_models.py +23 -25
- diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py +572 -0
- diffusers/schedulers/scheduling_ddim.py +27 -26
- diffusers/schedulers/scheduling_ddim_cogvideox.py +452 -0
- diffusers/schedulers/scheduling_ddim_flax.py +2 -1
- diffusers/schedulers/scheduling_ddim_inverse.py +16 -16
- diffusers/schedulers/scheduling_ddim_parallel.py +32 -31
- diffusers/schedulers/scheduling_ddpm.py +27 -30
- diffusers/schedulers/scheduling_ddpm_flax.py +7 -3
- diffusers/schedulers/scheduling_ddpm_parallel.py +33 -36
- diffusers/schedulers/scheduling_ddpm_wuerstchen.py +14 -14
- diffusers/schedulers/scheduling_deis_multistep.py +150 -50
- diffusers/schedulers/scheduling_dpm_cogvideox.py +489 -0
- diffusers/schedulers/scheduling_dpmsolver_multistep.py +221 -84
- diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py +2 -2
- diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py +158 -52
- diffusers/schedulers/scheduling_dpmsolver_sde.py +153 -34
- diffusers/schedulers/scheduling_dpmsolver_singlestep.py +275 -86
- diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py +81 -57
- diffusers/schedulers/scheduling_edm_euler.py +62 -39
- diffusers/schedulers/scheduling_euler_ancestral_discrete.py +30 -29
- diffusers/schedulers/scheduling_euler_discrete.py +255 -74
- diffusers/schedulers/scheduling_flow_match_euler_discrete.py +458 -0
- diffusers/schedulers/scheduling_flow_match_heun_discrete.py +320 -0
- diffusers/schedulers/scheduling_heun_discrete.py +174 -46
- diffusers/schedulers/scheduling_ipndm.py +9 -9
- diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py +138 -29
- diffusers/schedulers/scheduling_k_dpm_2_discrete.py +132 -26
- diffusers/schedulers/scheduling_karras_ve_flax.py +6 -6
- diffusers/schedulers/scheduling_lcm.py +23 -29
- diffusers/schedulers/scheduling_lms_discrete.py +105 -28
- diffusers/schedulers/scheduling_pndm.py +20 -20
- diffusers/schedulers/scheduling_repaint.py +21 -21
- diffusers/schedulers/scheduling_sasolver.py +157 -60
- diffusers/schedulers/scheduling_sde_ve.py +19 -19
- diffusers/schedulers/scheduling_tcd.py +41 -36
- diffusers/schedulers/scheduling_unclip.py +19 -16
- diffusers/schedulers/scheduling_unipc_multistep.py +243 -47
- diffusers/schedulers/scheduling_utils.py +12 -5
- diffusers/schedulers/scheduling_utils_flax.py +1 -3
- diffusers/schedulers/scheduling_vq_diffusion.py +10 -10
- diffusers/training_utils.py +214 -30
- diffusers/utils/__init__.py +17 -1
- diffusers/utils/constants.py +3 -0
- diffusers/utils/doc_utils.py +1 -0
- diffusers/utils/dummy_pt_objects.py +592 -7
- diffusers/utils/dummy_torch_and_torchsde_objects.py +15 -0
- diffusers/utils/dummy_torch_and_transformers_and_sentencepiece_objects.py +47 -0
- diffusers/utils/dummy_torch_and_transformers_objects.py +1001 -71
- diffusers/utils/dynamic_modules_utils.py +34 -29
- diffusers/utils/export_utils.py +50 -6
- diffusers/utils/hub_utils.py +131 -17
- diffusers/utils/import_utils.py +210 -8
- diffusers/utils/loading_utils.py +118 -5
- diffusers/utils/logging.py +4 -2
- diffusers/utils/peft_utils.py +37 -7
- diffusers/utils/state_dict_utils.py +13 -2
- diffusers/utils/testing_utils.py +193 -11
- diffusers/utils/torch_utils.py +4 -0
- diffusers/video_processor.py +113 -0
- {diffusers-0.27.1.dist-info → diffusers-0.32.2.dist-info}/METADATA +82 -91
- diffusers-0.32.2.dist-info/RECORD +550 -0
- {diffusers-0.27.1.dist-info → diffusers-0.32.2.dist-info}/WHEEL +1 -1
- diffusers/loaders/autoencoder.py +0 -146
- diffusers/loaders/controlnet.py +0 -136
- diffusers/loaders/lora.py +0 -1349
- diffusers/models/prior_transformer.py +0 -12
- diffusers/models/t5_film_transformer.py +0 -70
- diffusers/models/transformer_2d.py +0 -25
- diffusers/models/transformer_temporal.py +0 -34
- diffusers/models/unet_1d.py +0 -26
- diffusers/models/unet_1d_blocks.py +0 -203
- diffusers/models/unet_2d.py +0 -27
- diffusers/models/unet_2d_blocks.py +0 -375
- diffusers/models/unet_2d_condition.py +0 -25
- diffusers-0.27.1.dist-info/RECORD +0 -399
- {diffusers-0.27.1.dist-info → diffusers-0.32.2.dist-info}/LICENSE +0 -0
- {diffusers-0.27.1.dist-info → diffusers-0.32.2.dist-info}/entry_points.txt +0 -0
- {diffusers-0.27.1.dist-info → diffusers-0.32.2.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,21 @@
|
|
2
2
|
from ..utils import DummyObject, requires_backends
|
3
3
|
|
4
4
|
|
5
|
+
class AllegroPipeline(metaclass=DummyObject):
|
6
|
+
_backends = ["torch", "transformers"]
|
7
|
+
|
8
|
+
def __init__(self, *args, **kwargs):
|
9
|
+
requires_backends(self, ["torch", "transformers"])
|
10
|
+
|
11
|
+
@classmethod
|
12
|
+
def from_config(cls, *args, **kwargs):
|
13
|
+
requires_backends(cls, ["torch", "transformers"])
|
14
|
+
|
15
|
+
@classmethod
|
16
|
+
def from_pretrained(cls, *args, **kwargs):
|
17
|
+
requires_backends(cls, ["torch", "transformers"])
|
18
|
+
|
19
|
+
|
5
20
|
class AltDiffusionImg2ImgPipeline(metaclass=DummyObject):
|
6
21
|
_backends = ["torch", "transformers"]
|
7
22
|
|
@@ -17,7 +32,787 @@ class AltDiffusionImg2ImgPipeline(metaclass=DummyObject):
|
|
17
32
|
requires_backends(cls, ["torch", "transformers"])
|
18
33
|
|
19
34
|
|
20
|
-
class AltDiffusionPipeline(metaclass=DummyObject):
|
35
|
+
class AltDiffusionPipeline(metaclass=DummyObject):
|
36
|
+
_backends = ["torch", "transformers"]
|
37
|
+
|
38
|
+
def __init__(self, *args, **kwargs):
|
39
|
+
requires_backends(self, ["torch", "transformers"])
|
40
|
+
|
41
|
+
@classmethod
|
42
|
+
def from_config(cls, *args, **kwargs):
|
43
|
+
requires_backends(cls, ["torch", "transformers"])
|
44
|
+
|
45
|
+
@classmethod
|
46
|
+
def from_pretrained(cls, *args, **kwargs):
|
47
|
+
requires_backends(cls, ["torch", "transformers"])
|
48
|
+
|
49
|
+
|
50
|
+
class AmusedImg2ImgPipeline(metaclass=DummyObject):
|
51
|
+
_backends = ["torch", "transformers"]
|
52
|
+
|
53
|
+
def __init__(self, *args, **kwargs):
|
54
|
+
requires_backends(self, ["torch", "transformers"])
|
55
|
+
|
56
|
+
@classmethod
|
57
|
+
def from_config(cls, *args, **kwargs):
|
58
|
+
requires_backends(cls, ["torch", "transformers"])
|
59
|
+
|
60
|
+
@classmethod
|
61
|
+
def from_pretrained(cls, *args, **kwargs):
|
62
|
+
requires_backends(cls, ["torch", "transformers"])
|
63
|
+
|
64
|
+
|
65
|
+
class AmusedInpaintPipeline(metaclass=DummyObject):
|
66
|
+
_backends = ["torch", "transformers"]
|
67
|
+
|
68
|
+
def __init__(self, *args, **kwargs):
|
69
|
+
requires_backends(self, ["torch", "transformers"])
|
70
|
+
|
71
|
+
@classmethod
|
72
|
+
def from_config(cls, *args, **kwargs):
|
73
|
+
requires_backends(cls, ["torch", "transformers"])
|
74
|
+
|
75
|
+
@classmethod
|
76
|
+
def from_pretrained(cls, *args, **kwargs):
|
77
|
+
requires_backends(cls, ["torch", "transformers"])
|
78
|
+
|
79
|
+
|
80
|
+
class AmusedPipeline(metaclass=DummyObject):
|
81
|
+
_backends = ["torch", "transformers"]
|
82
|
+
|
83
|
+
def __init__(self, *args, **kwargs):
|
84
|
+
requires_backends(self, ["torch", "transformers"])
|
85
|
+
|
86
|
+
@classmethod
|
87
|
+
def from_config(cls, *args, **kwargs):
|
88
|
+
requires_backends(cls, ["torch", "transformers"])
|
89
|
+
|
90
|
+
@classmethod
|
91
|
+
def from_pretrained(cls, *args, **kwargs):
|
92
|
+
requires_backends(cls, ["torch", "transformers"])
|
93
|
+
|
94
|
+
|
95
|
+
class AnimateDiffControlNetPipeline(metaclass=DummyObject):
|
96
|
+
_backends = ["torch", "transformers"]
|
97
|
+
|
98
|
+
def __init__(self, *args, **kwargs):
|
99
|
+
requires_backends(self, ["torch", "transformers"])
|
100
|
+
|
101
|
+
@classmethod
|
102
|
+
def from_config(cls, *args, **kwargs):
|
103
|
+
requires_backends(cls, ["torch", "transformers"])
|
104
|
+
|
105
|
+
@classmethod
|
106
|
+
def from_pretrained(cls, *args, **kwargs):
|
107
|
+
requires_backends(cls, ["torch", "transformers"])
|
108
|
+
|
109
|
+
|
110
|
+
class AnimateDiffPAGPipeline(metaclass=DummyObject):
|
111
|
+
_backends = ["torch", "transformers"]
|
112
|
+
|
113
|
+
def __init__(self, *args, **kwargs):
|
114
|
+
requires_backends(self, ["torch", "transformers"])
|
115
|
+
|
116
|
+
@classmethod
|
117
|
+
def from_config(cls, *args, **kwargs):
|
118
|
+
requires_backends(cls, ["torch", "transformers"])
|
119
|
+
|
120
|
+
@classmethod
|
121
|
+
def from_pretrained(cls, *args, **kwargs):
|
122
|
+
requires_backends(cls, ["torch", "transformers"])
|
123
|
+
|
124
|
+
|
125
|
+
class AnimateDiffPipeline(metaclass=DummyObject):
|
126
|
+
_backends = ["torch", "transformers"]
|
127
|
+
|
128
|
+
def __init__(self, *args, **kwargs):
|
129
|
+
requires_backends(self, ["torch", "transformers"])
|
130
|
+
|
131
|
+
@classmethod
|
132
|
+
def from_config(cls, *args, **kwargs):
|
133
|
+
requires_backends(cls, ["torch", "transformers"])
|
134
|
+
|
135
|
+
@classmethod
|
136
|
+
def from_pretrained(cls, *args, **kwargs):
|
137
|
+
requires_backends(cls, ["torch", "transformers"])
|
138
|
+
|
139
|
+
|
140
|
+
class AnimateDiffSDXLPipeline(metaclass=DummyObject):
|
141
|
+
_backends = ["torch", "transformers"]
|
142
|
+
|
143
|
+
def __init__(self, *args, **kwargs):
|
144
|
+
requires_backends(self, ["torch", "transformers"])
|
145
|
+
|
146
|
+
@classmethod
|
147
|
+
def from_config(cls, *args, **kwargs):
|
148
|
+
requires_backends(cls, ["torch", "transformers"])
|
149
|
+
|
150
|
+
@classmethod
|
151
|
+
def from_pretrained(cls, *args, **kwargs):
|
152
|
+
requires_backends(cls, ["torch", "transformers"])
|
153
|
+
|
154
|
+
|
155
|
+
class AnimateDiffSparseControlNetPipeline(metaclass=DummyObject):
|
156
|
+
_backends = ["torch", "transformers"]
|
157
|
+
|
158
|
+
def __init__(self, *args, **kwargs):
|
159
|
+
requires_backends(self, ["torch", "transformers"])
|
160
|
+
|
161
|
+
@classmethod
|
162
|
+
def from_config(cls, *args, **kwargs):
|
163
|
+
requires_backends(cls, ["torch", "transformers"])
|
164
|
+
|
165
|
+
@classmethod
|
166
|
+
def from_pretrained(cls, *args, **kwargs):
|
167
|
+
requires_backends(cls, ["torch", "transformers"])
|
168
|
+
|
169
|
+
|
170
|
+
class AnimateDiffVideoToVideoControlNetPipeline(metaclass=DummyObject):
|
171
|
+
_backends = ["torch", "transformers"]
|
172
|
+
|
173
|
+
def __init__(self, *args, **kwargs):
|
174
|
+
requires_backends(self, ["torch", "transformers"])
|
175
|
+
|
176
|
+
@classmethod
|
177
|
+
def from_config(cls, *args, **kwargs):
|
178
|
+
requires_backends(cls, ["torch", "transformers"])
|
179
|
+
|
180
|
+
@classmethod
|
181
|
+
def from_pretrained(cls, *args, **kwargs):
|
182
|
+
requires_backends(cls, ["torch", "transformers"])
|
183
|
+
|
184
|
+
|
185
|
+
class AnimateDiffVideoToVideoPipeline(metaclass=DummyObject):
|
186
|
+
_backends = ["torch", "transformers"]
|
187
|
+
|
188
|
+
def __init__(self, *args, **kwargs):
|
189
|
+
requires_backends(self, ["torch", "transformers"])
|
190
|
+
|
191
|
+
@classmethod
|
192
|
+
def from_config(cls, *args, **kwargs):
|
193
|
+
requires_backends(cls, ["torch", "transformers"])
|
194
|
+
|
195
|
+
@classmethod
|
196
|
+
def from_pretrained(cls, *args, **kwargs):
|
197
|
+
requires_backends(cls, ["torch", "transformers"])
|
198
|
+
|
199
|
+
|
200
|
+
class AudioLDM2Pipeline(metaclass=DummyObject):
|
201
|
+
_backends = ["torch", "transformers"]
|
202
|
+
|
203
|
+
def __init__(self, *args, **kwargs):
|
204
|
+
requires_backends(self, ["torch", "transformers"])
|
205
|
+
|
206
|
+
@classmethod
|
207
|
+
def from_config(cls, *args, **kwargs):
|
208
|
+
requires_backends(cls, ["torch", "transformers"])
|
209
|
+
|
210
|
+
@classmethod
|
211
|
+
def from_pretrained(cls, *args, **kwargs):
|
212
|
+
requires_backends(cls, ["torch", "transformers"])
|
213
|
+
|
214
|
+
|
215
|
+
class AudioLDM2ProjectionModel(metaclass=DummyObject):
|
216
|
+
_backends = ["torch", "transformers"]
|
217
|
+
|
218
|
+
def __init__(self, *args, **kwargs):
|
219
|
+
requires_backends(self, ["torch", "transformers"])
|
220
|
+
|
221
|
+
@classmethod
|
222
|
+
def from_config(cls, *args, **kwargs):
|
223
|
+
requires_backends(cls, ["torch", "transformers"])
|
224
|
+
|
225
|
+
@classmethod
|
226
|
+
def from_pretrained(cls, *args, **kwargs):
|
227
|
+
requires_backends(cls, ["torch", "transformers"])
|
228
|
+
|
229
|
+
|
230
|
+
class AudioLDM2UNet2DConditionModel(metaclass=DummyObject):
|
231
|
+
_backends = ["torch", "transformers"]
|
232
|
+
|
233
|
+
def __init__(self, *args, **kwargs):
|
234
|
+
requires_backends(self, ["torch", "transformers"])
|
235
|
+
|
236
|
+
@classmethod
|
237
|
+
def from_config(cls, *args, **kwargs):
|
238
|
+
requires_backends(cls, ["torch", "transformers"])
|
239
|
+
|
240
|
+
@classmethod
|
241
|
+
def from_pretrained(cls, *args, **kwargs):
|
242
|
+
requires_backends(cls, ["torch", "transformers"])
|
243
|
+
|
244
|
+
|
245
|
+
class AudioLDMPipeline(metaclass=DummyObject):
|
246
|
+
_backends = ["torch", "transformers"]
|
247
|
+
|
248
|
+
def __init__(self, *args, **kwargs):
|
249
|
+
requires_backends(self, ["torch", "transformers"])
|
250
|
+
|
251
|
+
@classmethod
|
252
|
+
def from_config(cls, *args, **kwargs):
|
253
|
+
requires_backends(cls, ["torch", "transformers"])
|
254
|
+
|
255
|
+
@classmethod
|
256
|
+
def from_pretrained(cls, *args, **kwargs):
|
257
|
+
requires_backends(cls, ["torch", "transformers"])
|
258
|
+
|
259
|
+
|
260
|
+
class AuraFlowPipeline(metaclass=DummyObject):
|
261
|
+
_backends = ["torch", "transformers"]
|
262
|
+
|
263
|
+
def __init__(self, *args, **kwargs):
|
264
|
+
requires_backends(self, ["torch", "transformers"])
|
265
|
+
|
266
|
+
@classmethod
|
267
|
+
def from_config(cls, *args, **kwargs):
|
268
|
+
requires_backends(cls, ["torch", "transformers"])
|
269
|
+
|
270
|
+
@classmethod
|
271
|
+
def from_pretrained(cls, *args, **kwargs):
|
272
|
+
requires_backends(cls, ["torch", "transformers"])
|
273
|
+
|
274
|
+
|
275
|
+
class CLIPImageProjection(metaclass=DummyObject):
|
276
|
+
_backends = ["torch", "transformers"]
|
277
|
+
|
278
|
+
def __init__(self, *args, **kwargs):
|
279
|
+
requires_backends(self, ["torch", "transformers"])
|
280
|
+
|
281
|
+
@classmethod
|
282
|
+
def from_config(cls, *args, **kwargs):
|
283
|
+
requires_backends(cls, ["torch", "transformers"])
|
284
|
+
|
285
|
+
@classmethod
|
286
|
+
def from_pretrained(cls, *args, **kwargs):
|
287
|
+
requires_backends(cls, ["torch", "transformers"])
|
288
|
+
|
289
|
+
|
290
|
+
class CogVideoXFunControlPipeline(metaclass=DummyObject):
|
291
|
+
_backends = ["torch", "transformers"]
|
292
|
+
|
293
|
+
def __init__(self, *args, **kwargs):
|
294
|
+
requires_backends(self, ["torch", "transformers"])
|
295
|
+
|
296
|
+
@classmethod
|
297
|
+
def from_config(cls, *args, **kwargs):
|
298
|
+
requires_backends(cls, ["torch", "transformers"])
|
299
|
+
|
300
|
+
@classmethod
|
301
|
+
def from_pretrained(cls, *args, **kwargs):
|
302
|
+
requires_backends(cls, ["torch", "transformers"])
|
303
|
+
|
304
|
+
|
305
|
+
class CogVideoXImageToVideoPipeline(metaclass=DummyObject):
|
306
|
+
_backends = ["torch", "transformers"]
|
307
|
+
|
308
|
+
def __init__(self, *args, **kwargs):
|
309
|
+
requires_backends(self, ["torch", "transformers"])
|
310
|
+
|
311
|
+
@classmethod
|
312
|
+
def from_config(cls, *args, **kwargs):
|
313
|
+
requires_backends(cls, ["torch", "transformers"])
|
314
|
+
|
315
|
+
@classmethod
|
316
|
+
def from_pretrained(cls, *args, **kwargs):
|
317
|
+
requires_backends(cls, ["torch", "transformers"])
|
318
|
+
|
319
|
+
|
320
|
+
class CogVideoXPipeline(metaclass=DummyObject):
|
321
|
+
_backends = ["torch", "transformers"]
|
322
|
+
|
323
|
+
def __init__(self, *args, **kwargs):
|
324
|
+
requires_backends(self, ["torch", "transformers"])
|
325
|
+
|
326
|
+
@classmethod
|
327
|
+
def from_config(cls, *args, **kwargs):
|
328
|
+
requires_backends(cls, ["torch", "transformers"])
|
329
|
+
|
330
|
+
@classmethod
|
331
|
+
def from_pretrained(cls, *args, **kwargs):
|
332
|
+
requires_backends(cls, ["torch", "transformers"])
|
333
|
+
|
334
|
+
|
335
|
+
class CogVideoXVideoToVideoPipeline(metaclass=DummyObject):
|
336
|
+
_backends = ["torch", "transformers"]
|
337
|
+
|
338
|
+
def __init__(self, *args, **kwargs):
|
339
|
+
requires_backends(self, ["torch", "transformers"])
|
340
|
+
|
341
|
+
@classmethod
|
342
|
+
def from_config(cls, *args, **kwargs):
|
343
|
+
requires_backends(cls, ["torch", "transformers"])
|
344
|
+
|
345
|
+
@classmethod
|
346
|
+
def from_pretrained(cls, *args, **kwargs):
|
347
|
+
requires_backends(cls, ["torch", "transformers"])
|
348
|
+
|
349
|
+
|
350
|
+
class CogView3PlusPipeline(metaclass=DummyObject):
|
351
|
+
_backends = ["torch", "transformers"]
|
352
|
+
|
353
|
+
def __init__(self, *args, **kwargs):
|
354
|
+
requires_backends(self, ["torch", "transformers"])
|
355
|
+
|
356
|
+
@classmethod
|
357
|
+
def from_config(cls, *args, **kwargs):
|
358
|
+
requires_backends(cls, ["torch", "transformers"])
|
359
|
+
|
360
|
+
@classmethod
|
361
|
+
def from_pretrained(cls, *args, **kwargs):
|
362
|
+
requires_backends(cls, ["torch", "transformers"])
|
363
|
+
|
364
|
+
|
365
|
+
class CycleDiffusionPipeline(metaclass=DummyObject):
|
366
|
+
_backends = ["torch", "transformers"]
|
367
|
+
|
368
|
+
def __init__(self, *args, **kwargs):
|
369
|
+
requires_backends(self, ["torch", "transformers"])
|
370
|
+
|
371
|
+
@classmethod
|
372
|
+
def from_config(cls, *args, **kwargs):
|
373
|
+
requires_backends(cls, ["torch", "transformers"])
|
374
|
+
|
375
|
+
@classmethod
|
376
|
+
def from_pretrained(cls, *args, **kwargs):
|
377
|
+
requires_backends(cls, ["torch", "transformers"])
|
378
|
+
|
379
|
+
|
380
|
+
class FluxControlImg2ImgPipeline(metaclass=DummyObject):
|
381
|
+
_backends = ["torch", "transformers"]
|
382
|
+
|
383
|
+
def __init__(self, *args, **kwargs):
|
384
|
+
requires_backends(self, ["torch", "transformers"])
|
385
|
+
|
386
|
+
@classmethod
|
387
|
+
def from_config(cls, *args, **kwargs):
|
388
|
+
requires_backends(cls, ["torch", "transformers"])
|
389
|
+
|
390
|
+
@classmethod
|
391
|
+
def from_pretrained(cls, *args, **kwargs):
|
392
|
+
requires_backends(cls, ["torch", "transformers"])
|
393
|
+
|
394
|
+
|
395
|
+
class FluxControlInpaintPipeline(metaclass=DummyObject):
|
396
|
+
_backends = ["torch", "transformers"]
|
397
|
+
|
398
|
+
def __init__(self, *args, **kwargs):
|
399
|
+
requires_backends(self, ["torch", "transformers"])
|
400
|
+
|
401
|
+
@classmethod
|
402
|
+
def from_config(cls, *args, **kwargs):
|
403
|
+
requires_backends(cls, ["torch", "transformers"])
|
404
|
+
|
405
|
+
@classmethod
|
406
|
+
def from_pretrained(cls, *args, **kwargs):
|
407
|
+
requires_backends(cls, ["torch", "transformers"])
|
408
|
+
|
409
|
+
|
410
|
+
class FluxControlNetImg2ImgPipeline(metaclass=DummyObject):
|
411
|
+
_backends = ["torch", "transformers"]
|
412
|
+
|
413
|
+
def __init__(self, *args, **kwargs):
|
414
|
+
requires_backends(self, ["torch", "transformers"])
|
415
|
+
|
416
|
+
@classmethod
|
417
|
+
def from_config(cls, *args, **kwargs):
|
418
|
+
requires_backends(cls, ["torch", "transformers"])
|
419
|
+
|
420
|
+
@classmethod
|
421
|
+
def from_pretrained(cls, *args, **kwargs):
|
422
|
+
requires_backends(cls, ["torch", "transformers"])
|
423
|
+
|
424
|
+
|
425
|
+
class FluxControlNetInpaintPipeline(metaclass=DummyObject):
|
426
|
+
_backends = ["torch", "transformers"]
|
427
|
+
|
428
|
+
def __init__(self, *args, **kwargs):
|
429
|
+
requires_backends(self, ["torch", "transformers"])
|
430
|
+
|
431
|
+
@classmethod
|
432
|
+
def from_config(cls, *args, **kwargs):
|
433
|
+
requires_backends(cls, ["torch", "transformers"])
|
434
|
+
|
435
|
+
@classmethod
|
436
|
+
def from_pretrained(cls, *args, **kwargs):
|
437
|
+
requires_backends(cls, ["torch", "transformers"])
|
438
|
+
|
439
|
+
|
440
|
+
class FluxControlNetPipeline(metaclass=DummyObject):
|
441
|
+
_backends = ["torch", "transformers"]
|
442
|
+
|
443
|
+
def __init__(self, *args, **kwargs):
|
444
|
+
requires_backends(self, ["torch", "transformers"])
|
445
|
+
|
446
|
+
@classmethod
|
447
|
+
def from_config(cls, *args, **kwargs):
|
448
|
+
requires_backends(cls, ["torch", "transformers"])
|
449
|
+
|
450
|
+
@classmethod
|
451
|
+
def from_pretrained(cls, *args, **kwargs):
|
452
|
+
requires_backends(cls, ["torch", "transformers"])
|
453
|
+
|
454
|
+
|
455
|
+
class FluxControlPipeline(metaclass=DummyObject):
|
456
|
+
_backends = ["torch", "transformers"]
|
457
|
+
|
458
|
+
def __init__(self, *args, **kwargs):
|
459
|
+
requires_backends(self, ["torch", "transformers"])
|
460
|
+
|
461
|
+
@classmethod
|
462
|
+
def from_config(cls, *args, **kwargs):
|
463
|
+
requires_backends(cls, ["torch", "transformers"])
|
464
|
+
|
465
|
+
@classmethod
|
466
|
+
def from_pretrained(cls, *args, **kwargs):
|
467
|
+
requires_backends(cls, ["torch", "transformers"])
|
468
|
+
|
469
|
+
|
470
|
+
class FluxFillPipeline(metaclass=DummyObject):
|
471
|
+
_backends = ["torch", "transformers"]
|
472
|
+
|
473
|
+
def __init__(self, *args, **kwargs):
|
474
|
+
requires_backends(self, ["torch", "transformers"])
|
475
|
+
|
476
|
+
@classmethod
|
477
|
+
def from_config(cls, *args, **kwargs):
|
478
|
+
requires_backends(cls, ["torch", "transformers"])
|
479
|
+
|
480
|
+
@classmethod
|
481
|
+
def from_pretrained(cls, *args, **kwargs):
|
482
|
+
requires_backends(cls, ["torch", "transformers"])
|
483
|
+
|
484
|
+
|
485
|
+
class FluxImg2ImgPipeline(metaclass=DummyObject):
|
486
|
+
_backends = ["torch", "transformers"]
|
487
|
+
|
488
|
+
def __init__(self, *args, **kwargs):
|
489
|
+
requires_backends(self, ["torch", "transformers"])
|
490
|
+
|
491
|
+
@classmethod
|
492
|
+
def from_config(cls, *args, **kwargs):
|
493
|
+
requires_backends(cls, ["torch", "transformers"])
|
494
|
+
|
495
|
+
@classmethod
|
496
|
+
def from_pretrained(cls, *args, **kwargs):
|
497
|
+
requires_backends(cls, ["torch", "transformers"])
|
498
|
+
|
499
|
+
|
500
|
+
class FluxInpaintPipeline(metaclass=DummyObject):
|
501
|
+
_backends = ["torch", "transformers"]
|
502
|
+
|
503
|
+
def __init__(self, *args, **kwargs):
|
504
|
+
requires_backends(self, ["torch", "transformers"])
|
505
|
+
|
506
|
+
@classmethod
|
507
|
+
def from_config(cls, *args, **kwargs):
|
508
|
+
requires_backends(cls, ["torch", "transformers"])
|
509
|
+
|
510
|
+
@classmethod
|
511
|
+
def from_pretrained(cls, *args, **kwargs):
|
512
|
+
requires_backends(cls, ["torch", "transformers"])
|
513
|
+
|
514
|
+
|
515
|
+
class FluxPipeline(metaclass=DummyObject):
|
516
|
+
_backends = ["torch", "transformers"]
|
517
|
+
|
518
|
+
def __init__(self, *args, **kwargs):
|
519
|
+
requires_backends(self, ["torch", "transformers"])
|
520
|
+
|
521
|
+
@classmethod
|
522
|
+
def from_config(cls, *args, **kwargs):
|
523
|
+
requires_backends(cls, ["torch", "transformers"])
|
524
|
+
|
525
|
+
@classmethod
|
526
|
+
def from_pretrained(cls, *args, **kwargs):
|
527
|
+
requires_backends(cls, ["torch", "transformers"])
|
528
|
+
|
529
|
+
|
530
|
+
class FluxPriorReduxPipeline(metaclass=DummyObject):
|
531
|
+
_backends = ["torch", "transformers"]
|
532
|
+
|
533
|
+
def __init__(self, *args, **kwargs):
|
534
|
+
requires_backends(self, ["torch", "transformers"])
|
535
|
+
|
536
|
+
@classmethod
|
537
|
+
def from_config(cls, *args, **kwargs):
|
538
|
+
requires_backends(cls, ["torch", "transformers"])
|
539
|
+
|
540
|
+
@classmethod
|
541
|
+
def from_pretrained(cls, *args, **kwargs):
|
542
|
+
requires_backends(cls, ["torch", "transformers"])
|
543
|
+
|
544
|
+
|
545
|
+
class HunyuanDiTControlNetPipeline(metaclass=DummyObject):
|
546
|
+
_backends = ["torch", "transformers"]
|
547
|
+
|
548
|
+
def __init__(self, *args, **kwargs):
|
549
|
+
requires_backends(self, ["torch", "transformers"])
|
550
|
+
|
551
|
+
@classmethod
|
552
|
+
def from_config(cls, *args, **kwargs):
|
553
|
+
requires_backends(cls, ["torch", "transformers"])
|
554
|
+
|
555
|
+
@classmethod
|
556
|
+
def from_pretrained(cls, *args, **kwargs):
|
557
|
+
requires_backends(cls, ["torch", "transformers"])
|
558
|
+
|
559
|
+
|
560
|
+
class HunyuanDiTPAGPipeline(metaclass=DummyObject):
|
561
|
+
_backends = ["torch", "transformers"]
|
562
|
+
|
563
|
+
def __init__(self, *args, **kwargs):
|
564
|
+
requires_backends(self, ["torch", "transformers"])
|
565
|
+
|
566
|
+
@classmethod
|
567
|
+
def from_config(cls, *args, **kwargs):
|
568
|
+
requires_backends(cls, ["torch", "transformers"])
|
569
|
+
|
570
|
+
@classmethod
|
571
|
+
def from_pretrained(cls, *args, **kwargs):
|
572
|
+
requires_backends(cls, ["torch", "transformers"])
|
573
|
+
|
574
|
+
|
575
|
+
class HunyuanDiTPipeline(metaclass=DummyObject):
|
576
|
+
_backends = ["torch", "transformers"]
|
577
|
+
|
578
|
+
def __init__(self, *args, **kwargs):
|
579
|
+
requires_backends(self, ["torch", "transformers"])
|
580
|
+
|
581
|
+
@classmethod
|
582
|
+
def from_config(cls, *args, **kwargs):
|
583
|
+
requires_backends(cls, ["torch", "transformers"])
|
584
|
+
|
585
|
+
@classmethod
|
586
|
+
def from_pretrained(cls, *args, **kwargs):
|
587
|
+
requires_backends(cls, ["torch", "transformers"])
|
588
|
+
|
589
|
+
|
590
|
+
class HunyuanVideoPipeline(metaclass=DummyObject):
|
591
|
+
_backends = ["torch", "transformers"]
|
592
|
+
|
593
|
+
def __init__(self, *args, **kwargs):
|
594
|
+
requires_backends(self, ["torch", "transformers"])
|
595
|
+
|
596
|
+
@classmethod
|
597
|
+
def from_config(cls, *args, **kwargs):
|
598
|
+
requires_backends(cls, ["torch", "transformers"])
|
599
|
+
|
600
|
+
@classmethod
|
601
|
+
def from_pretrained(cls, *args, **kwargs):
|
602
|
+
requires_backends(cls, ["torch", "transformers"])
|
603
|
+
|
604
|
+
|
605
|
+
class I2VGenXLPipeline(metaclass=DummyObject):
|
606
|
+
_backends = ["torch", "transformers"]
|
607
|
+
|
608
|
+
def __init__(self, *args, **kwargs):
|
609
|
+
requires_backends(self, ["torch", "transformers"])
|
610
|
+
|
611
|
+
@classmethod
|
612
|
+
def from_config(cls, *args, **kwargs):
|
613
|
+
requires_backends(cls, ["torch", "transformers"])
|
614
|
+
|
615
|
+
@classmethod
|
616
|
+
def from_pretrained(cls, *args, **kwargs):
|
617
|
+
requires_backends(cls, ["torch", "transformers"])
|
618
|
+
|
619
|
+
|
620
|
+
class IFImg2ImgPipeline(metaclass=DummyObject):
|
621
|
+
_backends = ["torch", "transformers"]
|
622
|
+
|
623
|
+
def __init__(self, *args, **kwargs):
|
624
|
+
requires_backends(self, ["torch", "transformers"])
|
625
|
+
|
626
|
+
@classmethod
|
627
|
+
def from_config(cls, *args, **kwargs):
|
628
|
+
requires_backends(cls, ["torch", "transformers"])
|
629
|
+
|
630
|
+
@classmethod
|
631
|
+
def from_pretrained(cls, *args, **kwargs):
|
632
|
+
requires_backends(cls, ["torch", "transformers"])
|
633
|
+
|
634
|
+
|
635
|
+
class IFImg2ImgSuperResolutionPipeline(metaclass=DummyObject):
|
636
|
+
_backends = ["torch", "transformers"]
|
637
|
+
|
638
|
+
def __init__(self, *args, **kwargs):
|
639
|
+
requires_backends(self, ["torch", "transformers"])
|
640
|
+
|
641
|
+
@classmethod
|
642
|
+
def from_config(cls, *args, **kwargs):
|
643
|
+
requires_backends(cls, ["torch", "transformers"])
|
644
|
+
|
645
|
+
@classmethod
|
646
|
+
def from_pretrained(cls, *args, **kwargs):
|
647
|
+
requires_backends(cls, ["torch", "transformers"])
|
648
|
+
|
649
|
+
|
650
|
+
class IFInpaintingPipeline(metaclass=DummyObject):
|
651
|
+
_backends = ["torch", "transformers"]
|
652
|
+
|
653
|
+
def __init__(self, *args, **kwargs):
|
654
|
+
requires_backends(self, ["torch", "transformers"])
|
655
|
+
|
656
|
+
@classmethod
|
657
|
+
def from_config(cls, *args, **kwargs):
|
658
|
+
requires_backends(cls, ["torch", "transformers"])
|
659
|
+
|
660
|
+
@classmethod
|
661
|
+
def from_pretrained(cls, *args, **kwargs):
|
662
|
+
requires_backends(cls, ["torch", "transformers"])
|
663
|
+
|
664
|
+
|
665
|
+
class IFInpaintingSuperResolutionPipeline(metaclass=DummyObject):
|
666
|
+
_backends = ["torch", "transformers"]
|
667
|
+
|
668
|
+
def __init__(self, *args, **kwargs):
|
669
|
+
requires_backends(self, ["torch", "transformers"])
|
670
|
+
|
671
|
+
@classmethod
|
672
|
+
def from_config(cls, *args, **kwargs):
|
673
|
+
requires_backends(cls, ["torch", "transformers"])
|
674
|
+
|
675
|
+
@classmethod
|
676
|
+
def from_pretrained(cls, *args, **kwargs):
|
677
|
+
requires_backends(cls, ["torch", "transformers"])
|
678
|
+
|
679
|
+
|
680
|
+
class IFPipeline(metaclass=DummyObject):
|
681
|
+
_backends = ["torch", "transformers"]
|
682
|
+
|
683
|
+
def __init__(self, *args, **kwargs):
|
684
|
+
requires_backends(self, ["torch", "transformers"])
|
685
|
+
|
686
|
+
@classmethod
|
687
|
+
def from_config(cls, *args, **kwargs):
|
688
|
+
requires_backends(cls, ["torch", "transformers"])
|
689
|
+
|
690
|
+
@classmethod
|
691
|
+
def from_pretrained(cls, *args, **kwargs):
|
692
|
+
requires_backends(cls, ["torch", "transformers"])
|
693
|
+
|
694
|
+
|
695
|
+
class IFSuperResolutionPipeline(metaclass=DummyObject):
|
696
|
+
_backends = ["torch", "transformers"]
|
697
|
+
|
698
|
+
def __init__(self, *args, **kwargs):
|
699
|
+
requires_backends(self, ["torch", "transformers"])
|
700
|
+
|
701
|
+
@classmethod
|
702
|
+
def from_config(cls, *args, **kwargs):
|
703
|
+
requires_backends(cls, ["torch", "transformers"])
|
704
|
+
|
705
|
+
@classmethod
|
706
|
+
def from_pretrained(cls, *args, **kwargs):
|
707
|
+
requires_backends(cls, ["torch", "transformers"])
|
708
|
+
|
709
|
+
|
710
|
+
class ImageTextPipelineOutput(metaclass=DummyObject):
|
711
|
+
_backends = ["torch", "transformers"]
|
712
|
+
|
713
|
+
def __init__(self, *args, **kwargs):
|
714
|
+
requires_backends(self, ["torch", "transformers"])
|
715
|
+
|
716
|
+
@classmethod
|
717
|
+
def from_config(cls, *args, **kwargs):
|
718
|
+
requires_backends(cls, ["torch", "transformers"])
|
719
|
+
|
720
|
+
@classmethod
|
721
|
+
def from_pretrained(cls, *args, **kwargs):
|
722
|
+
requires_backends(cls, ["torch", "transformers"])
|
723
|
+
|
724
|
+
|
725
|
+
class Kandinsky3Img2ImgPipeline(metaclass=DummyObject):
|
726
|
+
_backends = ["torch", "transformers"]
|
727
|
+
|
728
|
+
def __init__(self, *args, **kwargs):
|
729
|
+
requires_backends(self, ["torch", "transformers"])
|
730
|
+
|
731
|
+
@classmethod
|
732
|
+
def from_config(cls, *args, **kwargs):
|
733
|
+
requires_backends(cls, ["torch", "transformers"])
|
734
|
+
|
735
|
+
@classmethod
|
736
|
+
def from_pretrained(cls, *args, **kwargs):
|
737
|
+
requires_backends(cls, ["torch", "transformers"])
|
738
|
+
|
739
|
+
|
740
|
+
class Kandinsky3Pipeline(metaclass=DummyObject):
|
741
|
+
_backends = ["torch", "transformers"]
|
742
|
+
|
743
|
+
def __init__(self, *args, **kwargs):
|
744
|
+
requires_backends(self, ["torch", "transformers"])
|
745
|
+
|
746
|
+
@classmethod
|
747
|
+
def from_config(cls, *args, **kwargs):
|
748
|
+
requires_backends(cls, ["torch", "transformers"])
|
749
|
+
|
750
|
+
@classmethod
|
751
|
+
def from_pretrained(cls, *args, **kwargs):
|
752
|
+
requires_backends(cls, ["torch", "transformers"])
|
753
|
+
|
754
|
+
|
755
|
+
class KandinskyCombinedPipeline(metaclass=DummyObject):
|
756
|
+
_backends = ["torch", "transformers"]
|
757
|
+
|
758
|
+
def __init__(self, *args, **kwargs):
|
759
|
+
requires_backends(self, ["torch", "transformers"])
|
760
|
+
|
761
|
+
@classmethod
|
762
|
+
def from_config(cls, *args, **kwargs):
|
763
|
+
requires_backends(cls, ["torch", "transformers"])
|
764
|
+
|
765
|
+
@classmethod
|
766
|
+
def from_pretrained(cls, *args, **kwargs):
|
767
|
+
requires_backends(cls, ["torch", "transformers"])
|
768
|
+
|
769
|
+
|
770
|
+
class KandinskyImg2ImgCombinedPipeline(metaclass=DummyObject):
|
771
|
+
_backends = ["torch", "transformers"]
|
772
|
+
|
773
|
+
def __init__(self, *args, **kwargs):
|
774
|
+
requires_backends(self, ["torch", "transformers"])
|
775
|
+
|
776
|
+
@classmethod
|
777
|
+
def from_config(cls, *args, **kwargs):
|
778
|
+
requires_backends(cls, ["torch", "transformers"])
|
779
|
+
|
780
|
+
@classmethod
|
781
|
+
def from_pretrained(cls, *args, **kwargs):
|
782
|
+
requires_backends(cls, ["torch", "transformers"])
|
783
|
+
|
784
|
+
|
785
|
+
class KandinskyImg2ImgPipeline(metaclass=DummyObject):
|
786
|
+
_backends = ["torch", "transformers"]
|
787
|
+
|
788
|
+
def __init__(self, *args, **kwargs):
|
789
|
+
requires_backends(self, ["torch", "transformers"])
|
790
|
+
|
791
|
+
@classmethod
|
792
|
+
def from_config(cls, *args, **kwargs):
|
793
|
+
requires_backends(cls, ["torch", "transformers"])
|
794
|
+
|
795
|
+
@classmethod
|
796
|
+
def from_pretrained(cls, *args, **kwargs):
|
797
|
+
requires_backends(cls, ["torch", "transformers"])
|
798
|
+
|
799
|
+
|
800
|
+
class KandinskyInpaintCombinedPipeline(metaclass=DummyObject):
|
801
|
+
_backends = ["torch", "transformers"]
|
802
|
+
|
803
|
+
def __init__(self, *args, **kwargs):
|
804
|
+
requires_backends(self, ["torch", "transformers"])
|
805
|
+
|
806
|
+
@classmethod
|
807
|
+
def from_config(cls, *args, **kwargs):
|
808
|
+
requires_backends(cls, ["torch", "transformers"])
|
809
|
+
|
810
|
+
@classmethod
|
811
|
+
def from_pretrained(cls, *args, **kwargs):
|
812
|
+
requires_backends(cls, ["torch", "transformers"])
|
813
|
+
|
814
|
+
|
815
|
+
class KandinskyInpaintPipeline(metaclass=DummyObject):
|
21
816
|
_backends = ["torch", "transformers"]
|
22
817
|
|
23
818
|
def __init__(self, *args, **kwargs):
|
@@ -32,7 +827,7 @@ class AltDiffusionPipeline(metaclass=DummyObject):
|
|
32
827
|
requires_backends(cls, ["torch", "transformers"])
|
33
828
|
|
34
829
|
|
35
|
-
class
|
830
|
+
class KandinskyPipeline(metaclass=DummyObject):
|
36
831
|
_backends = ["torch", "transformers"]
|
37
832
|
|
38
833
|
def __init__(self, *args, **kwargs):
|
@@ -47,7 +842,7 @@ class AmusedImg2ImgPipeline(metaclass=DummyObject):
|
|
47
842
|
requires_backends(cls, ["torch", "transformers"])
|
48
843
|
|
49
844
|
|
50
|
-
class
|
845
|
+
class KandinskyPriorPipeline(metaclass=DummyObject):
|
51
846
|
_backends = ["torch", "transformers"]
|
52
847
|
|
53
848
|
def __init__(self, *args, **kwargs):
|
@@ -62,7 +857,7 @@ class AmusedInpaintPipeline(metaclass=DummyObject):
|
|
62
857
|
requires_backends(cls, ["torch", "transformers"])
|
63
858
|
|
64
859
|
|
65
|
-
class
|
860
|
+
class KandinskyV22CombinedPipeline(metaclass=DummyObject):
|
66
861
|
_backends = ["torch", "transformers"]
|
67
862
|
|
68
863
|
def __init__(self, *args, **kwargs):
|
@@ -77,7 +872,7 @@ class AmusedPipeline(metaclass=DummyObject):
|
|
77
872
|
requires_backends(cls, ["torch", "transformers"])
|
78
873
|
|
79
874
|
|
80
|
-
class
|
875
|
+
class KandinskyV22ControlnetImg2ImgPipeline(metaclass=DummyObject):
|
81
876
|
_backends = ["torch", "transformers"]
|
82
877
|
|
83
878
|
def __init__(self, *args, **kwargs):
|
@@ -92,7 +887,7 @@ class AnimateDiffPipeline(metaclass=DummyObject):
|
|
92
887
|
requires_backends(cls, ["torch", "transformers"])
|
93
888
|
|
94
889
|
|
95
|
-
class
|
890
|
+
class KandinskyV22ControlnetPipeline(metaclass=DummyObject):
|
96
891
|
_backends = ["torch", "transformers"]
|
97
892
|
|
98
893
|
def __init__(self, *args, **kwargs):
|
@@ -107,7 +902,7 @@ class AnimateDiffVideoToVideoPipeline(metaclass=DummyObject):
|
|
107
902
|
requires_backends(cls, ["torch", "transformers"])
|
108
903
|
|
109
904
|
|
110
|
-
class
|
905
|
+
class KandinskyV22Img2ImgCombinedPipeline(metaclass=DummyObject):
|
111
906
|
_backends = ["torch", "transformers"]
|
112
907
|
|
113
908
|
def __init__(self, *args, **kwargs):
|
@@ -122,7 +917,7 @@ class AudioLDM2Pipeline(metaclass=DummyObject):
|
|
122
917
|
requires_backends(cls, ["torch", "transformers"])
|
123
918
|
|
124
919
|
|
125
|
-
class
|
920
|
+
class KandinskyV22Img2ImgPipeline(metaclass=DummyObject):
|
126
921
|
_backends = ["torch", "transformers"]
|
127
922
|
|
128
923
|
def __init__(self, *args, **kwargs):
|
@@ -137,7 +932,7 @@ class AudioLDM2ProjectionModel(metaclass=DummyObject):
|
|
137
932
|
requires_backends(cls, ["torch", "transformers"])
|
138
933
|
|
139
934
|
|
140
|
-
class
|
935
|
+
class KandinskyV22InpaintCombinedPipeline(metaclass=DummyObject):
|
141
936
|
_backends = ["torch", "transformers"]
|
142
937
|
|
143
938
|
def __init__(self, *args, **kwargs):
|
@@ -152,7 +947,7 @@ class AudioLDM2UNet2DConditionModel(metaclass=DummyObject):
|
|
152
947
|
requires_backends(cls, ["torch", "transformers"])
|
153
948
|
|
154
949
|
|
155
|
-
class
|
950
|
+
class KandinskyV22InpaintPipeline(metaclass=DummyObject):
|
156
951
|
_backends = ["torch", "transformers"]
|
157
952
|
|
158
953
|
def __init__(self, *args, **kwargs):
|
@@ -167,7 +962,7 @@ class AudioLDMPipeline(metaclass=DummyObject):
|
|
167
962
|
requires_backends(cls, ["torch", "transformers"])
|
168
963
|
|
169
964
|
|
170
|
-
class
|
965
|
+
class KandinskyV22Pipeline(metaclass=DummyObject):
|
171
966
|
_backends = ["torch", "transformers"]
|
172
967
|
|
173
968
|
def __init__(self, *args, **kwargs):
|
@@ -182,7 +977,7 @@ class CLIPImageProjection(metaclass=DummyObject):
|
|
182
977
|
requires_backends(cls, ["torch", "transformers"])
|
183
978
|
|
184
979
|
|
185
|
-
class
|
980
|
+
class KandinskyV22PriorEmb2EmbPipeline(metaclass=DummyObject):
|
186
981
|
_backends = ["torch", "transformers"]
|
187
982
|
|
188
983
|
def __init__(self, *args, **kwargs):
|
@@ -197,7 +992,7 @@ class CycleDiffusionPipeline(metaclass=DummyObject):
|
|
197
992
|
requires_backends(cls, ["torch", "transformers"])
|
198
993
|
|
199
994
|
|
200
|
-
class
|
995
|
+
class KandinskyV22PriorPipeline(metaclass=DummyObject):
|
201
996
|
_backends = ["torch", "transformers"]
|
202
997
|
|
203
998
|
def __init__(self, *args, **kwargs):
|
@@ -212,7 +1007,7 @@ class I2VGenXLPipeline(metaclass=DummyObject):
|
|
212
1007
|
requires_backends(cls, ["torch", "transformers"])
|
213
1008
|
|
214
1009
|
|
215
|
-
class
|
1010
|
+
class LatentConsistencyModelImg2ImgPipeline(metaclass=DummyObject):
|
216
1011
|
_backends = ["torch", "transformers"]
|
217
1012
|
|
218
1013
|
def __init__(self, *args, **kwargs):
|
@@ -227,7 +1022,7 @@ class IFImg2ImgPipeline(metaclass=DummyObject):
|
|
227
1022
|
requires_backends(cls, ["torch", "transformers"])
|
228
1023
|
|
229
1024
|
|
230
|
-
class
|
1025
|
+
class LatentConsistencyModelPipeline(metaclass=DummyObject):
|
231
1026
|
_backends = ["torch", "transformers"]
|
232
1027
|
|
233
1028
|
def __init__(self, *args, **kwargs):
|
@@ -242,7 +1037,7 @@ class IFImg2ImgSuperResolutionPipeline(metaclass=DummyObject):
|
|
242
1037
|
requires_backends(cls, ["torch", "transformers"])
|
243
1038
|
|
244
1039
|
|
245
|
-
class
|
1040
|
+
class LattePipeline(metaclass=DummyObject):
|
246
1041
|
_backends = ["torch", "transformers"]
|
247
1042
|
|
248
1043
|
def __init__(self, *args, **kwargs):
|
@@ -257,7 +1052,7 @@ class IFInpaintingPipeline(metaclass=DummyObject):
|
|
257
1052
|
requires_backends(cls, ["torch", "transformers"])
|
258
1053
|
|
259
1054
|
|
260
|
-
class
|
1055
|
+
class LDMTextToImagePipeline(metaclass=DummyObject):
|
261
1056
|
_backends = ["torch", "transformers"]
|
262
1057
|
|
263
1058
|
def __init__(self, *args, **kwargs):
|
@@ -272,7 +1067,7 @@ class IFInpaintingSuperResolutionPipeline(metaclass=DummyObject):
|
|
272
1067
|
requires_backends(cls, ["torch", "transformers"])
|
273
1068
|
|
274
1069
|
|
275
|
-
class
|
1070
|
+
class LEditsPPPipelineStableDiffusion(metaclass=DummyObject):
|
276
1071
|
_backends = ["torch", "transformers"]
|
277
1072
|
|
278
1073
|
def __init__(self, *args, **kwargs):
|
@@ -287,7 +1082,7 @@ class IFPipeline(metaclass=DummyObject):
|
|
287
1082
|
requires_backends(cls, ["torch", "transformers"])
|
288
1083
|
|
289
1084
|
|
290
|
-
class
|
1085
|
+
class LEditsPPPipelineStableDiffusionXL(metaclass=DummyObject):
|
291
1086
|
_backends = ["torch", "transformers"]
|
292
1087
|
|
293
1088
|
def __init__(self, *args, **kwargs):
|
@@ -302,7 +1097,7 @@ class IFSuperResolutionPipeline(metaclass=DummyObject):
|
|
302
1097
|
requires_backends(cls, ["torch", "transformers"])
|
303
1098
|
|
304
1099
|
|
305
|
-
class
|
1100
|
+
class LTXImageToVideoPipeline(metaclass=DummyObject):
|
306
1101
|
_backends = ["torch", "transformers"]
|
307
1102
|
|
308
1103
|
def __init__(self, *args, **kwargs):
|
@@ -317,7 +1112,7 @@ class ImageTextPipelineOutput(metaclass=DummyObject):
|
|
317
1112
|
requires_backends(cls, ["torch", "transformers"])
|
318
1113
|
|
319
1114
|
|
320
|
-
class
|
1115
|
+
class LTXPipeline(metaclass=DummyObject):
|
321
1116
|
_backends = ["torch", "transformers"]
|
322
1117
|
|
323
1118
|
def __init__(self, *args, **kwargs):
|
@@ -332,7 +1127,7 @@ class Kandinsky3Img2ImgPipeline(metaclass=DummyObject):
|
|
332
1127
|
requires_backends(cls, ["torch", "transformers"])
|
333
1128
|
|
334
1129
|
|
335
|
-
class
|
1130
|
+
class LuminaText2ImgPipeline(metaclass=DummyObject):
|
336
1131
|
_backends = ["torch", "transformers"]
|
337
1132
|
|
338
1133
|
def __init__(self, *args, **kwargs):
|
@@ -347,7 +1142,7 @@ class Kandinsky3Pipeline(metaclass=DummyObject):
|
|
347
1142
|
requires_backends(cls, ["torch", "transformers"])
|
348
1143
|
|
349
1144
|
|
350
|
-
class
|
1145
|
+
class MarigoldDepthPipeline(metaclass=DummyObject):
|
351
1146
|
_backends = ["torch", "transformers"]
|
352
1147
|
|
353
1148
|
def __init__(self, *args, **kwargs):
|
@@ -362,7 +1157,7 @@ class KandinskyCombinedPipeline(metaclass=DummyObject):
|
|
362
1157
|
requires_backends(cls, ["torch", "transformers"])
|
363
1158
|
|
364
1159
|
|
365
|
-
class
|
1160
|
+
class MarigoldNormalsPipeline(metaclass=DummyObject):
|
366
1161
|
_backends = ["torch", "transformers"]
|
367
1162
|
|
368
1163
|
def __init__(self, *args, **kwargs):
|
@@ -377,7 +1172,7 @@ class KandinskyImg2ImgCombinedPipeline(metaclass=DummyObject):
|
|
377
1172
|
requires_backends(cls, ["torch", "transformers"])
|
378
1173
|
|
379
1174
|
|
380
|
-
class
|
1175
|
+
class MochiPipeline(metaclass=DummyObject):
|
381
1176
|
_backends = ["torch", "transformers"]
|
382
1177
|
|
383
1178
|
def __init__(self, *args, **kwargs):
|
@@ -392,7 +1187,7 @@ class KandinskyImg2ImgPipeline(metaclass=DummyObject):
|
|
392
1187
|
requires_backends(cls, ["torch", "transformers"])
|
393
1188
|
|
394
1189
|
|
395
|
-
class
|
1190
|
+
class MusicLDMPipeline(metaclass=DummyObject):
|
396
1191
|
_backends = ["torch", "transformers"]
|
397
1192
|
|
398
1193
|
def __init__(self, *args, **kwargs):
|
@@ -407,7 +1202,7 @@ class KandinskyInpaintCombinedPipeline(metaclass=DummyObject):
|
|
407
1202
|
requires_backends(cls, ["torch", "transformers"])
|
408
1203
|
|
409
1204
|
|
410
|
-
class
|
1205
|
+
class PaintByExamplePipeline(metaclass=DummyObject):
|
411
1206
|
_backends = ["torch", "transformers"]
|
412
1207
|
|
413
1208
|
def __init__(self, *args, **kwargs):
|
@@ -422,7 +1217,7 @@ class KandinskyInpaintPipeline(metaclass=DummyObject):
|
|
422
1217
|
requires_backends(cls, ["torch", "transformers"])
|
423
1218
|
|
424
1219
|
|
425
|
-
class
|
1220
|
+
class PIAPipeline(metaclass=DummyObject):
|
426
1221
|
_backends = ["torch", "transformers"]
|
427
1222
|
|
428
1223
|
def __init__(self, *args, **kwargs):
|
@@ -437,7 +1232,7 @@ class KandinskyPipeline(metaclass=DummyObject):
|
|
437
1232
|
requires_backends(cls, ["torch", "transformers"])
|
438
1233
|
|
439
1234
|
|
440
|
-
class
|
1235
|
+
class PixArtAlphaPipeline(metaclass=DummyObject):
|
441
1236
|
_backends = ["torch", "transformers"]
|
442
1237
|
|
443
1238
|
def __init__(self, *args, **kwargs):
|
@@ -452,7 +1247,7 @@ class KandinskyPriorPipeline(metaclass=DummyObject):
|
|
452
1247
|
requires_backends(cls, ["torch", "transformers"])
|
453
1248
|
|
454
1249
|
|
455
|
-
class
|
1250
|
+
class PixArtSigmaPAGPipeline(metaclass=DummyObject):
|
456
1251
|
_backends = ["torch", "transformers"]
|
457
1252
|
|
458
1253
|
def __init__(self, *args, **kwargs):
|
@@ -467,7 +1262,7 @@ class KandinskyV22CombinedPipeline(metaclass=DummyObject):
|
|
467
1262
|
requires_backends(cls, ["torch", "transformers"])
|
468
1263
|
|
469
1264
|
|
470
|
-
class
|
1265
|
+
class PixArtSigmaPipeline(metaclass=DummyObject):
|
471
1266
|
_backends = ["torch", "transformers"]
|
472
1267
|
|
473
1268
|
def __init__(self, *args, **kwargs):
|
@@ -482,7 +1277,7 @@ class KandinskyV22ControlnetImg2ImgPipeline(metaclass=DummyObject):
|
|
482
1277
|
requires_backends(cls, ["torch", "transformers"])
|
483
1278
|
|
484
1279
|
|
485
|
-
class
|
1280
|
+
class ReduxImageEncoder(metaclass=DummyObject):
|
486
1281
|
_backends = ["torch", "transformers"]
|
487
1282
|
|
488
1283
|
def __init__(self, *args, **kwargs):
|
@@ -497,7 +1292,7 @@ class KandinskyV22ControlnetPipeline(metaclass=DummyObject):
|
|
497
1292
|
requires_backends(cls, ["torch", "transformers"])
|
498
1293
|
|
499
1294
|
|
500
|
-
class
|
1295
|
+
class SanaPAGPipeline(metaclass=DummyObject):
|
501
1296
|
_backends = ["torch", "transformers"]
|
502
1297
|
|
503
1298
|
def __init__(self, *args, **kwargs):
|
@@ -512,7 +1307,7 @@ class KandinskyV22Img2ImgCombinedPipeline(metaclass=DummyObject):
|
|
512
1307
|
requires_backends(cls, ["torch", "transformers"])
|
513
1308
|
|
514
1309
|
|
515
|
-
class
|
1310
|
+
class SanaPipeline(metaclass=DummyObject):
|
516
1311
|
_backends = ["torch", "transformers"]
|
517
1312
|
|
518
1313
|
def __init__(self, *args, **kwargs):
|
@@ -527,7 +1322,7 @@ class KandinskyV22Img2ImgPipeline(metaclass=DummyObject):
|
|
527
1322
|
requires_backends(cls, ["torch", "transformers"])
|
528
1323
|
|
529
1324
|
|
530
|
-
class
|
1325
|
+
class SemanticStableDiffusionPipeline(metaclass=DummyObject):
|
531
1326
|
_backends = ["torch", "transformers"]
|
532
1327
|
|
533
1328
|
def __init__(self, *args, **kwargs):
|
@@ -542,7 +1337,7 @@ class KandinskyV22InpaintCombinedPipeline(metaclass=DummyObject):
|
|
542
1337
|
requires_backends(cls, ["torch", "transformers"])
|
543
1338
|
|
544
1339
|
|
545
|
-
class
|
1340
|
+
class ShapEImg2ImgPipeline(metaclass=DummyObject):
|
546
1341
|
_backends = ["torch", "transformers"]
|
547
1342
|
|
548
1343
|
def __init__(self, *args, **kwargs):
|
@@ -557,7 +1352,7 @@ class KandinskyV22InpaintPipeline(metaclass=DummyObject):
|
|
557
1352
|
requires_backends(cls, ["torch", "transformers"])
|
558
1353
|
|
559
1354
|
|
560
|
-
class
|
1355
|
+
class ShapEPipeline(metaclass=DummyObject):
|
561
1356
|
_backends = ["torch", "transformers"]
|
562
1357
|
|
563
1358
|
def __init__(self, *args, **kwargs):
|
@@ -572,7 +1367,7 @@ class KandinskyV22Pipeline(metaclass=DummyObject):
|
|
572
1367
|
requires_backends(cls, ["torch", "transformers"])
|
573
1368
|
|
574
1369
|
|
575
|
-
class
|
1370
|
+
class StableAudioPipeline(metaclass=DummyObject):
|
576
1371
|
_backends = ["torch", "transformers"]
|
577
1372
|
|
578
1373
|
def __init__(self, *args, **kwargs):
|
@@ -587,7 +1382,7 @@ class KandinskyV22PriorEmb2EmbPipeline(metaclass=DummyObject):
|
|
587
1382
|
requires_backends(cls, ["torch", "transformers"])
|
588
1383
|
|
589
1384
|
|
590
|
-
class
|
1385
|
+
class StableAudioProjectionModel(metaclass=DummyObject):
|
591
1386
|
_backends = ["torch", "transformers"]
|
592
1387
|
|
593
1388
|
def __init__(self, *args, **kwargs):
|
@@ -602,7 +1397,7 @@ class KandinskyV22PriorPipeline(metaclass=DummyObject):
|
|
602
1397
|
requires_backends(cls, ["torch", "transformers"])
|
603
1398
|
|
604
1399
|
|
605
|
-
class
|
1400
|
+
class StableCascadeCombinedPipeline(metaclass=DummyObject):
|
606
1401
|
_backends = ["torch", "transformers"]
|
607
1402
|
|
608
1403
|
def __init__(self, *args, **kwargs):
|
@@ -617,7 +1412,7 @@ class LatentConsistencyModelImg2ImgPipeline(metaclass=DummyObject):
|
|
617
1412
|
requires_backends(cls, ["torch", "transformers"])
|
618
1413
|
|
619
1414
|
|
620
|
-
class
|
1415
|
+
class StableCascadeDecoderPipeline(metaclass=DummyObject):
|
621
1416
|
_backends = ["torch", "transformers"]
|
622
1417
|
|
623
1418
|
def __init__(self, *args, **kwargs):
|
@@ -632,7 +1427,7 @@ class LatentConsistencyModelPipeline(metaclass=DummyObject):
|
|
632
1427
|
requires_backends(cls, ["torch", "transformers"])
|
633
1428
|
|
634
1429
|
|
635
|
-
class
|
1430
|
+
class StableCascadePriorPipeline(metaclass=DummyObject):
|
636
1431
|
_backends = ["torch", "transformers"]
|
637
1432
|
|
638
1433
|
def __init__(self, *args, **kwargs):
|
@@ -647,7 +1442,7 @@ class LDMTextToImagePipeline(metaclass=DummyObject):
|
|
647
1442
|
requires_backends(cls, ["torch", "transformers"])
|
648
1443
|
|
649
1444
|
|
650
|
-
class
|
1445
|
+
class StableDiffusion3ControlNetPipeline(metaclass=DummyObject):
|
651
1446
|
_backends = ["torch", "transformers"]
|
652
1447
|
|
653
1448
|
def __init__(self, *args, **kwargs):
|
@@ -662,7 +1457,7 @@ class LEditsPPPipelineStableDiffusion(metaclass=DummyObject):
|
|
662
1457
|
requires_backends(cls, ["torch", "transformers"])
|
663
1458
|
|
664
1459
|
|
665
|
-
class
|
1460
|
+
class StableDiffusion3Img2ImgPipeline(metaclass=DummyObject):
|
666
1461
|
_backends = ["torch", "transformers"]
|
667
1462
|
|
668
1463
|
def __init__(self, *args, **kwargs):
|
@@ -677,7 +1472,7 @@ class LEditsPPPipelineStableDiffusionXL(metaclass=DummyObject):
|
|
677
1472
|
requires_backends(cls, ["torch", "transformers"])
|
678
1473
|
|
679
1474
|
|
680
|
-
class
|
1475
|
+
class StableDiffusion3InpaintPipeline(metaclass=DummyObject):
|
681
1476
|
_backends = ["torch", "transformers"]
|
682
1477
|
|
683
1478
|
def __init__(self, *args, **kwargs):
|
@@ -692,7 +1487,7 @@ class MusicLDMPipeline(metaclass=DummyObject):
|
|
692
1487
|
requires_backends(cls, ["torch", "transformers"])
|
693
1488
|
|
694
1489
|
|
695
|
-
class
|
1490
|
+
class StableDiffusion3PAGImg2ImgPipeline(metaclass=DummyObject):
|
696
1491
|
_backends = ["torch", "transformers"]
|
697
1492
|
|
698
1493
|
def __init__(self, *args, **kwargs):
|
@@ -707,7 +1502,7 @@ class PaintByExamplePipeline(metaclass=DummyObject):
|
|
707
1502
|
requires_backends(cls, ["torch", "transformers"])
|
708
1503
|
|
709
1504
|
|
710
|
-
class
|
1505
|
+
class StableDiffusion3PAGPipeline(metaclass=DummyObject):
|
711
1506
|
_backends = ["torch", "transformers"]
|
712
1507
|
|
713
1508
|
def __init__(self, *args, **kwargs):
|
@@ -722,7 +1517,7 @@ class PIAPipeline(metaclass=DummyObject):
|
|
722
1517
|
requires_backends(cls, ["torch", "transformers"])
|
723
1518
|
|
724
1519
|
|
725
|
-
class
|
1520
|
+
class StableDiffusion3Pipeline(metaclass=DummyObject):
|
726
1521
|
_backends = ["torch", "transformers"]
|
727
1522
|
|
728
1523
|
def __init__(self, *args, **kwargs):
|
@@ -737,7 +1532,7 @@ class PixArtAlphaPipeline(metaclass=DummyObject):
|
|
737
1532
|
requires_backends(cls, ["torch", "transformers"])
|
738
1533
|
|
739
1534
|
|
740
|
-
class
|
1535
|
+
class StableDiffusionAdapterPipeline(metaclass=DummyObject):
|
741
1536
|
_backends = ["torch", "transformers"]
|
742
1537
|
|
743
1538
|
def __init__(self, *args, **kwargs):
|
@@ -752,7 +1547,7 @@ class SemanticStableDiffusionPipeline(metaclass=DummyObject):
|
|
752
1547
|
requires_backends(cls, ["torch", "transformers"])
|
753
1548
|
|
754
1549
|
|
755
|
-
class
|
1550
|
+
class StableDiffusionAttendAndExcitePipeline(metaclass=DummyObject):
|
756
1551
|
_backends = ["torch", "transformers"]
|
757
1552
|
|
758
1553
|
def __init__(self, *args, **kwargs):
|
@@ -767,7 +1562,7 @@ class ShapEImg2ImgPipeline(metaclass=DummyObject):
|
|
767
1562
|
requires_backends(cls, ["torch", "transformers"])
|
768
1563
|
|
769
1564
|
|
770
|
-
class
|
1565
|
+
class StableDiffusionControlNetImg2ImgPipeline(metaclass=DummyObject):
|
771
1566
|
_backends = ["torch", "transformers"]
|
772
1567
|
|
773
1568
|
def __init__(self, *args, **kwargs):
|
@@ -782,7 +1577,7 @@ class ShapEPipeline(metaclass=DummyObject):
|
|
782
1577
|
requires_backends(cls, ["torch", "transformers"])
|
783
1578
|
|
784
1579
|
|
785
|
-
class
|
1580
|
+
class StableDiffusionControlNetInpaintPipeline(metaclass=DummyObject):
|
786
1581
|
_backends = ["torch", "transformers"]
|
787
1582
|
|
788
1583
|
def __init__(self, *args, **kwargs):
|
@@ -797,7 +1592,7 @@ class StableCascadeCombinedPipeline(metaclass=DummyObject):
|
|
797
1592
|
requires_backends(cls, ["torch", "transformers"])
|
798
1593
|
|
799
1594
|
|
800
|
-
class
|
1595
|
+
class StableDiffusionControlNetPAGInpaintPipeline(metaclass=DummyObject):
|
801
1596
|
_backends = ["torch", "transformers"]
|
802
1597
|
|
803
1598
|
def __init__(self, *args, **kwargs):
|
@@ -812,7 +1607,7 @@ class StableCascadeDecoderPipeline(metaclass=DummyObject):
|
|
812
1607
|
requires_backends(cls, ["torch", "transformers"])
|
813
1608
|
|
814
1609
|
|
815
|
-
class
|
1610
|
+
class StableDiffusionControlNetPAGPipeline(metaclass=DummyObject):
|
816
1611
|
_backends = ["torch", "transformers"]
|
817
1612
|
|
818
1613
|
def __init__(self, *args, **kwargs):
|
@@ -827,7 +1622,7 @@ class StableCascadePriorPipeline(metaclass=DummyObject):
|
|
827
1622
|
requires_backends(cls, ["torch", "transformers"])
|
828
1623
|
|
829
1624
|
|
830
|
-
class
|
1625
|
+
class StableDiffusionControlNetPipeline(metaclass=DummyObject):
|
831
1626
|
_backends = ["torch", "transformers"]
|
832
1627
|
|
833
1628
|
def __init__(self, *args, **kwargs):
|
@@ -842,7 +1637,7 @@ class StableDiffusionAdapterPipeline(metaclass=DummyObject):
|
|
842
1637
|
requires_backends(cls, ["torch", "transformers"])
|
843
1638
|
|
844
1639
|
|
845
|
-
class
|
1640
|
+
class StableDiffusionControlNetXSPipeline(metaclass=DummyObject):
|
846
1641
|
_backends = ["torch", "transformers"]
|
847
1642
|
|
848
1643
|
def __init__(self, *args, **kwargs):
|
@@ -857,7 +1652,7 @@ class StableDiffusionAttendAndExcitePipeline(metaclass=DummyObject):
|
|
857
1652
|
requires_backends(cls, ["torch", "transformers"])
|
858
1653
|
|
859
1654
|
|
860
|
-
class
|
1655
|
+
class StableDiffusionDepth2ImgPipeline(metaclass=DummyObject):
|
861
1656
|
_backends = ["torch", "transformers"]
|
862
1657
|
|
863
1658
|
def __init__(self, *args, **kwargs):
|
@@ -872,7 +1667,7 @@ class StableDiffusionControlNetImg2ImgPipeline(metaclass=DummyObject):
|
|
872
1667
|
requires_backends(cls, ["torch", "transformers"])
|
873
1668
|
|
874
1669
|
|
875
|
-
class
|
1670
|
+
class StableDiffusionDiffEditPipeline(metaclass=DummyObject):
|
876
1671
|
_backends = ["torch", "transformers"]
|
877
1672
|
|
878
1673
|
def __init__(self, *args, **kwargs):
|
@@ -887,7 +1682,7 @@ class StableDiffusionControlNetInpaintPipeline(metaclass=DummyObject):
|
|
887
1682
|
requires_backends(cls, ["torch", "transformers"])
|
888
1683
|
|
889
1684
|
|
890
|
-
class
|
1685
|
+
class StableDiffusionGLIGENPipeline(metaclass=DummyObject):
|
891
1686
|
_backends = ["torch", "transformers"]
|
892
1687
|
|
893
1688
|
def __init__(self, *args, **kwargs):
|
@@ -902,7 +1697,7 @@ class StableDiffusionControlNetPipeline(metaclass=DummyObject):
|
|
902
1697
|
requires_backends(cls, ["torch", "transformers"])
|
903
1698
|
|
904
1699
|
|
905
|
-
class
|
1700
|
+
class StableDiffusionGLIGENTextImagePipeline(metaclass=DummyObject):
|
906
1701
|
_backends = ["torch", "transformers"]
|
907
1702
|
|
908
1703
|
def __init__(self, *args, **kwargs):
|
@@ -917,7 +1712,7 @@ class StableDiffusionDepth2ImgPipeline(metaclass=DummyObject):
|
|
917
1712
|
requires_backends(cls, ["torch", "transformers"])
|
918
1713
|
|
919
1714
|
|
920
|
-
class
|
1715
|
+
class StableDiffusionImageVariationPipeline(metaclass=DummyObject):
|
921
1716
|
_backends = ["torch", "transformers"]
|
922
1717
|
|
923
1718
|
def __init__(self, *args, **kwargs):
|
@@ -932,7 +1727,7 @@ class StableDiffusionDiffEditPipeline(metaclass=DummyObject):
|
|
932
1727
|
requires_backends(cls, ["torch", "transformers"])
|
933
1728
|
|
934
1729
|
|
935
|
-
class
|
1730
|
+
class StableDiffusionImg2ImgPipeline(metaclass=DummyObject):
|
936
1731
|
_backends = ["torch", "transformers"]
|
937
1732
|
|
938
1733
|
def __init__(self, *args, **kwargs):
|
@@ -947,7 +1742,7 @@ class StableDiffusionGLIGENPipeline(metaclass=DummyObject):
|
|
947
1742
|
requires_backends(cls, ["torch", "transformers"])
|
948
1743
|
|
949
1744
|
|
950
|
-
class
|
1745
|
+
class StableDiffusionInpaintPipeline(metaclass=DummyObject):
|
951
1746
|
_backends = ["torch", "transformers"]
|
952
1747
|
|
953
1748
|
def __init__(self, *args, **kwargs):
|
@@ -962,7 +1757,7 @@ class StableDiffusionGLIGENTextImagePipeline(metaclass=DummyObject):
|
|
962
1757
|
requires_backends(cls, ["torch", "transformers"])
|
963
1758
|
|
964
1759
|
|
965
|
-
class
|
1760
|
+
class StableDiffusionInpaintPipelineLegacy(metaclass=DummyObject):
|
966
1761
|
_backends = ["torch", "transformers"]
|
967
1762
|
|
968
1763
|
def __init__(self, *args, **kwargs):
|
@@ -977,7 +1772,7 @@ class StableDiffusionImageVariationPipeline(metaclass=DummyObject):
|
|
977
1772
|
requires_backends(cls, ["torch", "transformers"])
|
978
1773
|
|
979
1774
|
|
980
|
-
class
|
1775
|
+
class StableDiffusionInstructPix2PixPipeline(metaclass=DummyObject):
|
981
1776
|
_backends = ["torch", "transformers"]
|
982
1777
|
|
983
1778
|
def __init__(self, *args, **kwargs):
|
@@ -992,7 +1787,7 @@ class StableDiffusionImg2ImgPipeline(metaclass=DummyObject):
|
|
992
1787
|
requires_backends(cls, ["torch", "transformers"])
|
993
1788
|
|
994
1789
|
|
995
|
-
class
|
1790
|
+
class StableDiffusionLatentUpscalePipeline(metaclass=DummyObject):
|
996
1791
|
_backends = ["torch", "transformers"]
|
997
1792
|
|
998
1793
|
def __init__(self, *args, **kwargs):
|
@@ -1007,7 +1802,7 @@ class StableDiffusionInpaintPipeline(metaclass=DummyObject):
|
|
1007
1802
|
requires_backends(cls, ["torch", "transformers"])
|
1008
1803
|
|
1009
1804
|
|
1010
|
-
class
|
1805
|
+
class StableDiffusionLDM3DPipeline(metaclass=DummyObject):
|
1011
1806
|
_backends = ["torch", "transformers"]
|
1012
1807
|
|
1013
1808
|
def __init__(self, *args, **kwargs):
|
@@ -1022,7 +1817,7 @@ class StableDiffusionInpaintPipelineLegacy(metaclass=DummyObject):
|
|
1022
1817
|
requires_backends(cls, ["torch", "transformers"])
|
1023
1818
|
|
1024
1819
|
|
1025
|
-
class
|
1820
|
+
class StableDiffusionModelEditingPipeline(metaclass=DummyObject):
|
1026
1821
|
_backends = ["torch", "transformers"]
|
1027
1822
|
|
1028
1823
|
def __init__(self, *args, **kwargs):
|
@@ -1037,7 +1832,7 @@ class StableDiffusionInstructPix2PixPipeline(metaclass=DummyObject):
|
|
1037
1832
|
requires_backends(cls, ["torch", "transformers"])
|
1038
1833
|
|
1039
1834
|
|
1040
|
-
class
|
1835
|
+
class StableDiffusionPAGImg2ImgPipeline(metaclass=DummyObject):
|
1041
1836
|
_backends = ["torch", "transformers"]
|
1042
1837
|
|
1043
1838
|
def __init__(self, *args, **kwargs):
|
@@ -1052,7 +1847,7 @@ class StableDiffusionLatentUpscalePipeline(metaclass=DummyObject):
|
|
1052
1847
|
requires_backends(cls, ["torch", "transformers"])
|
1053
1848
|
|
1054
1849
|
|
1055
|
-
class
|
1850
|
+
class StableDiffusionPAGInpaintPipeline(metaclass=DummyObject):
|
1056
1851
|
_backends = ["torch", "transformers"]
|
1057
1852
|
|
1058
1853
|
def __init__(self, *args, **kwargs):
|
@@ -1067,7 +1862,7 @@ class StableDiffusionLDM3DPipeline(metaclass=DummyObject):
|
|
1067
1862
|
requires_backends(cls, ["torch", "transformers"])
|
1068
1863
|
|
1069
1864
|
|
1070
|
-
class
|
1865
|
+
class StableDiffusionPAGPipeline(metaclass=DummyObject):
|
1071
1866
|
_backends = ["torch", "transformers"]
|
1072
1867
|
|
1073
1868
|
def __init__(self, *args, **kwargs):
|
@@ -1232,6 +2027,36 @@ class StableDiffusionXLControlNetInpaintPipeline(metaclass=DummyObject):
|
|
1232
2027
|
requires_backends(cls, ["torch", "transformers"])
|
1233
2028
|
|
1234
2029
|
|
2030
|
+
class StableDiffusionXLControlNetPAGImg2ImgPipeline(metaclass=DummyObject):
|
2031
|
+
_backends = ["torch", "transformers"]
|
2032
|
+
|
2033
|
+
def __init__(self, *args, **kwargs):
|
2034
|
+
requires_backends(self, ["torch", "transformers"])
|
2035
|
+
|
2036
|
+
@classmethod
|
2037
|
+
def from_config(cls, *args, **kwargs):
|
2038
|
+
requires_backends(cls, ["torch", "transformers"])
|
2039
|
+
|
2040
|
+
@classmethod
|
2041
|
+
def from_pretrained(cls, *args, **kwargs):
|
2042
|
+
requires_backends(cls, ["torch", "transformers"])
|
2043
|
+
|
2044
|
+
|
2045
|
+
class StableDiffusionXLControlNetPAGPipeline(metaclass=DummyObject):
|
2046
|
+
_backends = ["torch", "transformers"]
|
2047
|
+
|
2048
|
+
def __init__(self, *args, **kwargs):
|
2049
|
+
requires_backends(self, ["torch", "transformers"])
|
2050
|
+
|
2051
|
+
@classmethod
|
2052
|
+
def from_config(cls, *args, **kwargs):
|
2053
|
+
requires_backends(cls, ["torch", "transformers"])
|
2054
|
+
|
2055
|
+
@classmethod
|
2056
|
+
def from_pretrained(cls, *args, **kwargs):
|
2057
|
+
requires_backends(cls, ["torch", "transformers"])
|
2058
|
+
|
2059
|
+
|
1235
2060
|
class StableDiffusionXLControlNetPipeline(metaclass=DummyObject):
|
1236
2061
|
_backends = ["torch", "transformers"]
|
1237
2062
|
|
@@ -1247,6 +2072,66 @@ class StableDiffusionXLControlNetPipeline(metaclass=DummyObject):
|
|
1247
2072
|
requires_backends(cls, ["torch", "transformers"])
|
1248
2073
|
|
1249
2074
|
|
2075
|
+
class StableDiffusionXLControlNetUnionImg2ImgPipeline(metaclass=DummyObject):
|
2076
|
+
_backends = ["torch", "transformers"]
|
2077
|
+
|
2078
|
+
def __init__(self, *args, **kwargs):
|
2079
|
+
requires_backends(self, ["torch", "transformers"])
|
2080
|
+
|
2081
|
+
@classmethod
|
2082
|
+
def from_config(cls, *args, **kwargs):
|
2083
|
+
requires_backends(cls, ["torch", "transformers"])
|
2084
|
+
|
2085
|
+
@classmethod
|
2086
|
+
def from_pretrained(cls, *args, **kwargs):
|
2087
|
+
requires_backends(cls, ["torch", "transformers"])
|
2088
|
+
|
2089
|
+
|
2090
|
+
class StableDiffusionXLControlNetUnionInpaintPipeline(metaclass=DummyObject):
|
2091
|
+
_backends = ["torch", "transformers"]
|
2092
|
+
|
2093
|
+
def __init__(self, *args, **kwargs):
|
2094
|
+
requires_backends(self, ["torch", "transformers"])
|
2095
|
+
|
2096
|
+
@classmethod
|
2097
|
+
def from_config(cls, *args, **kwargs):
|
2098
|
+
requires_backends(cls, ["torch", "transformers"])
|
2099
|
+
|
2100
|
+
@classmethod
|
2101
|
+
def from_pretrained(cls, *args, **kwargs):
|
2102
|
+
requires_backends(cls, ["torch", "transformers"])
|
2103
|
+
|
2104
|
+
|
2105
|
+
class StableDiffusionXLControlNetUnionPipeline(metaclass=DummyObject):
|
2106
|
+
_backends = ["torch", "transformers"]
|
2107
|
+
|
2108
|
+
def __init__(self, *args, **kwargs):
|
2109
|
+
requires_backends(self, ["torch", "transformers"])
|
2110
|
+
|
2111
|
+
@classmethod
|
2112
|
+
def from_config(cls, *args, **kwargs):
|
2113
|
+
requires_backends(cls, ["torch", "transformers"])
|
2114
|
+
|
2115
|
+
@classmethod
|
2116
|
+
def from_pretrained(cls, *args, **kwargs):
|
2117
|
+
requires_backends(cls, ["torch", "transformers"])
|
2118
|
+
|
2119
|
+
|
2120
|
+
class StableDiffusionXLControlNetXSPipeline(metaclass=DummyObject):
|
2121
|
+
_backends = ["torch", "transformers"]
|
2122
|
+
|
2123
|
+
def __init__(self, *args, **kwargs):
|
2124
|
+
requires_backends(self, ["torch", "transformers"])
|
2125
|
+
|
2126
|
+
@classmethod
|
2127
|
+
def from_config(cls, *args, **kwargs):
|
2128
|
+
requires_backends(cls, ["torch", "transformers"])
|
2129
|
+
|
2130
|
+
@classmethod
|
2131
|
+
def from_pretrained(cls, *args, **kwargs):
|
2132
|
+
requires_backends(cls, ["torch", "transformers"])
|
2133
|
+
|
2134
|
+
|
1250
2135
|
class StableDiffusionXLImg2ImgPipeline(metaclass=DummyObject):
|
1251
2136
|
_backends = ["torch", "transformers"]
|
1252
2137
|
|
@@ -1292,6 +2177,51 @@ class StableDiffusionXLInstructPix2PixPipeline(metaclass=DummyObject):
|
|
1292
2177
|
requires_backends(cls, ["torch", "transformers"])
|
1293
2178
|
|
1294
2179
|
|
2180
|
+
class StableDiffusionXLPAGImg2ImgPipeline(metaclass=DummyObject):
|
2181
|
+
_backends = ["torch", "transformers"]
|
2182
|
+
|
2183
|
+
def __init__(self, *args, **kwargs):
|
2184
|
+
requires_backends(self, ["torch", "transformers"])
|
2185
|
+
|
2186
|
+
@classmethod
|
2187
|
+
def from_config(cls, *args, **kwargs):
|
2188
|
+
requires_backends(cls, ["torch", "transformers"])
|
2189
|
+
|
2190
|
+
@classmethod
|
2191
|
+
def from_pretrained(cls, *args, **kwargs):
|
2192
|
+
requires_backends(cls, ["torch", "transformers"])
|
2193
|
+
|
2194
|
+
|
2195
|
+
class StableDiffusionXLPAGInpaintPipeline(metaclass=DummyObject):
|
2196
|
+
_backends = ["torch", "transformers"]
|
2197
|
+
|
2198
|
+
def __init__(self, *args, **kwargs):
|
2199
|
+
requires_backends(self, ["torch", "transformers"])
|
2200
|
+
|
2201
|
+
@classmethod
|
2202
|
+
def from_config(cls, *args, **kwargs):
|
2203
|
+
requires_backends(cls, ["torch", "transformers"])
|
2204
|
+
|
2205
|
+
@classmethod
|
2206
|
+
def from_pretrained(cls, *args, **kwargs):
|
2207
|
+
requires_backends(cls, ["torch", "transformers"])
|
2208
|
+
|
2209
|
+
|
2210
|
+
class StableDiffusionXLPAGPipeline(metaclass=DummyObject):
|
2211
|
+
_backends = ["torch", "transformers"]
|
2212
|
+
|
2213
|
+
def __init__(self, *args, **kwargs):
|
2214
|
+
requires_backends(self, ["torch", "transformers"])
|
2215
|
+
|
2216
|
+
@classmethod
|
2217
|
+
def from_config(cls, *args, **kwargs):
|
2218
|
+
requires_backends(cls, ["torch", "transformers"])
|
2219
|
+
|
2220
|
+
@classmethod
|
2221
|
+
def from_pretrained(cls, *args, **kwargs):
|
2222
|
+
requires_backends(cls, ["torch", "transformers"])
|
2223
|
+
|
2224
|
+
|
1295
2225
|
class StableDiffusionXLPipeline(metaclass=DummyObject):
|
1296
2226
|
_backends = ["torch", "transformers"]
|
1297
2227
|
|