MCPcopy Create free account

hub / github.com/LetterLiGo/SafeGen_CCS2024 / functions

Functions7,383 in github.com/LetterLiGo/SafeGen_CCS2024

Methoddummy_uncond_unet
(self)
tests/pipelines/score_sde_ve/test_score_sde_ve.py:30
Methoddummy_uncond_unet
(self)
tests/pipelines/consistency_models/test_consistency_models.py:48
Methoddummy_uncond_unet
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint_legacy.py:69
Methoddummy_uncond_unet
(self)
tests/pipelines/pndm/test_pndm.py:30
Methoddummy_unet
(self)
tests/pipelines/audio_diffusion/test_audio_diffusion.py:46
Methoddummy_unet
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py:69
Methoddummy_unet
(self)
tests/pipelines/kandinsky2_2/test_kandinsky.py:61
Methoddummy_unet
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_controlnet_img2img.py:87
Methoddummy_unet
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_img2img.py:69
Methoddummy_unet
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_controlnet.py:86
Methoddummy_unet
(self)
tests/pipelines/kandinsky/test_kandinsky_inpaint.py:88
Methoddummy_unet
(self)
tests/pipelines/kandinsky/test_kandinsky.py:86
Methoddummy_unet
(self)
tests/pipelines/kandinsky/test_kandinsky_img2img.py:96
Methoddummy_unet_condition
(self)
tests/pipelines/audio_diffusion/test_audio_diffusion.py:60
Methoddummy_vae
(self)
tests/pipelines/test_pipelines.py:1100
Methoddummy_vae
(self)
tests/pipelines/stable_diffusion_safe/test_safe_diffusion.py:62
Methoddummy_vae
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_upscale.py:79
Methoddummy_vae
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:73
Methoddummy_vae
(self)
tests/pipelines/altdiffusion/test_alt_diffusion_img2img.py:81
Methoddummy_vae
(self)
tests/pipelines/semantic_stable_diffusion/test_semantic_diffusion.py:71
Methoddummy_vae
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint_legacy.py:126
Methoddummy_vq_model
(self)
tests/pipelines/latent_diffusion/test_latent_diffusion_superresolution.py:62
Methoddummy_vq_model
(self)
tests/pipelines/latent_diffusion/test_latent_diffusion_uncond.py:45
Methoddummy_vq_model
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint_legacy.py:113
Methoddummy_vqgan
(self)
tests/pipelines/wuerstchen/test_wuerstchen_decoder.py:87
Methoddummy_vqgan
(self)
tests/pipelines/wuerstchen/test_wuerstchen_combined.py:103
Methoddummy_vqvae
(self)
tests/pipelines/vq_diffusion/test_vq_diffusion.py:51
Methoddummy_vqvae_and_unet
(self)
tests/pipelines/audio_diffusion/test_audio_diffusion.py:75
Methodempty_fn
(*args, **kwargs)
src/diffusers/utils/logging.py:292
Functionenable_default_handler
Enable the default handler of the 🤗 Diffusers' root logger.
src/diffusers/utils/logging.py:193
Functionenable_explicit_format
Enable explicit formatting for every 🤗 Diffusers' logger. The explicit formatter is as follows: ``` [LEVELNAME|FILENAME|LINE NUMBER] TIME
src/diffusers/utils/logging.py:239
Methodenable_forward_chunking
Sets the attention processor to use [feed forward chunking](https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers).
src/diffusers/models/unet_3d_condition.py:414
Methodenable_forward_chunking
Sets the attention processor to use [feed forward chunking](https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers).
src/diffusers/models/unet_spatio_temporal_condition.py:327
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:694
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:829
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:623
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1049
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:489
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:594
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:692
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:632
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py:243
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py:227
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:822
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:1007
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:1003
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:795
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:940
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/controlnet/pipeline_controlnet.py:772
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py:259
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py:528
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_image_variation.py:244
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py:683
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py:808
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py:759
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion_img2img.py:681
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py:621
Methodenable_freeu
r"""Enables the FreeU mechanism from https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stage blocks wher
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:971
Methodenable_freeu
r"""Enables the FreeU mechanism as in https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stages where the
src/diffusers/pipelines/animatediff/pipeline_animatediff.py:394
Methodenable_freeu
r"""Enables the FreeU mechanism from https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stage blocks wher
src/diffusers/models/unet_3d_condition.py:475
Methodenable_freeu
r"""Enables the FreeU mechanism from https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stage blocks wher
src/diffusers/models/unet_2d_condition.py:765
Methodenable_lora
Enable the UNet's active LoRA layers. Example: ```py from diffusers import AutoPipelineForText2Image import
src/diffusers/loaders/unet.py:608
Methodenable_lora
(self)
src/diffusers/loaders/lora.py:1128
Methodenable_model_cpu_offload
r""" Offloads all models to CPU using accelerate, reducing memory usage with a low impact on performance. Compared to `enable_sequenti
src/diffusers/pipelines/musicldm/pipeline_musicldm.py:400
Methodenable_model_cpu_offload
r""" Offloads all models to CPU using accelerate, reducing memory usage with a low impact on performance. Compared to `enable_sequenti
src/diffusers/pipelines/audioldm2/pipeline_audioldm2.py:192
Methodenable_model_cpu_offload
r""" Offloads all models to CPU using accelerate, reducing memory usage with a low impact on performance. Compared to `enable_sequenti
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py:115
Functionenable_progress_bar
Enable tqdm progress bar.
src/diffusers/utils/logging.py:330
Functionenable_propagation
Enable propagation of the library log outputs. Please disable the HuggingFace Diffusers' default handler to prevent double logging if the roo
src/diffusers/utils/logging.py:229
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:418
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:656
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:412
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:652
Methodenable_sequential_cpu_offload
r""" Offloads all models (`unet`, `text_encoder`, `vae`, and `safety checker` state dicts) to CPU using 🤗 Accelerate, significantly re
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py:125
Methodenable_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/models/autoencoder_tiny.py:166
Methodenable_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/models/consistency_decoder_vae.py:174
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:260
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:281
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in se
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:207
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:432
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/audioldm/pipeline_audioldm.py:100
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:139
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:122
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:198
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:241
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:252
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py:210
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py:194
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:224
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:235
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:352
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:224
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:250
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/controlnet/pipeline_controlnet.py:234
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_panorama.py:136
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:247
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_model_editing.py:152
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_gligen.py:175
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py:166
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_gligen_text_image.py:233
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_sag.py:159
← previousnext →3,901–4,000 of 7,383, ranked by callers