MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

↓ 19 callersFunctionis_peft_available
()
diffusers/src/diffusers/utils/import_utils.py:431
↓ 19 callersFunctionto_np
(tensor)
diffusers/tests/pipelines/stable_video_diffusion/test_stable_video_diffusion.py:39
↓ 19 callersFunctionto_np
(tensor)
diffusers/tests/pipelines/controlnet_xs/test_controlnetxs.py:72
↓ 18 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:389
↓ 18 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/animatediff/test_animatediff.py:123
↓ 18 callersMethodget_dummy_inputs_by_type
(self, device, seed=0, input_image_type="pt", output_type="np")
diffusers/tests/pipelines/test_pipelines_common.py:505
↓ 18 callersMethodget_inputs
(self, device, generator_device="cpu", dtype=torch.float32, seed=0)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion.py:851
↓ 18 callersMethodset_ip_adapter_scale
Set IP-Adapter scales per-transformer block. Input `scale` could be a single config or a list of configs for granular control over ea
diffusers/src/diffusers/loaders/ip_adapter.py:251
↓ 18 callersMethodstore
r""" Args: Save the current parameters for restoring later. parameters: Iterable of `torch.nn.Parameter`; the parameters t
diffusers/src/diffusers/training_utils.py:529
↓ 17 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_svd_to_diffusers.py:117
↓ 17 callersMethodcheck_over_forward
(self, time_step=0, **forward_kwargs)
diffusers/tests/schedulers/test_schedulers.py:431
↓ 17 callersMethodget_dummy_components
(self, skip_first_text_encoder=False, time_cond_proj_dim=None)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:75
↓ 17 callersMethodget_dummy_components
(self, time_cond_proj_dim=None)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:79
↓ 17 callersMethodget_dummy_inputs
(self, device, seed=0, num_frames: int = 2)
diffusers/tests/pipelines/animatediff/test_animatediff_video2video_controlnet.py:130
↓ 17 callersMethodrestore
r""" Args: Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without: af
diffusers/src/diffusers/training_utils.py:538
↓ 17 callersMethodstep_plms
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the linear multistep met
diffusers/src/diffusers/schedulers/scheduling_pndm.py:319
↓ 17 callersMethodstep_prk
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the Runge-Kutta method.
diffusers/src/diffusers/schedulers/scheduling_pndm.py:259
↓ 17 callersFunctionto_np
(tensor)
diffusers/tests/pipelines/animatediff/test_animatediff.py:33
↓ 17 callersFunctionto_np
(tensor)
diffusers/tests/pipelines/animatediff/test_animatediff_video2video.py:28
↓ 16 callersMethod__init__
(self, in_channels: int, out_channels: int, mid_channels: Optional[int] = None)
diffusers/src/diffusers/models/unets/unet_1d_blocks.py:562
↓ 16 callersMethod__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
diffusers/src/diffusers/models/unets/unet_3d_blocks.py:797
↓ 16 callersMethod_load_ip_adapter_weights
(self, state_dicts, low_cpu_mem_usage=False)
diffusers/src/diffusers/loaders/unet.py:838
↓ 16 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_if.py:649
↓ 16 callersMethodenable_free_noise
r""" Enable long video generation using FreeNoise. Args: context_length (`int`, defaults to `16`, *optional*):
diffusers/src/diffusers/pipelines/free_noise_utils.py:444
↓ 16 callersMethodget_dummy_input
( self, include_temb=True, include_res_hidden_states_tuple=False, include_enco
diffusers/tests/models/unets/test_unet_blocks_common.py:46
↓ 16 callersMethodget_dummy_inputs
(self, device, seed: int = 0, num_frames: int = 2)
diffusers/tests/pipelines/animatediff/test_animatediff_controlnet.py:135
↓ 16 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_animatediff.py:122
↓ 16 callersMethodget_image_encoder
(self, repo_id, subfolder)
diffusers/tests/pipelines/ip_adapters/test_ip_adapter_stable_diffusion.py:65
↓ 16 callersFunctionis_torch_npu_available
()
diffusers/src/diffusers/utils/import_utils.py:351
↓ 16 callersFunctionmake_zero_conv
(in_channels, out_channels=None)
diffusers/src/diffusers/models/controlnet_xs.py:1927
↓ 16 callersMethodsort
(a, b)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:62
↓ 15 callersFunction_set_state_dict_into_text_encoder
Sets the `lora_state_dict` into `text_encoder` coming from `transformers`. Args: lora_state_dict: The state dictionary to be set.
diffusers/src/diffusers/training_utils.py:206
↓ 15 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:381
↓ 15 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:495
↓ 15 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_i2vgen_to_diffusers.py:28
↓ 15 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_ms_text_to_video_to_diffusers.py:24
↓ 15 callersMethodcuda
(self, dtype=torch.float16, use_xformers=False)
diffusers/examples/community/pipeline_stable_diffusion_xl_instantid.py:447
↓ 15 callersMethodenable_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
diffusers/src/diffusers/models/autoencoders/autoencoder_kl.py:144
↓ 15 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:188
↓ 15 callersFunctionload_model_dict_into_meta
( model, state_dict: OrderedDict, device: Optional[Union[str, torch.device]] = None, dtype: Op
diffusers/src/diffusers/models/model_loading_utils.py:134
↓ 15 callersMethodprepare_inputs
(self, prompt: Union[str, List[str]])
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:167
↓ 15 callersFunctionto_np
(tensor)
diffusers/tests/pipelines/animatediff/test_animatediff_video2video_controlnet.py:29
↓ 15 callersFunctionunwrap_model
(model)
diffusers/examples/text_to_image/train_text_to_image_lora_sdxl.py:713
↓ 15 callersFunctionunwrap_model
(model)
diffusers/examples/research_projects/scheduled_huber_loss_training/text_to_image/train_text_to_image_lora_sdxl.py:696
↓ 14 callersMethod_apply_perturbed_attention_guidance
r""" Apply perturbed attention guidance to the noise prediction. Args: noise_pred (torch.Tensor): The noise prediction te
diffusers/src/diffusers/pipelines/pag/pag_utils.py:101
↓ 14 callersFunction_get_model_file
( pretrained_model_name_or_path: Union[str, Path], *, weights_name: str, subfolder: Optional[s
diffusers/src/diffusers/utils/hub_utils.py:281
↓ 14 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:449
↓ 14 callersFunctionadd_state_dict
(prefix, mod)
diffusers/scripts/convert_consistency_decoder.py:1047
↓ 14 callersFunctionassign_to_checkpoint
( paths, checkpoint, old_checkpoint, attention_paths_to_split=None, additional_replacements=None, config=N
diffusers/scripts/convert_ddpm_original_checkpoint_to_diffusers.py:56
↓ 14 callersMethodcheck_over_configs
(self, time_step=0, **config)
diffusers/tests/schedulers/test_scheduler_dpm_multi.py:41
↓ 14 callersMethodenable_free_init
Enables the FreeInit mechanism as in https://arxiv.org/abs/2312.07537. This implementation has been adapted from the [official repository](ht
diffusers/src/diffusers/pipelines/free_init_utils.py:27
↓ 14 callersMethodfuse_projections
(self, fuse=True)
diffusers/src/diffusers/models/attention_processor.py:666
↓ 14 callersMethodfuse_qkv_projections
Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value) are fused. For cross-att
diffusers/src/diffusers/models/controlnet_sd3.py:201
↓ 14 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/stable_video_diffusion/test_stable_video_diffusion.py:59
↓ 14 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/animatediff/test_animatediff_video2video.py:52
↓ 14 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/stable_diffusion_2/test_stable_diffusion_depth.py:158
↓ 14 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/controlnet/test_controlnet_sdxl.py:166
↓ 14 callersMethodget_dummy_inputs
(self, device, seed=0, img_res=64, output_pil=True)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:168
↓ 14 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_pixart_sigma.py:96
↓ 14 callersMethodset_pag_applied_layers
r""" Set the the self-attention layers to apply PAG. Raise ValueError if the input is invalid. Args: pag_applied_layers (
diffusers/src/diffusers/pipelines/pag/pag_utils.py:152
↓ 14 callersFunctionunwrap_model
(model)
diffusers/examples/dreambooth/train_dreambooth_sd3.py:1166
↓ 14 callersFunctionzero_module
(module)
diffusers/src/diffusers/models/controlnet.py:867
↓ 13 callersFunction_get_library_root_logger
()
diffusers/src/diffusers/utils/logging.py:73
↓ 13 callersMethod_get_signature_keys
(cls, obj)
diffusers/src/diffusers/pipelines/pipeline_utils.py:1525
↓ 13 callersMethod_modify_inputs_for_ip_adapter_test
(self, inputs: Dict[str, Any])
diffusers/tests/pipelines/test_pipelines_common.py:267
↓ 13 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_original_audioldm2_to_diffusers.py:156
↓ 13 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_versatile_diffusion_to_diffusers.py:195
↓ 13 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_original_audioldm_to_diffusers.py:149
↓ 13 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_zero123_to_diffusers.py:143
↓ 13 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/scripts/convert_original_musicldm_to_diffusers.py:149
↓ 13 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
diffusers/examples/research_projects/promptdiffusion/convert_original_promptdiffusion_to_diffusers.py:170
↓ 13 callersMethoddevice
r""" Returns: `torch.device`: The torch device on which the pipeline is located.
diffusers/src/diffusers/pipelines/pipeline_utils.py:464
↓ 13 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
diffusers/examples/community/fresco_v2v.py:1416
↓ 13 callersMethodfull_loop
(self, scheduler=None, **config)
diffusers/tests/schedulers/test_scheduler_unipc.py:91
↓ 13 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/animatediff/test_animatediff_video2video_controlnet.py:53
↓ 13 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/animatediff/test_animatediff.py:57
↓ 13 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/pag/test_pag_animatediff.py:57
↓ 13 callersMethodget_scheduler_config
(self)
diffusers/tests/schedulers/test_schedulers.py:355
↓ 13 callersFunctionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: Create sinusoidal timestep embeddings. Args timesteps (
diffusers/src/diffusers/models/embeddings.py:27
↓ 13 callersMethodpack_weights
(layers, prefix)
diffusers/src/diffusers/loaders/lora_base.py:714
↓ 13 callersFunctionto_np
(tensor)
diffusers/tests/pipelines/animatediff/test_animatediff_controlnet.py:35
↓ 13 callersMethodunfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
diffusers/src/diffusers/models/controlnet_sd3.py:227
↓ 12 callersMethod_maybe_convert_prompt
r""" Maybe convert a prompt into a "multi vector"-compatible prompt. If the prompt includes a token that corresponds to a multi-vector
diffusers/src/diffusers/loaders/textual_inversion.py:142
↓ 12 callersMethodcheck_dims
(self, batch_size, image_height, image_width)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:262
↓ 12 callersMethodcheck_dims
(self, batch_size, image_height, image_width)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:258
↓ 12 callersMethodcheck_over_configs
(self, time_step=0, **config)
diffusers/tests/schedulers/test_scheduler_dpm_multi_inverse.py:34
↓ 12 callersFunctionfree_memory
Runs garbage collection. Then clears the cache of the available accelerator.
diffusers/src/diffusers/training_utils.py:263
↓ 12 callersMethodfrom_unet2d
( cls, unet: UNet2DConditionModel, motion_adapter: Optional[MotionAdapter] = None,
diffusers/src/diffusers/models/unets/unet_motion_model.py:1630
↓ 12 callersMethodget_dummy_components
(self, skip_first_text_encoder=False, time_cond_proj_dim=None)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:80
↓ 12 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/animatediff/test_animatediff_controlnet.py:59
↓ 12 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/text_to_video_synthesis/test_text_to_video_zero_sdxl.py:132
↓ 12 callersMethodget_dummy_inputs_with_latents
(self, device, seed=0)
diffusers/tests/pipelines/unidiffuser/test_unidiffuser.py:181
↓ 12 callersFunctionis_note_seq_available
()
diffusers/src/diffusers/utils/import_utils.py:399
↓ 12 callersMethodprepare_latents
( self, image: Image.Image, text_embeds: torch.Tensor, timesteps: torch.Tensor
diffusers/examples/community/edict_pipeline.py:138
↓ 12 callersMethodprogress_bar
(self, iterable=None, total=None)
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:206
↓ 12 callersFunctionrenew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:79
↓ 12 callersFunctionrenew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_if.py:549
↓ 12 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:101
↓ 11 callersMethod__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:1789
↓ 11 callersMethod__init__
(self, dim, eps: float, elementwise_affine: bool = True)
diffusers/src/diffusers/models/normalization.py:410
← previousnext →201–300 of 13,352, ranked by callers