Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ functions
Functions
13,352 in github.com/YesianRohn/TextSSR
⨍
Functions
13,352
◇
Types & classes
1,980
↳
Endpoints
6
↓ 2 callers
Method
_init_step_index
(self, timestep)
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:568
↓ 2 callers
Method
_init_step_index
(self, timestep)
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:444
↓ 2 callers
Method
_init_step_index
(self, timestep)
diffusers/src/diffusers/schedulers/scheduling_flow_match_heun_discrete.py:188
↓ 2 callers
Function
_maybe_map_sgm_blocks_to_diffusers
(state_dict, unet_config, delimiter="_", block_slice_pos=5)
diffusers/src/diffusers/loaders/lora_conversion_utils.py:25
↓ 2 callers
Method
_memory_efficient_attention_xformers
(self, query, key, value, attention_mask)
diffusers/examples/community/pipeline_stable_diffusion_xl_instandid_img2img.py:351
↓ 2 callers
Method
_memory_efficient_attention_xformers
(self, query, key, value, attention_mask)
diffusers/examples/community/pipeline_stable_diffusion_xl_instantid.py:351
↓ 2 callers
Method
_optionally_disable_offloading
Optionally removes offloading in case the pipeline has been already sequentially offloaded to CPU. Args: _pipeline (`Dif
diffusers/src/diffusers/loaders/unet.py:370
↓ 2 callers
Function
_pixel2latent_indices
Translates coordinates in pixel space to coordinates in latent space
diffusers/examples/community/mixture_tiling.py:67
↓ 2 callers
Method
_prepare_latent_image_ids
(batch_size, height, width, device, dtype)
diffusers/src/diffusers/pipelines/flux/pipeline_flux.py:416
↓ 2 callers
Method
_prepare_latent_image_ids
(batch_size, height, width, device, dtype)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_controlnet.py:442
↓ 2 callers
Function
_preprocess_adapter_image
(image, height, width)
diffusers/src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:93
↓ 2 callers
Function
_preprocess_adapter_image
(image, height, width)
diffusers/src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:94
↓ 2 callers
Function
_preprocess_adapter_image
(image, height, width)
diffusers/examples/community/pipeline_stable_diffusion_xl_controlnet_adapter.py:113
↓ 2 callers
Function
_preprocess_adapter_image
(image, height, width)
diffusers/examples/community/pipeline_stable_diffusion_xl_controlnet_adapter_inpaint.py:132
↓ 2 callers
Method
_remove_meta_keys
(self, config_dict: Dict)
diffusers/examples/community/checkpoint_merger.py:51
↓ 2 callers
Function
_sanitize_name
(x: str)
diffusers/src/diffusers/pipelines/shap_e/renderer.py:81
↓ 2 callers
Function
_should_continue
(line, indent)
diffusers/utils/check_copies.py:29
↓ 2 callers
Method
_sigma_to_t
(self, sigma)
diffusers/src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py:165
↓ 2 callers
Method
_sigma_to_t
(self, sigma)
diffusers/src/diffusers/schedulers/scheduling_flow_match_heun_discrete.py:137
↓ 2 callers
Method
_swap_unet_attention_blocks
Swap the `Transformer2DModel` blocks between the image and text UNets
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.py:91
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/latte/pipeline_latte.py:415
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/pixart_alpha/pipeline_pixart_sigma.py:447
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py:520
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:195
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if.py:400
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py:153
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:443
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py:197
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py:483
↓ 2 callers
Method
_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/pag/pipeline_pag_pixart_sigma.py:410
↓ 2 callers
Method
_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:331
↓ 2 callers
Method
_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_ddim_parallel.py:286
↓ 2 callers
Method
_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:323
↓ 2 callers
Method
_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:438
↓ 2 callers
Method
_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:378
↓ 2 callers
Method
_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:391
↓ 2 callers
Method
_tiled_decode
r"""Encode a batch of images using a tiled encoder. When this option is enabled, the VAE will split the input tensor into tiles to compute en
diffusers/src/diffusers/models/autoencoders/autoencoder_tiny.py:246
↓ 2 callers
Method
_tiled_encode
r"""Encode a batch of images using a tiled encoder. When this option is enabled, the VAE will split the input tensor into tiles to compute en
diffusers/src/diffusers/models/autoencoders/autoencoder_tiny.py:198
↓ 2 callers
Method
_to_3d
(self, hidden_states: torch.Tensor, height: int, weight: int)
diffusers/src/diffusers/models/unets/unet_2d_blocks.py:3687
↓ 2 callers
Method
_to_4d
(self, hidden_states: torch.Tensor, height: int, weight: int)
diffusers/src/diffusers/models/unets/unet_2d_blocks.py:3690
↓ 2 callers
Function
_translate_into_actual_layer_name
Translate user-friendly name (e.g. 'mid') into actual layer name (e.g. 'mid_block.attentions.0')
diffusers/src/diffusers/loaders/unet_loader_utils.py:27
↓ 2 callers
Method
_update_latent
Update the latent according to the computed loss.
diffusers/src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:651
↓ 2 callers
Method
_update_latent
Update the latent according to the computed loss.
diffusers/examples/community/pipeline_stable_diffusion_boxdiff.py:1173
↓ 2 callers
Method
_upsample_2d
Fused `upsample_2d()` followed by `Conv2d()`. Padding is performed only once at the beginning, not between the operations. The fused op is co
diffusers/src/diffusers/models/upsampling.py:216
↓ 2 callers
Function
add_noise
(original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.Tensor)
diffusers/examples/research_projects/consistency_training/train_cm_ct_unconditional.py:147
↓ 2 callers
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_ddpm_wuerstchen.py:210
↓ 2 callers
Function
add_special_tokens
(hidden_states, attention_mask, sos_token, eos_token)
diffusers/src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:47
↓ 2 callers
Function
add_tokens
Add tokens to the tokenizer and set the initial value of token embeddings
diffusers/examples/research_projects/multi_token_textual_inversion/textual_inversion.py:82
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_pndm.py:53
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:60
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_lms_discrete.py:74
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_ddpm.py:73
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:122
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_dpm_cogvideox.py:77
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_repaint.py:72
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:57
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_ddim_parallel.py:76
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_unclip.py:73
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_lcm.py:78
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:76
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:59
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_ddpm_wuerstchen.py:69
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:56
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_consistency_decoder.py:39
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:59
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:79
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:59
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:59
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_ddim.py:76
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:75
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_ddim_cogvideox.py:76
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_ddim_inverse.py:74
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:61
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:56
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/src/diffusers/schedulers/scheduling_tcd.py:77
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/examples/community/latent_consistency_txt2img.py:347
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/examples/community/scheduling_ufogen.py:75
↓ 2 callers
Function
alpha_bar_fn
(t)
diffusers/examples/community/latent_consistency_img2img.py:432
↓ 2 callers
Function
append_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:198
↓ 2 callers
Function
append_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:355
↓ 2 callers
Function
append_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
diffusers/examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:321
↓ 2 callers
Function
append_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:342
↓ 2 callers
Function
append_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py:333
↓ 2 callers
Function
append_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
diffusers/examples/research_projects/consistency_training/train_cm_ct_unconditional.py:77
↓ 2 callers
Function
apply_FRESCO_opt
Apply FRESCO-based optimization to a StableDiffusionPipeline
diffusers/examples/community/fresco_v2v.py:736
↓ 2 callers
Function
apply_rotary_pos_emb
(x: torch.Tensor, rope_cache: torch.Tensor)
diffusers/src/diffusers/pipelines/kolors/text_encoder.py:269
↓ 2 callers
Function
attention_from_original_checkpoint
(model, diffuser_attention_prefix, original_attention_prefix)
diffusers/scripts/convert_blipdiffusion_to_diffusers.py:86
↓ 2 callers
Function
benchmark_fn
(f, *args, **kwargs)
diffusers/benchmarks/utils.py:52
↓ 2 callers
Function
betas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:31
↓ 2 callers
Method
blend_h
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
diffusers/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py:1291
↓ 2 callers
Method
blend_v
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
diffusers/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py:1283
↓ 2 callers
Function
block_to_diffusers_checkpoint
(block, checkpoint, block_idx, block_type)
diffusers/scripts/convert_k_upscaler_to_diffusers.py:115
↓ 2 callers
Method
blur_mask
(self, pil_mask, blur)
diffusers/examples/community/masked_stable_diffusion_xl_img2img.py:679
↓ 2 callers
Method
build_single_message
(self, role, metadata, message)
diffusers/src/diffusers/pipelines/kolors/tokenizer.py:228
↓ 2 callers
Function
bytes_to_giga_bytes
(bytes)
diffusers/benchmarks/utils.py:48
↓ 2 callers
Function
calc_mean_std
(feat, eps=1e-5, chunk=1)
diffusers/examples/community/fresco_v2v.py:153
↓ 2 callers
Method
check_controlnet_conditioning_image
(self, image, prompt, prompt_embeds)
diffusers/examples/community/stable_diffusion_controlnet_inpaint.py:456
↓ 2 callers
Method
check_controlnet_conditioning_image
(self, image, prompt, prompt_embeds)
diffusers/examples/community/stable_diffusion_controlnet_img2img.py:357
↓ 2 callers
Method
check_image
(self, image, prompt, prompt_embeds)
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:807
↓ 2 callers
Method
check_image
(self, image, prompt, prompt_embeds)
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:596
← previous
next →
1,301–1,400 of 13,352, ranked by callers