Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LetterLiGo/SafeGen_CCS2024
/ functions
Functions
7,383 in github.com/LetterLiGo/SafeGen_CCS2024
⨍
Functions
7,383
◇
Types & classes
1,211
↳
Endpoints
4
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_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
Method
enable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:405
Method
enable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:653
Method
enable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:409
Method
enable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:649
Method
enable_xformers_memory_efficient_attention
(self, attention_op: Optional[Callable] = None)
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py:112
Function
export_to_gif
(image: List[PIL.Image.Image], output_gif_path: str = None)
src/diffusers/utils/export_utils.py:31
Function
export_to_gif
(image: List[PIL.Image.Image], output_gif_path: str = None)
src/diffusers/utils/testing_utils.py:353
Function
export_to_obj
(mesh, output_obj_path: str = None)
src/diffusers/utils/export_utils.py:98
Function
export_to_obj
(mesh, output_obj_path: str = None)
src/diffusers/utils/testing_utils.py:427
Function
export_to_ply
Write a PLY file for a mesh.
src/diffusers/utils/export_utils.py:46
Function
export_to_ply
Write a PLY file for a mesh.
src/diffusers/utils/testing_utils.py:375
Function
export_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
Function
export_to_video
(video_frames: List[np.ndarray], output_video_path: str = None)
src/diffusers/utils/testing_utils.py:447
Method
extract
(*args, **kwargs)
tests/pipelines/test_pipelines.py:1130
Method
extract
(*args, **kwargs)
tests/pipelines/stable_diffusion_safe/test_safe_diffusion.py:92
Method
extract
(*args, **kwargs)
tests/pipelines/altdiffusion/test_alt_diffusion_img2img.py:110
Method
extract
(*args, **kwargs)
tests/pipelines/semantic_stable_diffusion/test_semantic_diffusion.py:101
Method
extract
(*args, **kwargs)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint_legacy.py:156
Method
feed_forward_chunk
(self, attention_output)
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:327
Method
feed_forward_chunk_query
(self, attention_output)
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:332
Method
finalize_options
(self)
setup.py:183
Function
find_tensor_attributes
(module: torch.nn.Module)
src/diffusers/models/modeling_utils.py:72
Function
flax_register_to_config
(cls)
src/diffusers/configuration_utils.py:650
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:837
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:526
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:79
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_3d_condition.py:297
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/prior_transformer.py:180
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/controlnet.py:522
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/autoencoder_kl.py:169
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_2d_condition.py:631
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/autoencoder_kl_temporal_decoder.py:255
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/consistency_decoder_vae.py:200
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_motion_model.py:537
Method
fn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
src/diffusers/models/unet_spatio_temporal_condition.py:257
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/diffusers/models/unet_kandinsky3.py:154
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:874
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:564
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:117
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_3d_condition.py:401
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/prior_transformer.py:218
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/controlnet.py:560
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/autoencoder_kl.py:207
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_2d_condition.py:668
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/autoencoder_kl_temporal_decoder.py:293
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/consistency_decoder_vae.py:238
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_motion_model.py:575
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_spatio_temporal_condition.py:296
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/diffusers/models/unet_kandinsky3.py:189
Method
fn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
src/diffusers/models/unet_3d_condition.py:433
Method
fn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
src/diffusers/models/unet_motion_model.py:608
Method
fn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
src/diffusers/models/unet_spatio_temporal_condition.py:346
Method
fn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:918
Method
fn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:610
Method
fn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/models/unet_3d_condition.py:328
Method
fn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/models/controlnet.py:606
Method
fn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
src/diffusers/models/unet_2d_condition.py:712
Method
fn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:956
Method
fn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:648
Method
fn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/models/unet_3d_condition.py:366
Method
fn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/models/controlnet.py:644
Method
fn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
src/diffusers/models/unet_2d_condition.py:750
Method
fn_recursive_set_mem_eff
(module: torch.nn.Module)
src/diffusers/pipelines/pipeline_utils.py:2033
Method
fn_recursive_set_mem_eff
(module: torch.nn.Module)
src/diffusers/models/modeling_utils.py:254
Method
format_to_lora_compatible
(key)
src/diffusers/loaders/unet.py:394
Method
forward
( self, ctx_embeddings: torch.Tensor = None, ctx_begin_pos: list = None, input
src/diffusers/pipelines/blip_diffusion/modeling_ctx_clip.py:53
Method
forward
r""" Returns:
src/diffusers/pipelines/blip_diffusion/modeling_ctx_clip.py:85
Method
forward
( self, ctx_embeddings: torch.Tensor, ctx_begin_pos: list, input_ids: Optional
src/diffusers/pipelines/blip_diffusion/modeling_ctx_clip.py:183
Method
forward
( self, input_ids=None, position_ids=None, query_embeds=None, past_key
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:66
Method
forward
(self, pixel_values: torch.FloatTensor)
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:120
← previous
next →
4,001–4,100 of 7,383, ranked by callers