MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

↓ 1 callersFunction_legacy_load_safety_checker
(local_files_only, torch_dtype)
diffusers/src/diffusers/loaders/single_file_utils.py:1649
↓ 1 callersFunction_legacy_load_scheduler
( cls, checkpoint, component_name, original_config=None, **kwargs, )
diffusers/src/diffusers/loaders/single_file_utils.py:1485
↓ 1 callersMethod_load_datasamples
(self, num_samples)
diffusers/tests/models/autoencoders/test_models_vae.py:1168
↓ 1 callersMethod_load_dataset_from_hub
(self)
diffusers/examples/cogvideo/train_cogvideox_lora.py:473
↓ 1 callersMethod_load_dataset_from_local_path
(self)
diffusers/examples/cogvideo/train_cogvideox_lora.py:517
↓ 1 callersFunction_load_empty_model
( library_name: str, class_name: str, importable_classes: List[Any], pipelines: Any, is_pi
diffusers/src/diffusers/pipelines/pipeline_loading_utils.py:384
↓ 1 callersMethod_load_ip_adapter_loras
(self, state_dicts)
diffusers/src/diffusers/loaders/unet.py:870
↓ 1 callersMethod_load_ip_adapter_weights
(self, state_dict)
diffusers/examples/community/ip_adapter_face_id.py:333
↓ 1 callersMethod_load_pretrained_model
( cls, model, state_dict: OrderedDict, resolved_archive_file, pretrain
diffusers/src/diffusers/models/modeling_utils.py:863
↓ 1 callersFunction_load_state_dict_into_model
(model_to_load, state_dict: OrderedDict)
diffusers/src/diffusers/models/model_loading_utils.py:166
↓ 1 callersMethod_make_latent_mask
(self, latents, mask)
diffusers/examples/community/masked_stable_diffusion_img2img.py:239
↓ 1 callersMethod_make_latent_mask
(self, latents, mask)
diffusers/examples/community/masked_stable_diffusion_xl_img2img.py:523
↓ 1 callersFunction_map
(params, mask, label_fn)
diffusers/examples/research_projects/multi_token_textual_inversion/textual_inversion_flax.py:457
↓ 1 callersFunction_map
(params, mask, label_fn)
diffusers/examples/textual_inversion/textual_inversion_flax.py:476
↓ 1 callersFunction_map_component_types_to_config_dict
(component_types)
diffusers/src/diffusers/loaders/single_file.py:178
↓ 1 callersFunction_map_layer_to_idx
Maps set of layer names to indices of model. Ported from anomalib Returns: Feature map extracted from the CNN
diffusers/examples/vqgan/train_vqgan.py:77
↓ 1 callersFunction_maybe_expand_lora_scales
( unet: "UNet2DConditionModel", weight_scales: List[Union[float, Dict]], default_scale=1.0 )
diffusers/src/diffusers/loaders/unet_loader_utils.py:41
↓ 1 callersFunction_maybe_expand_lora_scales_for_one_adapter
Expands the inputs into a more granular dictionary. See the example below for more details. Parameters: scales (`Union[float, Dict]`
diffusers/src/diffusers/loaders/unet_loader_utils.py:64
↓ 1 callersFunction_maybe_raise_warning_for_inpainting
(pipeline_class, pretrained_model_name_or_path: str, config: dict)
diffusers/src/diffusers/pipelines/pipeline_loading_utils.py:779
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
diffusers/src/diffusers/pipelines/unidiffuser/modeling_uvit.py:20
↓ 1 callersMethod_operate_on_continuous_inputs
(self, hidden_states)
diffusers/src/diffusers/models/transformers/transformer_2d.py:479
↓ 1 callersMethod_operate_on_patched_inputs
(self, hidden_states, encoder_hidden_states, timestep, added_cond_kwargs)
diffusers/src/diffusers/models/transformers/transformer_2d.py:494
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, params, prng_seed, num_inference_steps, height, width, gui
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_flax_stable_diffusion_xl.py:284
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, image, params, prng_seed, num_inference_steps, guidance_scale,
diffusers/src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:488
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, mask, masked_image, params, prng_seed, num_inference_steps,
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:532
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, image, params, prng_seed, start_timestep, num_inference_steps,
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:485
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, params, prng_seed, num_inference_steps, height, width, gui
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:439
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
diffusers/src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:514
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:562
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:515
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:465
↓ 1 callersMethod_pack_latents
(latents, batch_size, num_channels_latents, height, width)
diffusers/src/diffusers/pipelines/flux/pipeline_flux.py:430
↓ 1 callersMethod_pack_latents
(latents, batch_size, num_channels_latents, height, width)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_img2img.py:488
↓ 1 callersMethod_parse_response_with_negative
(cls, text)
diffusers/examples/community/llm_grounded_diffusion.py:436
↓ 1 callersMethod_perform_iterative_refinement_step
Performs the iterative latent refinement introduced in the paper. Here, we continuously update the latent code according to our loss
diffusers/src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:657
↓ 1 callersMethod_perform_iterative_refinement_step
Performs the iterative latent refinement introduced in the paper. Here, we continuously update the latent code according to our loss
diffusers/examples/community/pipeline_stable_diffusion_boxdiff.py:1179
↓ 1 callersMethod_prepare_latent_image_ids
(batch_size, height, width, device, dtype)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_controlnet_image_to_image.py:485
↓ 1 callersMethod_prepare_latent_image_ids
(batch_size, height, width, device, dtype)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_img2img.py:473
↓ 1 callersMethod_prepare_latent_image_ids
(batch_size, height, width, device, dtype)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_inpaint.py:494
↓ 1 callersMethod_prepare_latent_image_ids
(batch_size, height, width, device, dtype)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_controlnet_inpainting.py:512
↓ 1 callersMethod_prepare_rotary_positional_embeddings
( self, height: int, width: int, num_frames: int, device: torch.device
diffusers/src/diffusers/pipelines/cogvideo/pipeline_cogvideox.py:436
↓ 1 callersMethod_prepare_rotary_positional_embeddings
( self, height: int, width: int, num_frames: int, device: torch.device
diffusers/src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py:512
↓ 1 callersMethod_prepare_rotary_positional_embeddings
( self, height: int, width: int, num_frames: int, device: torch.device
diffusers/src/diffusers/pipelines/cogvideo/pipeline_cogvideox_image2video.py:515
↓ 1 callersMethod_preprocess_data
(self)
diffusers/examples/cogvideo/train_cogvideox_lora.py:579
↓ 1 callersFunction_preprocess_image
(image: Union[List, PIL.Image.Image, torch.Tensor])
diffusers/src/diffusers/pipelines/deprecated/repaint/pipeline_repaint.py:33
↓ 1 callersFunction_preprocess_mask
(mask: Union[List, PIL.Image.Image, torch.Tensor])
diffusers/src/diffusers/pipelines/deprecated/repaint/pipeline_repaint.py:56
↓ 1 callersMethod_process_custom_diffusion
(self, state_dict)
diffusers/src/diffusers/loaders/unet.py:247
↓ 1 callersMethod_process_embeds
(self, embeddings, attention_mask, cut_context)
diffusers/src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:98
↓ 1 callersMethod_process_lora
( self, state_dict, unet_identifier_key, network_alphas, adapter_name, _pipeline, low_cpu_mem_usage
diffusers/src/diffusers/loaders/unet.py:281
↓ 1 callersMethod_process_tile
(self, original_image_slice, x, y, tile_size, tile_border, image, final_image, **kwargs)
diffusers/examples/community/tiled_upscaling.py:145
↓ 1 callersFunction_query_chunk_attention
Multi-head dot product attention with a limited number of queries.
diffusers/src/diffusers/models/attention_flax.py:23
↓ 1 callersMethod_register_shared_norm
r"""Helper method to register shared group/layer normalization layers.
diffusers/examples/community/pipeline_sdxl_style_aligned.py:1213
↓ 1 callersFunction_remove_text_encoder_monkey_patch
(text_encoder)
diffusers/src/diffusers/loaders/lora_base.py:177
↓ 1 callersMethod_resize_and_crop
Resize the image to fit within the specified width and height, maintaining the aspect ratio, and then center the image within the dim
diffusers/src/diffusers/image_processor.py:327
↓ 1 callersMethod_resize_and_fill
Resize the image to fit within the specified width and height, maintaining the aspect ratio, and then center the image within the dim
diffusers/src/diffusers/image_processor.py:282
↓ 1 callersFunction_resize_bilinear
( image: Union[torch.Tensor, List[torch.Tensor], PIL.Image.Image, List[PIL.Image.Image]], resolution: Tupl
diffusers/src/diffusers/pipelines/i2vgen_xl/pipeline_i2vgen_xl.py:749
↓ 1 callersMethod_resize_for_rectangle_crop
(self, arr)
diffusers/examples/cogvideo/train_cogvideox_lora.py:547
↓ 1 callersFunction_resize_with_antialiasing
(input, size, interpolation="bicubic", align_corners=True)
diffusers/src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:622
↓ 1 callersFunction_resolve_custom_pipeline_and_cls
(folder, config, custom_pipeline)
diffusers/src/diffusers/pipelines/pipeline_loading_utils.py:766
↓ 1 callersMethod_retrieve_tokens_and_embeddings
(tokens, state_dicts, tokenizer)
diffusers/src/diffusers/loaders/textual_inversion.py:196
↓ 1 callersMethod_revert_dual_attention
Revert the image_unet `DualTransformer2DModel` blocks back to `Transformer2DModel` with image_unet weights Call this function if you
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py:143
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
diffusers/src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:209
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:237
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:195
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:184
↓ 1 callersMethod_sample
( self, timestep, sample, guidance_scale, text_embeddings, ste
diffusers/examples/community/sde_drag.py:486
↓ 1 callersMethod_save_pretrained
Save a model and its configuration file to a directory, so that it can be re-loaded using the [`~optimum.onnxruntime.modeling_ort.ORT
diffusers/src/diffusers/pipelines/onnx_utils.py:80
↓ 1 callersMethod_second_order_timesteps
(self, sigmas, log_sigmas)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:395
↓ 1 callersMethod_set_add_embedding
( self, addition_embed_type: str, addition_embed_type_num_heads: int, addition
diffusers/src/diffusers/models/unets/unet_2d_condition.py:683
↓ 1 callersMethod_set_class_embedding
( self, class_embed_type: Optional[str], act_fn: str, num_class_embeds: Option
diffusers/src/diffusers/models/unets/unet_2d_condition.py:646
↓ 1 callersMethod_set_encoder_hid_proj
( self, encoder_hid_dim_type: Optional[str], cross_attention_dim: Union[int, Tuple[int
diffusers/src/diffusers/models/unets/unet_2d_condition.py:606
↓ 1 callersMethod_set_pos_net_if_use_gligen
(self, attention_type: str, cross_attention_dim: int)
diffusers/src/diffusers/models/unets/unet_2d_condition.py:725
↓ 1 callersMethod_set_time_proj
( self, time_embedding_type: str, block_out_channels: int, flip_sin_to_cos: bo
diffusers/src/diffusers/models/unets/unet_2d_condition.py:578
↓ 1 callersMethod_temp_convert_self_to_deprecated_attention_blocks
(self)
diffusers/src/diffusers/models/modeling_utils.py:1102
↓ 1 callersMethod_test_pt_np_pil_outputs_equivalent
(self, expected_max_diff=1e-4, input_image_type="pt")
diffusers/tests/pipelines/test_pipelines_common.py:545
↓ 1 callersMethod_text_preprocessing
(self, text, clean_caption=False)
diffusers/src/diffusers/pipelines/lumina/pipeline_lumina.py:438
↓ 1 callersMethod_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.py:366
↓ 1 callersMethod_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_lcm.py:316
↓ 1 callersMethod_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_deis_multistep.py:302
↓ 1 callersMethod_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_edm_dpmsolver_multistep.py:300
↓ 1 callersMethod_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_unipc_multistep.py:386
↓ 1 callersMethod_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.py:264
↓ 1 callersMethod_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/examples/community/scheduling_ufogen.py:343
↓ 1 callersFunction_tile2latent_exclusive_indices
Given a tile row and column numbers returns the range of latents affected only by that tile in the overall image Returns a tuple with: -
diffusers/examples/community/mixture_tiling.py:87
↓ 1 callersFunction_tile2pixel_indices
Given a tile row and column numbers returns the range of pixels affected by that tiles in the overall image Returns a tuple with: - Start
diffusers/examples/community/mixture_tiling.py:51
↓ 1 callersMethod_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_kl.py:345
↓ 1 callersMethod_tokenize_prompt
(self, prompt, tokenizer_max_length=None)
diffusers/examples/community/sde_drag.py:332
↓ 1 callersMethod_undo_temp_convert_self_to_deprecated_attention_blocks
(self)
diffusers/src/diffusers/models/modeling_utils.py:1129
↓ 1 callersMethod_unpack_latents
(latents, height, width, vae_scale_factor)
diffusers/src/diffusers/pipelines/flux/pipeline_flux.py:438
↓ 1 callersMethod_unpack_latents
(latents, height, width, vae_scale_factor)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_controlnet_image_to_image.py:509
↓ 1 callersMethod_unpack_latents
(latents, height, width, vae_scale_factor)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_controlnet.py:466
↓ 1 callersMethod_unpack_latents
(latents, height, width, vae_scale_factor)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_img2img.py:497
↓ 1 callersMethod_unpack_latents
(latents, height, width, vae_scale_factor)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_inpaint.py:518
↓ 1 callersMethod_unpack_latents
(latents, height, width, vae_scale_factor)
diffusers/src/diffusers/pipelines/flux/pipeline_flux_controlnet_inpainting.py:536
↓ 1 callersMethod_up_decode
(self, level_outputs, r_embed, effnet, clip=None)
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:186
↓ 1 callersMethod_up_decode
(self, level_outputs, r_embed, clip)
diffusers/src/diffusers/models/unets/unet_stable_cascade.py:503
↓ 1 callersFunction_update_init_kwargs_with_connected_pipeline
( init_kwargs: dict, passed_pipe_kwargs: dict, passed_class_objs: dict, folder: str, **pipeline_loading_kw
diffusers/src/diffusers/pipelines/pipeline_loading_utils.py:799
↓ 1 callersMethodactivate
(self)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:155
↓ 1 callersMethodactivate
(self)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:138
↓ 1 callersMethodactivate
(self)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:151
← previousnext →2,401–2,500 of 13,352, ranked by callers