MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

↓ 5 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
diffusers/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py:291
↓ 5 callersFunction_tile2latent_indices
Given a tile row and column numbers returns the range of latents affected by that tiles in the overall image Returns a tuple with: - Star
diffusers/examples/community/mixture_tiling.py:72
↓ 5 callersMethodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_ddpm.py:499
↓ 5 callersMethodapply_watermark
(self, images: torch.Tensor)
diffusers/src/diffusers/pipelines/stable_diffusion_xl/watermark.py:24
↓ 5 callersMethodcheck_copy_consistency
(self, comment, class_name, class_code, overwrite_result=None)
diffusers/tests/others/test_check_copies.py:62
↓ 5 callersMethodcheck_over_configs
(self, time_step=0, **config)
diffusers/tests/schedulers/test_scheduler_pndm.py:25
↓ 5 callersFunctioncheck_peft_version
r""" Checks if the version of PEFT is compatible. Args: version (`str`): The version of PEFT to check against.
diffusers/src/diffusers/utils/peft_utils.py:278
↓ 5 callersFunctioncompare_versions
Compares a library version to some requirement using a given operation. Args: library_or_version (`str` or `packaging.version.Versio
diffusers/src/diffusers/utils/import_utils.py:669
↓ 5 callersFunctionconvert_all_state_dict_to_peft
r""" Attempts to first `convert_state_dict_to_peft`, and if it doesn't detect `lora_linear_layer` for a valid `DIFFUSERS` LoRA for example, at
diffusers/src/diffusers/utils/state_dict_utils.py:256
↓ 5 callersFunctionconvert_state_dict_to_kohya
r""" Converts a `PEFT` state dict to `Kohya` format that can be used in AUTOMATIC1111, ComfyUI, SD.Next, InvokeAI, etc. The method only suppor
diffusers/src/diffusers/utils/state_dict_utils.py:275
↓ 5 callersMethoddecode
(self, latents, deterministic: bool = True, return_dict: bool = True)
diffusers/src/diffusers/models/vae_flax.py:849
↓ 5 callersMethoddummy_sample
(self)
diffusers/tests/schedulers/test_schedulers.py:315
↓ 5 callersMethodenable_adapters
Enable adapters that are attached to the model. The model uses `self.active_adapters()` to retrieve the list of adapters to enable.
diffusers/src/diffusers/loaders/peft.py:221
↓ 5 callersMethodenable_freeu
r"""Enables the FreeU mechanism from https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stage blocks wher
diffusers/src/diffusers/models/unets/unet_i2vgen_xl.py:445
↓ 5 callersMethodenable_npu_flash_attention
r""" Enable npu flash attention from torch_npu
diffusers/src/diffusers/models/modeling_utils.py:190
↓ 5 callersMethodencode_event
Encode an event to an index.
diffusers/src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:185
↓ 5 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
diffusers/src/diffusers/pipelines/stable_diffusion_diffedit/pipeline_stable_diffusion_diffedit.py:408
↓ 5 callersMethodexpand_tensor_or_array
Expand a tensor or array to a specified number of images.
diffusers/src/diffusers/pipelines/marigold/marigold_image_processing.py:32
↓ 5 callersFunctionextract_into_tensor
(a, t, x_shape)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:252
↓ 5 callersFunctionextract_into_tensor
(a, t, x_shape)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:409
↓ 5 callersFunctionextract_into_tensor
(a, t, x_shape)
diffusers/examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:375
↓ 5 callersFunctionextract_into_tensor
(a, t, x_shape)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:396
↓ 5 callersFunctionextract_into_tensor
(a, t, x_shape)
diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py:387
↓ 5 callersFunctionfetch_diffusers_config
(checkpoint)
diffusers/src/diffusers/loaders/single_file_utils.py:542
↓ 5 callersFunctionflow_warp
(feature, flow, mask=False, mode="bilinear", padding_mode="zeros")
diffusers/examples/community/rerender_a_video.py:83
↓ 5 callersMethodfull_loop
(self, scheduler=None, **config)
diffusers/tests/schedulers/test_scheduler_deis.py:92
↓ 5 callersMethodgelu
(self, gate: torch.Tensor)
diffusers/src/diffusers/models/activations.py:81
↓ 5 callersMethodget_dummy_components
(self, adapter_type, time_cond_proj_dim=None)
diffusers/tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:60
↓ 5 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/controlnet/test_controlnet_inpaint_sdxl.py:81
↓ 5 callersMethodget_dummy_components
(self, time_cond_proj_dim=None)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:405
↓ 5 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/stable_cascade/test_stable_cascade_combined.py:135
↓ 5 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/cogvideo/test_cogvideox_video2video.py:56
↓ 5 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/cogvideo/test_cogvideox_image2video.py:64
↓ 5 callersMethodget_dummy_components
(self)
diffusers/tests/pipelines/cogvideo/test_cogvideox.py:62
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0, height=64, width=64, num_images=1)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_adapter.py:271
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/aura_flow/test_pipeline_aura_flow.py:74
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/controlnet/test_controlnet_sdxl.py:792
↓ 5 callersMethodget_dummy_inputs
(self, seed=0)
diffusers/tests/pipelines/stable_diffusion/test_onnx_stable_diffusion_upscale.py:49
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_instruction_pix2pix.py:119
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_controlnet_sdxl.py:156
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_controlnet_sd_inpaint.py:128
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_controlnet_sd.py:138
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/pag/test_pag_controlnet_sdxl_img2img.py:158
↓ 5 callersMethodget_dummy_inputs
(self, device, seed=0)
diffusers/tests/pipelines/wuerstchen/test_wuerstchen_prior.py:124
↓ 5 callersMethodget_dummy_inputs_pipe
(self, device, seed=0)
diffusers/tests/pipelines/test_pipelines_common.py:654
↓ 5 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
diffusers/examples/community/gluegen.py:525
↓ 5 callersMethodget_image_processor
(self, repo_id)
diffusers/tests/pipelines/ip_adapters/test_ip_adapter_stable_diffusion.py:71
↓ 5 callersMethodget_inputs
(self, device, generator_device="cpu", dtype=torch.float32, seed=0)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion.py:1378
↓ 5 callersMethodget_list_adapters
Gets the current list of all available adapters in the pipeline.
diffusers/src/diffusers/loaders/lora_base.py:662
↓ 5 callersFunctionget_params_to_save
(params)
diffusers/examples/textual_inversion/textual_inversion_flax.py:361
↓ 5 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_edm_euler.py:17
↓ 5 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_heun.py:13
↓ 5 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_sasolver.py:15
↓ 5 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_ddim_parallel.py:26
↓ 5 callersMethodget_scheduler_config
(self, **kwargs)
diffusers/tests/schedulers/test_scheduler_lms.py:13
↓ 5 callersMethodget_scheduler_config
(self)
diffusers/tests/schedulers/test_scheduler_flax.py:63
↓ 5 callersMethodget_sd_image
(self, seed=0, shape=(4, 3, 512, 512), fp16=False)
diffusers/tests/models/autoencoders/test_models_vae.py:860
↓ 5 callersMethodget_sd_vae_model
(self, model_id="cross-attention/asymmetric-autoencoder-kl-x-1-5", fp16=False)
diffusers/tests/models/autoencoders/test_models_vae.py:865
↓ 5 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
diffusers/examples/community/fresco_v2v.py:1946
↓ 5 callersMethodget_vq_and_discriminator_configs
(self, tmpdir)
diffusers/examples/vqgan/test_vqgan.py:81
↓ 5 callersFunctionget_word_inds
(text: str, word_place: int, tokenizer)
diffusers/examples/community/pipeline_prompt2prompt.py:1240
↓ 5 callersFunctionis_torchsde_available
()
diffusers/src/diffusers/utils/import_utils.py:423
↓ 5 callersFunctionload_checkpoint_to_model
(checkpoint, model, strict=False)
diffusers/scripts/convert_kakao_brain_unclip_to_diffusers.py:1033
↓ 5 callersMethodmode
(self)
diffusers/src/diffusers/models/autoencoders/vae.py:819
↓ 5 callersMethodmodel
(sample, t, *args)
diffusers/tests/schedulers/test_schedulers.py:359
↓ 5 callersFunctionmultiply_range
(start_position, multiplier)
diffusers/examples/community/lpw_stable_diffusion_onnx.py:120
↓ 5 callersFunctionmultiply_range
(start_position, multiplier)
diffusers/examples/community/lpw_stable_diffusion_xl.py:109
↓ 5 callersFunctionmultiply_range
(start_position, multiplier)
diffusers/examples/community/lpw_stable_diffusion.py:97
↓ 5 callersMethodnumpy_to_pt
Convert a NumPy image to a PyTorch tensor.
diffusers/src/diffusers/pipelines/marigold/marigold_image_processing.py:59
↓ 5 callersFunctiononnx_export
( model, model_args: tuple, output_path: Path, ordered_input_names, output_names, dyna
diffusers/scripts/convert_stable_diffusion_controlnet_to_onnx.py:187
↓ 5 callersFunctiononnx_export
( model, model_args: tuple, output_path: Path, ordered_input_names, output_names, dyna
diffusers/scripts/convert_stable_diffusion_checkpoint_to_onnx.py:31
↓ 5 callersMethodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/unets/test_models_unet_3d_condition.py:60
↓ 5 callersFunctionprior
(*, args, checkpoint_map_location)
diffusers/scripts/convert_shap_e_to_diffusers.py:930
↓ 5 callersMethodpt_to_numpy
Convert a PyTorch tensor to a NumPy image.
diffusers/src/diffusers/pipelines/marigold/marigold_image_processing.py:51
↓ 5 callersFunctionrearrange_dims
(tensor: torch.Tensor)
diffusers/src/diffusers/models/resnet.py:377
↓ 5 callersFunctionrenew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_original_audioldm2_to_diffusers.py:65
↓ 5 callersFunctionrenew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
diffusers/scripts/convert_versatile_diffusion_to_diffusers.py:106
↓ 5 callersFunctionresize
(images: PIL.Image.Image, img_size: int)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:39
↓ 5 callersMethodresize_antialias
( image: torch.Tensor, size: Tuple[int, int], mode: str, is_aa: Optional[bool] = None )
diffusers/src/diffusers/pipelines/marigold/marigold_image_processing.py:74
↓ 5 callersFunctionrunEngine
(engine, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:396
↓ 5 callersFunctionrunEngine
(engine, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:392
↓ 5 callersMethodsample
(self, generator: Optional[torch.Generator] = None)
diffusers/src/diffusers/models/autoencoders/vae.py:780
↓ 5 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_2d_condition.py:762
↓ 5 callersMethodset_image_to_text_mode
r"""Manually set the generation mode to image-conditioned text generation.
diffusers/src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:260
↓ 5 callersMethodset_lora_layer
(self, lora_layer: Optional[LoRAConv2dLayer])
diffusers/src/diffusers/models/lora.py:311
↓ 5 callersMethodset_text_to_image_mode
r"""Manually set the generation mode to text-conditioned image generation.
diffusers/src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:256
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_original_audioldm2_to_diffusers.py:54
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_svd_to_diffusers.py:213
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_versatile_diffusion_to_diffusers.py:96
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_original_audioldm_to_diffusers.py:45
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_zero123_to_diffusers.py:198
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/scripts/convert_original_musicldm_to_diffusers.py:46
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
diffusers/examples/research_projects/promptdiffusion/convert_original_promptdiffusion_to_diffusers.py:71
↓ 5 callersMethodsimulate_backprop
(self, unet)
diffusers/tests/others/test_ema.py:54
↓ 5 callersMethodsimulate_backprop
(self, unet)
diffusers/tests/others/test_ema.py:189
↓ 5 callersFunctionto_np
(tensor)
diffusers/tests/pipelines/animatediff/test_animatediff_sdxl.py:28
↓ 5 callersFunctionupdate_unet_attention_ldm_to_diffusers
(ldm_keys, new_checkpoint, checkpoint, mapping)
diffusers/src/diffusers/loaders/single_file_utils.py:802
↓ 5 callersFunctionupdate_unet_resnet_ldm_to_diffusers
(ldm_keys, new_checkpoint, checkpoint, mapping=None)
diffusers/src/diffusers/loaders/single_file_utils.py:787
↓ 4 callersMethod__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
diffusers/src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:1357
↓ 4 callersMethod__init__
(self, c, c_skip=0, kernel_size=3, dropout=0.0)
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_common.py:29
← previousnext →601–700 of 13,352, ranked by callers