MCPcopy Create free account

hub / github.com/LetterLiGo/SafeGen_CCS2024 / functions

Functions7,383 in github.com/LetterLiGo/SafeGen_CCS2024

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_diffedit.py:375
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_unclip.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 sev
src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip_img2img.py:155
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_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 sev
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py:255
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/animatediff/pipeline_animatediff.py:361
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/audioldm2/pipeline_audioldm2.py:177
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 en
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:276
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 en
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:297
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
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:223
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 en
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:448
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 en
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:138
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 en
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:214
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 en
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:257
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 en
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py:226
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 en
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py:210
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 en
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:240
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 en
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:251
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 en
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:368
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 en
src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:240
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 en
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:266
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 en
src/diffusers/pipelines/controlnet/pipeline_controlnet.py:250
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 en
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_gligen.py:189
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 en
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py:182
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 en
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_gligen_text_image.py:247
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 en
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:391
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 en
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_paradigms.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 en
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py:269
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 en
src/diffusers/pipelines/animatediff/pipeline_animatediff.py:377
Methodenable_xformers_memory_efficient_attention
r""" Enable memory efficient attention from [xFormers](https://facebookresearch.github.io/xformers/). When this option is enabled, you
src/diffusers/pipelines/pipeline_utils.py:1986
Methodenable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:405
Methodenable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:653
Methodenable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:409
Methodenable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:649
Methodenable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py:112
Functionexport_to_gif
(image: List[PIL.Image.Image], output_gif_path: str = None)
src/diffusers/utils/export_utils.py:31
Functionexport_to_gif
(image: List[PIL.Image.Image], output_gif_path: str = None)
src/diffusers/utils/testing_utils.py:353
Functionexport_to_obj
(mesh, output_obj_path: str = None)
src/diffusers/utils/export_utils.py:98
Functionexport_to_obj
(mesh, output_obj_path: str = None)
src/diffusers/utils/testing_utils.py:427
Functionexport_to_ply
Write a PLY file for a mesh.
src/diffusers/utils/export_utils.py:46
Functionexport_to_ply
Write a PLY file for a mesh.
src/diffusers/utils/testing_utils.py:375
Functionexport_to_video
( video_frames: Union[List[np.ndarray], List[PIL.Image.Image]], output_video_path: str = None, fps: int =
src/diffusers/utils/export_utils.py:118
Functionexport_to_video
(video_frames: List[np.ndarray], output_video_path: str = None)
src/diffusers/utils/testing_utils.py:447
Methodextract
(*args, **kwargs)
tests/pipelines/test_pipelines.py:1130
Methodextract
(*args, **kwargs)
tests/pipelines/stable_diffusion_safe/test_safe_diffusion.py:92
Methodextract
(*args, **kwargs)
tests/pipelines/altdiffusion/test_alt_diffusion_img2img.py:110
Methodextract
(*args, **kwargs)
tests/pipelines/semantic_stable_diffusion/test_semantic_diffusion.py:101
Methodextract
(*args, **kwargs)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint_legacy.py:156
Methodfeed_forward_chunk
(self, attention_output)
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:327
Methodfeed_forward_chunk_query
(self, attention_output)
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:332
Methodfinalize_options
(self)
setup.py:183
Functionfind_tensor_attributes
(module: torch.nn.Module)
src/diffusers/models/modeling_utils.py:72
Functionflax_register_to_config
(cls)
src/diffusers/configuration_utils.py:650
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:837
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:526
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:79
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_3d_condition.py:297
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/prior_transformer.py:180
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/controlnet.py:522
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/autoencoder_kl.py:169
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_2d_condition.py:631
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/autoencoder_kl_temporal_decoder.py:255
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/consistency_decoder_vae.py:200
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_motion_model.py:537
Methodfn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
src/diffusers/models/unet_spatio_temporal_condition.py:257
Methodfn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_kandinsky3.py:154
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:874
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:564
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:117
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_3d_condition.py:401
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/prior_transformer.py:218
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/controlnet.py:560
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/autoencoder_kl.py:207
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_2d_condition.py:668
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/autoencoder_kl_temporal_decoder.py:293
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/consistency_decoder_vae.py:238
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_motion_model.py:575
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_spatio_temporal_condition.py:296
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_kandinsky3.py:189
Methodfn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
src/diffusers/models/unet_3d_condition.py:433
Methodfn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
src/diffusers/models/unet_motion_model.py:608
Methodfn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
src/diffusers/models/unet_spatio_temporal_condition.py:346
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:918
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:610
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/models/unet_3d_condition.py:328
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/models/controlnet.py:606
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/models/unet_2d_condition.py:712
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:956
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:648
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/models/unet_3d_condition.py:366
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/models/controlnet.py:644
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/models/unet_2d_condition.py:750
Methodfn_recursive_set_mem_eff
(module: torch.nn.Module)
src/diffusers/pipelines/pipeline_utils.py:2033
Methodfn_recursive_set_mem_eff
(module: torch.nn.Module)
src/diffusers/models/modeling_utils.py:254
Methodformat_to_lora_compatible
(key)
src/diffusers/loaders/unet.py:394
Methodforward
( self, ctx_embeddings: torch.Tensor = None, ctx_begin_pos: list = None, input
src/diffusers/pipelines/blip_diffusion/modeling_ctx_clip.py:53
Methodforward
r""" Returns:
src/diffusers/pipelines/blip_diffusion/modeling_ctx_clip.py:85
Methodforward
( self, ctx_embeddings: torch.Tensor, ctx_begin_pos: list, input_ids: Optional
src/diffusers/pipelines/blip_diffusion/modeling_ctx_clip.py:183
Methodforward
( self, input_ids=None, position_ids=None, query_embeds=None, past_key
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:66
Methodforward
(self, pixel_values: torch.FloatTensor)
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:120
← previousnext →4,001–4,100 of 7,383, ranked by callers