MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

↓ 4 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_combined.py:163
↓ 4 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_combined.py:272
↓ 4 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/wuerstchen/test_wuerstchen_combined.py:129
↓ 4 callersMethodget_dummy_components
(self, time_cond_proj_dim=None)
diffusers/tests/pipelines/controlnet_xs/test_controlnetxs.py:141
↓ 4 callersMethodget_dummy_components_with_full_downscaling
Get dummy components with x8 VAE downscaling and 4 UNet down blocks. These dummy components are intended to fully-exercise the T2I-Adapter
diffusers/tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:144
↓ 4 callersMethodget_dummy_controlnet_from_unet
For some tests we also need the underlying ControlNetXS-Adapter. For these, we'll build the UNetControlNetXSModel from the UNet and ControlNetXS-Adapt
diffusers/tests/models/unets/test_models_unet_controlnetxs.py:102
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/flux/test_pipeline_flux_img2img.py:90
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/flux/test_pipeline_flux_inpaint.py:90
↓ 4 callersMethodget_dummy_inputs
(self, device, height=64, width=64, seed=0)
diffusers/tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:398
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/stable_diffusion_2/test_stable_diffusion_latent_upscale.py:148
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/unidiffuser/test_unidiffuser.py:147
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/consistency_models/test_consistency_models.py:83
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/latent_consistency_models/test_latent_consistency_models.py:97
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/latent_consistency_models/test_latent_consistency_models_img2img.py:105
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/controlnet/test_controlnet_img2img.py:292
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/controlnet/test_controlnet_sdxl.py:605
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/controlnet/test_controlnet_inpaint.py:347
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/controlnet/test_controlnet.py:605
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/deepfloyd_if/test_if.py:43
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/stable_cascade/test_stable_cascade_prior.py:141
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/stable_diffusion_ldm3d/test_stable_diffusion_ldm3d.py:100
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_sdxl_inpaint.py:185
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_sdxl_img2img.py:187
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_sd.py:132
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_kolors.py:113
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_sdxl.py:145
↓ 4 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_sd_img2img.py:134
↓ 4 callersMethodget_empty_store
()
diffusers/examples/community/pipeline_stable_diffusion_boxdiff.py:207
↓ 4 callersFunctionget_indent
Returns the indent in given line (as string).
diffusers/utils/custom_init_isort.py:59
↓ 4 callersMethodget_inputs
(self, device, generator_device="cpu", dtype=torch.float32, seed=0)
diffusers/tests/single_file/test_stable_diffusion_single_file.py:47
↓ 4 callersMethodget_inputs
(self, device, seed=0, generate_latents=False)
diffusers/tests/pipelines/unidiffuser/test_unidiffuser.py:593
↓ 4 callersMethodget_inputs
(self, seed=0, get_fixed_latents=False, device="cpu", dtype=torch.float32, shape=(1, 3, 64, 64))
diffusers/tests/pipelines/consistency_models/test_consistency_models.py:183
↓ 4 callersMethodget_inputs
(self, seed=0)
diffusers/tests/pipelines/stable_diffusion_panorama/test_stable_diffusion_panorama.py:275
↓ 4 callersMethodget_inputs
(self, device, generator_device="cpu", dtype=torch.float32, seed=0)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:671
↓ 4 callersMethodget_inputs
(self, device, generator_device="cpu", dtype=torch.float32, seed=0)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:1027
↓ 4 callersMethodget_minmax_dims
(self, batch_size, image_height, image_width, static_batch, static_shape)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:271
↓ 4 callersMethodget_minmax_dims
(self, batch_size, image_height, image_width, static_batch, static_shape)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:267
↓ 4 callersFunctionget_module_dependencies
Refines the result of `extract_imports` to remove subfolders and get a proper list of module filenames: if a file as an import `from utils im
diffusers/utils/tests_fetcher.py:560
↓ 4 callersFunctionget_params_to_save
(params)
diffusers/examples/research_projects/multi_token_textual_inversion/textual_inversion_flax.py:348
↓ 4 callersFunctionget_predicted_original_sample
(model_output, timesteps, sample, prediction_type, alphas, sigmas)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:215
↓ 4 callersFunctionget_predicted_original_sample
(model_output, timesteps, sample, prediction_type, alphas, sigmas)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:372
↓ 4 callersFunctionget_predicted_original_sample
(model_output, timesteps, sample, prediction_type, alphas, sigmas)
diffusers/examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:338
↓ 4 callersFunctionget_predicted_original_sample
(model_output, timesteps, sample, prediction_type, alphas, sigmas)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:359
↓ 4 callersFunctionget_predicted_original_sample
(model_output, timesteps, sample, prediction_type, alphas, sigmas)
diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py:350
↓ 4 callersFunctionget_prompts_tokens_with_weights
Get prompt token ids and weights, this function works for both prompt and negative prompt Args: pipe (CLIPTokenizer) A C
diffusers/examples/community/lpw_stable_diffusion_xl.py:157
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_dpm_sde.py:14
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_kdpm2_discrete.py:13
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_unclip.py:12
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_kdpm2_ancestral.py:13
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_ddim.py:12
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_score_sde_ve.py:47
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_ipndm.py:14
↓ 4 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_euler_ancestral.py:13
↓ 4 callersFunctiongroup_tokens_and_weights
Produce tokens and weights in groups and pad the missing tokens Args: token_ids (list) The token ids from tokenizer
diffusers/examples/community/lpw_stable_diffusion_xl.py:207
↓ 4 callersMethodinvert
r""" The function to the pipeline for image inversion as described by the [LEDITS++ Paper](https://arxiv.org/abs/2301.12247). If the s
diffusers/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py:1199
↓ 4 callersFunctionis_clip_model
(checkpoint)
diffusers/src/diffusers/loaders/single_file_utils.py:385
↓ 4 callersFunctionis_open_clip_model
(checkpoint)
diffusers/src/diffusers/loaders/single_file_utils.py:406
↓ 4 callersFunctionload_checkpoint_to_model
(checkpoint, model, strict=False)
diffusers/scripts/convert_kandinsky_to_diffusers.py:1320
↓ 4 callersMethodload_module
(name, value)
diffusers/src/diffusers/loaders/single_file.py:472
↓ 4 callersFunctionparse_list
(value)
diffusers/scripts/convert_if.py:703
↓ 4 callersMethodprecondition_inputs
(self, sample, sigma)
diffusers/src/diffusers/schedulers/scheduling_edm_euler.py:148
↓ 4 callersMethodprecondition_outputs
(self, sample, model_output, sigma)
diffusers/src/diffusers/schedulers/scheduling_edm_euler.py:161
↓ 4 callersMethodprepare_control_image
( self, image, width, height, batch_size, num_images_per_promp
diffusers/examples/community/fresco_v2v.py:1915
↓ 4 callersMethodprevious_timestep
(self, timestep)
diffusers/src/diffusers/schedulers/scheduling_lcm.py:645
↓ 4 callersFunctionrearrange_3
(tensor, f)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:62
↓ 4 callersFunctionrearrange_3
(tensor, f)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:38
↓ 4 callersFunctionrearrange_4
(tensor)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:68
↓ 4 callersFunctionrearrange_4
(tensor)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:43
↓ 4 callersFunctionrenew_temp_conv_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_i2vgen_to_diffusers.py:101
↓ 4 callersFunctionrenew_temp_conv_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_ms_text_to_video_to_diffusers.py:106
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_original_audioldm2_to_diffusers.py:88
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_svd_to_diffusers.py:556
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_versatile_diffusion_to_diffusers.py:128
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_original_audioldm_to_diffusers.py:79
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_zero123_to_diffusers.py:624
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_original_musicldm_to_diffusers.py:80
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_unidiffuser_to_diffusers.py:48
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/examples/research_projects/promptdiffusion/convert_original_promptdiffusion_to_diffusers.py:103
↓ 4 callersMethodreset
(self)
diffusers/examples/vqgan/train_vqgan.py:64
↓ 4 callersMethodreset_device_map
r""" Resets the device maps (if any) to None.
diffusers/src/diffusers/pipelines/pipeline_utils.py:1136
↓ 4 callersFunctionresnet_to_diffusers_checkpoint
(checkpoint, *, diffusers_resnet_prefix, resnet_prefix)
diffusers/scripts/convert_kandinsky_to_diffusers.py:750
↓ 4 callersFunctionresnet_to_diffusers_checkpoint
(checkpoint, *, diffusers_resnet_prefix, resnet_prefix)
diffusers/scripts/convert_kakao_brain_unclip_to_diffusers.py:799
↓ 4 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:107
↓ 4 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
diffusers/src/diffusers/pipelines/flux/pipeline_flux_img2img.py:89
↓ 4 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py:41
↓ 4 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
diffusers/examples/community/pipeline_sdxl_style_aligned.py:375
↓ 4 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
diffusers/examples/community/lpw_stable_diffusion_xl.py:522
↓ 4 callersFunctionrunEngine
(engine, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:379
↓ 4 callersMethodrun_safety_checker
(self, image, device, dtype)
diffusers/examples/community/fresco_v2v.py:1675
↓ 4 callersMethodsave_lora_weights
(cls, **kwargs)
diffusers/src/diffusers/loaders/lora_base.py:194
↓ 4 callersFunctionsave_progress
(text_encoder, placeholder_token_ids, accelerator, args, save_path, safe_serialization=True)
diffusers/examples/textual_inversion/textual_inversion_sdxl.py:178
↓ 4 callersFunctionset_adapter_layers
(model, enabled=True)
diffusers/src/diffusers/utils/peft_utils.py:204
↓ 4 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
diffusers/src/diffusers/models/unets/unet_motion_model.py:1878
↓ 4 callersMethodset_joint_mode
r"""Manually set the generation mode to unconditional joint image-text generation.
diffusers/src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:264
↓ 4 callersMethodset_lora_device
Moves the LoRAs listed in `adapter_names` to a target device. Useful for offloading the LoRA to the CPU in case you want to load mult
diffusers/src/diffusers/loaders/lora_base.py:684
↓ 4 callersMethodset_progress_bar_config
(self, **kwargs)
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:198
↓ 4 callersMethodset_progress_bar_config
(self, **kwargs)
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:211
↓ 4 callersFunctionset_verbosity
Set the verbosity level for the 🤗 Diffusers' root logger. Args: verbosity (`int`): Logging level which can be one of:
diffusers/src/diffusers/utils/logging.py:147
↓ 4 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_ldm_original_checkpoint_to_diffusers.py:25
↓ 4 callersFunctionswap_scale_shift
(weight, dim)
diffusers/scripts/convert_sd3_to_diffusers.py:37
← previousnext →801–900 of 13,352, ranked by callers