MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

↓ 2 callersFunctionset_verbosity_error
Set the verbosity to the `ERROR` level.
diffusers/src/diffusers/utils/logging.py:181
↓ 2 callersFunctionset_verbosity_info
Set the verbosity to the `INFO` level.
diffusers/src/diffusers/utils/logging.py:166
↓ 2 callersFunctionset_weights_and_activate_adapters
(model, adapter_names, weights)
diffusers/src/diffusers/utils/peft_utils.py:238
↓ 2 callersMethodsetdefault
(self, *args, **kwargs)
diffusers/src/diffusers/utils/outputs.py:98
↓ 2 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_unidiffuser_to_diffusers.py:37
↓ 2 callersFunctionslerp
Find the interpolation point between the 'low' and 'high' values for the given 'val'. See https://en.wikipedia.org/wiki/Slerp for more details on
diffusers/examples/community/unclip_text_interpolation.py:25
↓ 2 callersFunctionspherical_dist_loss
(x, y)
diffusers/examples/community/clip_guided_stable_diffusion_img2img.py:117
↓ 2 callersFunctionspherical_dist_loss
(x, y)
diffusers/examples/community/clip_guided_stable_diffusion.py:43
↓ 2 callersFunctionsplit_attentions
(*, weight, bias, split, chunk_size)
diffusers/scripts/convert_if.py:678
↓ 2 callersFunctionsplit_code_in_indented_blocks
Split some code into its indented blocks, starting at a given level. Args: code (`str`): The code to split. indent_level (`s
diffusers/utils/custom_init_isort.py:65
↓ 2 callersFunctionstartend
(cells, array)
diffusers/examples/community/regional_prompting_stable_diffusion.py:435
↓ 2 callersMethodstep_plms
Step function propagating the sample with the linear multi-step method. This has one forward pass with multiple times to approximate
diffusers/src/diffusers/schedulers/scheduling_pndm_flax.py:360
↓ 2 callersFunctionstr_to_bool
Converts a string representation of truth to `True` (1) or `False` (0). True values are `y`, `yes`, `t`, `true`, `on`, and `1`; False value a
diffusers/src/diffusers/utils/testing_utils.py:158
↓ 2 callersFunctionsuper_res_unet
(*, args, checkpoint_map_location)
diffusers/scripts/convert_kakao_brain_unclip_to_diffusers.py:1001
↓ 2 callersFunctionswap_scale_shift
(weight)
diffusers/scripts/convert_hunyuandit_to_diffusers.py:188
↓ 2 callersFunctionswap_scale_shift
(weight)
diffusers/scripts/convert_flux_to_diffusers.py:63
↓ 2 callersMethodtearDown
(self)
diffusers/tests/pipelines/test_pipelines.py:1171
↓ 2 callersMethodtearDown
(self)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion.py:1328
↓ 2 callersMethodtearDown
(self)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:603
↓ 2 callersMethodtest_dict_tuple_outputs_equivalent
(self)
diffusers/tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:144
↓ 2 callersMethodtest_dict_tuple_outputs_equivalent
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_combined.py:139
↓ 2 callersMethodtest_float16_inference
(self)
diffusers/tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:141
↓ 2 callersMethodtest_float16_inference
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_combined.py:136
↓ 2 callersMethodtest_inference_batch_single_identical
(self)
diffusers/tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:138
↓ 2 callersMethodtest_inference_batch_single_identical
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_combined.py:133
↓ 2 callersMethodtest_ip_adapter
(self)
diffusers/tests/pipelines/controlnet/test_controlnet.py:223
↓ 2 callersMethodtest_model_cpu_offload_forward_pass
(self)
diffusers/tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:147
↓ 2 callersMethodtest_save_load_local
(self)
diffusers/tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:150
↓ 2 callersMethodtest_save_load_optional_components
(self)
diffusers/tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:153
↓ 2 callersFunctiontext2img
(*, args, checkpoint_map_location)
diffusers/scripts/convert_kandinsky_to_diffusers.py:890
↓ 2 callersMethodto_load_and_store_prev
(self)
diffusers/examples/community/rerender_a_video.py:191
↓ 2 callersMethodtokenize
(self, s: str, encode_special_tokens=False)
diffusers/src/diffusers/pipelines/kolors/tokenizer.py:49
↓ 2 callersFunctiontokenize_captions
(captions)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:675
↓ 2 callersFunctiontokenize_captions
(captions)
diffusers/examples/research_projects/instructpix2pix_lora/train_instruct_pix2pix_lora.py:658
↓ 2 callersFunctiontokenize_prompt
(prompt, neg_prompt)
diffusers/examples/research_projects/sdxl_flax/sdxl_single_aot.py:46
↓ 2 callersFunctiontrain_func
(model)
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:584
↓ 2 callersFunctiontransformer_ada_norm_to_diffusers_checkpoint
(checkpoint, *, diffusers_ada_norm_prefix, ada_norm_prefix)
diffusers/scripts/convert_vq_diffusion_to_diffusers.py:646
↓ 2 callersFunctiontransformer_attention_to_diffusers_checkpoint
(checkpoint, *, diffusers_attention_prefix, attention_prefix)
diffusers/scripts/convert_vq_diffusion_to_diffusers.py:654
↓ 2 callersMethodtry_adding_tokens
(self, placeholder_token, *args, **kwargs)
diffusers/examples/research_projects/multi_token_textual_inversion/multi_token_clip.py:38
↓ 2 callersMethodundo_step
(self, sample, timestep, generator=None)
diffusers/src/diffusers/schedulers/scheduling_repaint.py:335
↓ 2 callersFunctionunet_add_embedding
(checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:516
↓ 2 callersFunctionunet_conv_in
(checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:503
↓ 2 callersFunctionunet_conv_norm_out
(checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:549
↓ 2 callersFunctionunet_conv_out
(checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:563
↓ 2 callersFunctionunet_downblock_to_diffusers_checkpoint
( model, checkpoint, *, diffusers_down_block_idx, original_down_block_idx, num_head_channels )
diffusers/scripts/convert_kandinsky_to_diffusers.py:577
↓ 2 callersFunctionunet_encoder_hid_proj
(checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:533
↓ 2 callersFunctionunet_midblock_to_diffusers_checkpoint
(model, checkpoint, *, num_head_channels)
diffusers/scripts/convert_kandinsky_to_diffusers.py:636
↓ 2 callersFunctionunet_time_embeddings
(checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:487
↓ 2 callersFunctionunet_upblock_to_diffusers_checkpoint
( model, checkpoint, *, diffusers_up_block_idx, original_up_block_idx, num_head_channels )
diffusers/scripts/convert_kandinsky_to_diffusers.py:680
↓ 2 callersMethodunload_lora
(self)
diffusers/src/diffusers/loaders/peft.py:306
↓ 2 callersMethodunpad
(self, x)
diffusers/examples/community/rerender_a_video.py:1191
↓ 2 callersMethodunpad_image
(image: torch.Tensor, padding: Tuple[int, int])
diffusers/src/diffusers/pipelines/marigold/marigold_image_processing.py:127
↓ 2 callersMethodunscale
(self, embeds)
diffusers/src/diffusers/pipelines/stable_diffusion/stable_unclip_image_normalizer.py:55
↓ 2 callersMethodunscale_latents
[0, 1] -> raw latents
diffusers/src/diffusers/models/autoencoders/autoencoder_tiny.py:165
↓ 2 callersFunctionunwrap_model
(model)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py:600
↓ 2 callersFunctionunwrap_model
(model)
diffusers/examples/research_projects/consistency_training/train_cm_ct_unconditional.py:1151
↓ 2 callersMethodupcast_vae
(self)
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:585
↓ 2 callersMethodupcast_vae
(self)
diffusers/src/diffusers/pipelines/controlnet_xs/pipeline_controlnet_xs_sd_xl.py:671
↓ 2 callersMethodupcast_vae
(self)
diffusers/examples/community/pipeline_stable_diffusion_xl_ipex.py:655
↓ 2 callersFunctionupdate_alpha_time_word
( alpha, bounds: Union[float, Tuple[float, float]], prompt_ind: int, word_inds: Optional[torch
diffusers/examples/community/pipeline_prompt2prompt.py:1198
↓ 2 callersFunctionupdate_state_dict_inplace
(state_dict: Dict[str, Any], old_key: str, new_key: str)
diffusers/scripts/convert_cogvideox_to_diffusers.py:132
↓ 2 callersFunctionupdate_test_map_with_core_pipelines
(json_output_file: str)
diffusers/utils/tests_fetcher.py:835
↓ 2 callersFunctionupdate_vae_attentions_ldm_to_diffusers
(keys, new_checkpoint, checkpoint, mapping)
diffusers/src/diffusers/loaders/single_file_utils.py:814
↓ 2 callersFunctionupdate_version_in_file
Update the version in one file using a specific pattern.
diffusers/utils/release.py:37
↓ 2 callersFunctionvariant_compatible_siblings
(filenames, variant=None)
diffusers/src/diffusers/pipelines/pipeline_loading_utils.py:138
↓ 2 callersMethodvocab_size
(self)
diffusers/src/diffusers/pipelines/kolors/tokenizer.py:175
↓ 2 callersFunctionwrite_to_csv
Serializes a dictionary into a CSV file.
diffusers/benchmarks/utils.py:80
↓ 1 callersMethodCLIP_preprocess
(self, x)
diffusers/examples/community/pipeline_zero1to3.py:326
↓ 1 callersFunctionFeedForward
(dim, mult=4)
diffusers/examples/community/pipeline_stable_diffusion_xl_instandid_img2img.py:55
↓ 1 callersFunctionFeedForward
(dim, mult=4)
diffusers/examples/community/pipeline_stable_diffusion_xl_instantid.py:55
↓ 1 callersMethod__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`): The
diffusers/examples/community/tiled_upscaling.py:185
↓ 1 callersMethod__decode_latent
(self, latents)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:1096
↓ 1 callersMethod__decode_latent
(self, latents)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:947
↓ 1 callersMethod__decode_latent
(self, latents)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:1013
↓ 1 callersMethod__denoise_latent
( self, latents, text_embeddings, timesteps=None, step_offset=0, mask=None, masked_image_latents=None
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:1066
↓ 1 callersMethod__denoise_latent
( self, latents, text_embeddings, timesteps=None, step_offset=0, mask=None, masked_image_latents=None
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:917
↓ 1 callersMethod__denoise_latent
( self, latents, text_embeddings, timesteps=None, step_offset=0, mask=None, masked_image_latents=None
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:983
↓ 1 callersMethod__encode_image
(self, init_image)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:1010
↓ 1 callersMethod__encode_image
(self, init_image)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:927
↓ 1 callersMethod__encode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:1015
↓ 1 callersMethod__encode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:866
↓ 1 callersMethod__encode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:932
↓ 1 callersMethod__getattr__
Return empty function.
diffusers/src/diffusers/utils/logging.py:291
↓ 1 callersMethod__init__
(self)
diffusers/src/diffusers/pipelines/stable_diffusion_sag/pipeline_stable_diffusion_sag.py:62
↓ 1 callersMethod__init__
(self, batch_size=2)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:84
↓ 1 callersMethod__init__
(self, batch_size=2)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:58
↓ 1 callersMethod__init__
(self, model, alphas_cumprod)
diffusers/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py:37
↓ 1 callersMethod__init__
(self, model, alphas_cumprod)
diffusers/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:77
↓ 1 callersMethod__init__
( self, vae_encoder: OnnxRuntimeModel, vae_decoder: OnnxRuntimeModel, text_enc
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion.py:46
↓ 1 callersMethod__init__
(self, average: bool, batch_size=1, max_resolution=16, max_size: int = None)
diffusers/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py:178
↓ 1 callersMethod__init__
(self, average: bool, batch_size=1, max_resolution=16, max_size: int = None)
diffusers/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py:133
↓ 1 callersMethod__init__
(self, model_path: str)
diffusers/src/diffusers/pipelines/kolors/tokenizer.py:27
↓ 1 callersMethod__init__
(self, transformerDimSize=1024, imageDimSize=768, **kwargs)
diffusers/src/diffusers/pipelines/kandinsky/text_encoder.py:8
↓ 1 callersMethod__init__
(self, config)
diffusers/src/diffusers/pipelines/paint_by_example/image_encoder.py:51
↓ 1 callersMethod__init__
( self, vqvae: VQModel, text_encoder: CLIPTextModel, tokenizer: CLIPTokenizer,
diffusers/src/diffusers/pipelines/deprecated/vq_diffusion/pipeline_vq_diffusion.py:80
↓ 1 callersMethod__init__
(self)
diffusers/src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_pix2pix_zero.py:221
↓ 1 callersMethod__init__
( self, pad_token_id=1, bos_token_id=0, eos_token_id=2, project_dim=51
diffusers/src/diffusers/pipelines/deprecated/alt_diffusion/modeling_roberta_series.py:40
↓ 1 callersMethod__init__
(self, c, c_skip=0, kernel_size=3, dropout=0.0)
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:236
↓ 1 callersMethod__init__
( self, in_channels: int = 3, out_channels: int = 3, up_down_scale_factor: int
diffusers/src/diffusers/pipelines/wuerstchen/modeling_paella_vq_model.py:77
↓ 1 callersMethod__init__
(self, *args, **kwargs)
diffusers/src/diffusers/models/vq_model.py:26
← previousnext →2,001–2,100 of 13,352, ranked by callers