MCPcopy Create free account

hub / github.com/cosmicman-cvpr2024/CosmicMan / functions

Functions6,241 in github.com/cosmicman-cvpr2024/CosmicMan

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
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_img2img.py:267
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
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_inpaint.py:392
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
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky.py:232
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
diffusers/src/diffusers/pipelines/shap_e/pipeline_shap_e.py:133
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
diffusers/examples/community/stable_diffusion_controlnet_inpaint.py:322
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
diffusers/examples/community/stable_diffusion_ipex.py:369
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
diffusers/examples/community/stable_diffusion_controlnet_inpaint_img2img.py:307
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
diffusers/examples/community/stable_diffusion_repaint.py:305
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
diffusers/examples/community/stable_diffusion_controlnet_img2img.py:223
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
diffusers/examples/community/lpw_stable_diffusion.py:596
Functionenable_progress_bar
Enable tqdm progress bar.
diffusers/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
diffusers/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
diffusers/src/diffusers/pipelines/pipeline_utils.py:1112
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
diffusers/examples/community/composable_stable_diffusion.py:182
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae, controlne
diffusers/examples/community/stable_diffusion_controlnet_inpaint.py:301
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, the pipeline's models have their s
diffusers/examples/community/unclip_image_interpolation.py:207
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
diffusers/examples/community/sd_text2img_k_diffusion.py:149
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
diffusers/examples/community/stable_diffusion_ipex.py:344
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae, controlne
diffusers/examples/community/stable_diffusion_controlnet_inpaint_img2img.py:286
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
diffusers/examples/community/stable_diffusion_repaint.py:279
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae, controlne
diffusers/examples/community/stable_diffusion_controlnet_img2img.py:202
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
diffusers/examples/community/lpw_stable_diffusion.py:570
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
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:148
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
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:154
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
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:259
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
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:117
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
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:179
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
diffusers/src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:204
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
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:137
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
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:323
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
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:206
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
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet.py:180
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
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_ours.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 se
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_panorama.py:130
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:237
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_model_editing.py:168
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py:161
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_sag.py:149
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:371
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip.py:146
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip_img2img.py:148
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
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_paradigms.py:150
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
diffusers/src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py:197
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
diffusers/examples/community/composable_stable_diffusion.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 se
diffusers/examples/community/stable_diffusion_controlnet_inpaint.py:285
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
diffusers/examples/community/stable_diffusion_ipex.py:312
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
diffusers/examples/community/stable_diffusion_controlnet_inpaint_img2img.py:270
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
diffusers/examples/community/stable_diffusion_controlnet_img2img.py:186
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
diffusers/examples/community/lpw_stable_diffusion.py:537
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:166
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:172
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:277
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:135
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:197
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:155
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:341
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:224
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet.py:198
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_ours.py:157
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py:179
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:389
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_paradigms.py:168
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py:213
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
diffusers/examples/community/lpw_stable_diffusion.py:553
Methodenable_xformers_memory_efficient_attention
r""" Enable memory efficient attention from [xFormers](https://facebookresearch.github.io/xformers/). When this option is enabled, yo
diffusers/src/diffusers/pipelines/pipeline_utils.py:1474
Functionexport_to_gif
(image: List[PIL.Image.Image], output_gif_path: str = None)
diffusers/src/diffusers/utils/testing_utils.py:303
Functionexport_to_video
(video_frames: List[np.ndarray], output_video_path: str = None)
diffusers/src/diffusers/utils/testing_utils.py:318
Methodextract
(*args, **kwargs)
diffusers/tests/pipelines/test_pipelines.py:955
Methodextract
(*args, **kwargs)
diffusers/tests/pipelines/stable_diffusion_safe/test_safe_diffusion.py:93
Methodextract
(*args, **kwargs)
diffusers/tests/pipelines/altdiffusion/test_alt_diffusion_img2img.py:103
Methodextract
(*args, **kwargs)
diffusers/tests/pipelines/semantic_stable_diffusion/test_semantic_diffusion.py:96
Methodextract
(*args, **kwargs)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint_legacy.py:147
Methodfinalize_options
(self)
diffusers/setup.py:166
Functionfind_tensor_attributes
(module: torch.nn.Module)
diffusers/src/diffusers/models/modeling_utils.py:72
Functionflax_register_to_config
(cls)
diffusers/src/diffusers/configuration_utils.py:640
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
diffusers/src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:683
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
diffusers/src/diffusers/models/unet_3d_condition.py:282
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
diffusers/src/diffusers/models/prior_transformer.py:173
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
diffusers/src/diffusers/models/controlnet.py:498
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
diffusers/src/diffusers/models/autoencoder_kl.py:176
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
diffusers/src/diffusers/models/unet_2d_condition.py:597
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
diffusers/src/diffusers/models/unet_2d_condition.py:1542
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
diffusers/src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:718
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
diffusers/src/diffusers/models/unet_3d_condition.py:384
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
diffusers/src/diffusers/models/prior_transformer.py:209
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
diffusers/src/diffusers/models/controlnet.py:534
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
diffusers/src/diffusers/models/autoencoder_kl.py:212
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
diffusers/src/diffusers/models/unet_2d_condition.py:632
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
diffusers/src/diffusers/models/unet_2d_condition.py:1577
Methodfn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
diffusers/src/diffusers/models/unet_3d_condition.py:416
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
diffusers/src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:753
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
diffusers/src/diffusers/models/unet_3d_condition.py:313
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
diffusers/src/diffusers/models/controlnet.py:571
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
diffusers/src/diffusers/models/unet_2d_condition.py:667
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
diffusers/src/diffusers/models/unet_2d_condition.py:1612
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
diffusers/src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:791
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
diffusers/src/diffusers/models/unet_3d_condition.py:351
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
diffusers/src/diffusers/models/controlnet.py:609
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
diffusers/src/diffusers/models/unet_2d_condition.py:705
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
diffusers/src/diffusers/models/unet_2d_condition.py:1650
← previousnext →3,601–3,700 of 6,241, ranked by callers