MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
diffusers/examples/community/stable_diffusion_controlnet_inpaint_img2img.py:597
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
diffusers/examples/community/pipeline_hunyuandit_differential_img2img.py:626
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
diffusers/examples/community/stable_diffusion_controlnet_img2img.py:524
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, is_text2img)
diffusers/examples/community/lpw_stable_diffusion.py:710
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
diffusers/examples/community/run_tensorrt_controlnet.py:551
↓ 1 callersFunctionget_traceback_matrix
(size_x, size_y)
diffusers/examples/community/pipeline_prompt2prompt.py:1347
↓ 1 callersFunctionget_train_dataset
(args, accelerator)
diffusers/examples/t2i_adapter/train_t2i_adapter_sdxl.py:623
↓ 1 callersFunctionget_train_dataset
(args, accelerator)
diffusers/examples/controlnet/train_controlnet_flux.py:684
↓ 1 callersFunctionget_train_dataset
(args, accelerator)
diffusers/examples/controlnet/train_controlnet_sdxl.py:633
↓ 1 callersFunctionget_transformers_submodules
Returns the list of Transformers submodules.
diffusers/utils/check_inits.py:241
↓ 1 callersFunctionget_tree_starting_at
Returns the tree starting at a given module following all edges. Args: module (`str`): The module that will be the root of the subtr
diffusers/utils/tests_fetcher.py:632
↓ 1 callersMethodget_unet_hidden_states
(self, z_all, t, prompt_embd)
diffusers/examples/community/pipeline_fabric.py:347
↓ 1 callersFunctionget_up_block
( up_block_type, num_layers, in_channels, out_channels, prev_output_channel, temb_chan
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:109
↓ 1 callersFunctionget_up_block
( up_block_type, num_layers, in_channels, out_channels, prev_output_channel, temb_chan
diffusers/src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:949
↓ 1 callersFunctionget_up_block_adapter
( out_channels: int, prev_output_channel: int, ctrl_skip_channels: List[int], )
diffusers/src/diffusers/models/controlnet_xs.py:231
↓ 1 callersFunctionget_up_block_types
(original_decoder_config)
diffusers/scripts/convert_vq_diffusion_to_diffusers.py:125
↓ 1 callersMethodget_variables
(self, alpha_prod_t, alpha_prod_t_prev, alpha_prod_t_back=None)
diffusers/src/diffusers/schedulers/scheduling_dpm_cogvideox.py:306
↓ 1 callersMethodget_velocity
(self, sample: torch.Tensor, noise: torch.Tensor, timesteps: torch.IntTensor)
diffusers/src/diffusers/schedulers/scheduling_lcm.py:622
↓ 1 callersMethodget_views
Generates a list of views based on the given parameters. Here, we define the mappings F_i (see Eq. 7 in the MultiDiffusion paper http
diffusers/src/diffusers/pipelines/stable_diffusion_panorama/pipeline_stable_diffusion_panorama.py:707
↓ 1 callersMethodget_w_embedding
see https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps: t
diffusers/examples/community/latent_consistency_txt2img.py:180
↓ 1 callersMethodget_w_embedding
see https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps: t
diffusers/examples/community/latent_consistency_img2img.py:243
↓ 1 callersFunctionget_weighted_text_embeddings
r""" Prompts can be assigned with local weights using brackets. For example, prompt 'A (very beautiful) masterpiece' highlights the words 'ver
diffusers/examples/community/lpw_stable_diffusion_onnx.py:265
↓ 1 callersFunctionget_weighted_text_embeddings
r""" Prompts can be assigned with local weights using brackets. For example, prompt 'A (very beautiful) masterpiece' highlights the words 'ver
diffusers/examples/community/lpw_stable_diffusion.py:258
↓ 1 callersFunctionget_weighted_text_embeddings_sdxl
This function can process long prompt with weights, no length limitation for Stable Diffusion XL Args: pipe (StableDiffusionPipe
diffusers/examples/community/lpw_stable_diffusion_xl.py:259
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior_emb2emb.py:289
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior.py:251
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py:291
↓ 1 callersFunctionglobal_align
(x, y, score)
diffusers/examples/community/pipeline_prompt2prompt.py:1355
↓ 1 callersFunctiongrab_wildcard_values
(wildcard_option_dict: Dict[str, List[str]] = {}, wildcard_files: List[str] = [])
diffusers/examples/community/wildcard_stable_diffusion.py:35
↓ 1 callersFunctiongradient_penalty
(images, output, weight=10)
diffusers/examples/vqgan/train_vqgan.py:128
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:105
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
diffusers/examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:93
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:111
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py:87
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
diffusers/examples/research_projects/controlnet/train_controlnet_webdataset.py:85
↓ 1 callersFunctionguidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps (`torch.T
diffusers/examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:396
↓ 1 callersFunctionguidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps (`torch.T
diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py:304
↓ 1 callersFunctiongumbel_noise
(t, generator=None)
diffusers/src/diffusers/schedulers/scheduling_amused.py:12
↓ 1 callersFunctiongumbel_noised
Apply gumbel noise to `logits`
diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py:62
↓ 1 callersFunctionhas_previous_benchmark
()
diffusers/benchmarks/push_results.py:13
↓ 1 callersFunctionignore_unautoclassed
Rules to determine if `name` should be in an auto class.
diffusers/utils/check_repo.py:431
↓ 1 callersFunctionignore_underscore_and_lowercase
Wraps a key function (as used in a sort) to lowercase and ignore underscores.
diffusers/utils/custom_init_isort.py:132
↓ 1 callersFunctionignore_undocumented
Rules to determine if `name` should be undocumented.
diffusers/utils/check_repo.py:615
↓ 1 callersMethodimage2latent
(self, image_path)
diffusers/examples/community/pipeline_null_text_inversion.py:73
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/t2i_adapter/train_t2i_adapter_sdxl.py:68
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/controlnet/train_controlnet.py:68
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/controlnet/train_controlnet_sd3.py:67
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/research_projects/controlnet/train_controlnet_webdataset.py:308
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/text2images.py:55
↓ 1 callersMethodimage_to_audio
Converts spectrogram to audio. Args: image (`PIL Image`): An grayscale image of `x_res x y_res`. Returns
diffusers/src/diffusers/pipelines/deprecated/audio_diffusion/mel.py:162
↓ 1 callersMethodimage_to_tensor
Convert latent PIL image to a torch tensor for further processing.
diffusers/examples/community/pipeline_fabric.py:742
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/custom_diffusion/train_custom_diffusion.py:113
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/dreambooth/train_dreambooth.py:207
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/dreambooth/train_dreambooth_lora.py:185
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
( pretrained_model_name_or_path: str, revision: str, subfolder: str = "text_encoder" )
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:209
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/controlnet/train_controlnet.py:190
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth.py:207
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth_lora.py:184
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/research_projects/multi_subject_dreambooth/train_multi_subject_dreambooth.py:159
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/research_projects/diffusion_dpo/train_diffusion_dpo.py:72
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str)
diffusers/examples/research_projects/colossalai/train_dreambooth_colossalai.py:33
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
diffusers/src/diffusers/schedulers/scheduling_ipndm.py:115
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:1025
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
diffusers/src/diffusers/schedulers/scheduling_lcm.py:254
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
diffusers/src/diffusers/schedulers/scheduling_flow_match_heun_discrete.py:174
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
diffusers/src/diffusers/schedulers/scheduling_tcd.py:255
↓ 1 callersFunctionindex_to_log_onehot
Convert batch of vector of class indices into batch of log onehot vectors Args: x (`torch.LongTensor` of shape `(batch size, vector
diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py:41
↓ 1 callersMethodinfer
(self, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:171
↓ 1 callersMethodinfer
(self, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:154
↓ 1 callersMethodinfer
(self, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:167
↓ 1 callersFunctioninfer_tests_to_run
The main function called by the test fetcher. Determines the tests to run from the diff. Args: output_file (`str`): The
diffusers/utils/tests_fetcher.py:909
↓ 1 callersFunctioninit
(self, *args, **kwargs)
diffusers/src/diffusers/configuration_utils.py:662
↓ 1 callersFunctioninit_hf_modules
Creates the cache directory for modules with an init, and adds it to the Python path.
diffusers/src/diffusers/utils/dynamic_modules_utils.py:48
↓ 1 callersFunctioninit_test_examples_dependencies
The test examples do not import from the examples (which are just scripts, not modules) so we need some extra care initializing the dependenc
diffusers/utils/tests_fetcher.py:693
↓ 1 callersMethodinit_weights
(self, rng: jax.Array)
diffusers/src/diffusers/models/vae_flax.py:827
↓ 1 callersMethodinit_weights
(self, rng: jax.Array)
diffusers/src/diffusers/models/controlnet_flax.py:172
↓ 1 callersMethodinitialize_new_tokens
(self, inserting_toks: List[str])
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:890
↓ 1 callersMethodinitialize_new_tokens
(self, inserting_toks: List[str])
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:721
↓ 1 callersFunctioninpaint_text2img
(*, args, checkpoint_map_location)
diffusers/scripts/convert_kandinsky_to_diffusers.py:908
↓ 1 callersFunctioninpaint_unet_model_from_original_config
()
diffusers/scripts/convert_kandinsky_to_diffusers.py:412
↓ 1 callersFunctioninpaint_unet_original_checkpoint_to_diffusers_checkpoint
(model, checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:418
↓ 1 callersFunctionintegrate_samples
r""" Function integrating the model output. Args: volume_range: Specifies the integral range [t0, t1] ts: timesteps d
diffusers/src/diffusers/pipelines/shap_e/renderer.py:85
↓ 1 callersMethodinterpolate
Function invoked when using the prior pipeline for interpolation. Args: images_and_prompts (`List[Union[str, PIL.Image.I
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior.py:133
↓ 1 callersMethodinterpolate_embedding
( self, start_embedding: torch.Tensor, end_embedding: torch.Tensor, num_interp
diffusers/examples/community/latent_consistency_interpolate.py:585
↓ 1 callersMethodinterpolate_latent
( self, start_latent: torch.Tensor, end_latent: torch.Tensor, num_interpolatio
diffusers/examples/community/latent_consistency_interpolate.py:616
↓ 1 callersMethodintersect
Args: origin: [batch_size, *shape, 3] direction: [batch_size, *shape, 3] t0_lower: Optional [batch_size,
diffusers/src/diffusers/pipelines/shap_e/renderer.py:300
↓ 1 callersFunctionis_a_private_model
Returns True if the model should not be in the main init.
diffusers/utils/check_repo.py:283
↓ 1 callersFunctionis_belong_to_blocks
(key, blocks)
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:847
↓ 1 callersFunctionis_bitsandbytes_available
()
diffusers/src/diffusers/utils/import_utils.py:447
↓ 1 callersFunctionis_clip_model_in_single_file
(class_obj, checkpoint)
diffusers/src/diffusers/loaders/single_file_utils.py:434
↓ 1 callersFunctionis_compel_available
()
diffusers/src/diffusers/utils/import_utils.py:411
↓ 1 callersFunctionis_copy_consistent
Check if the code commented as a copy in `filename` matches the original. Return the differences or overwrites the content depending on `over
diffusers/utils/check_copies.py:121
↓ 1 callersFunctionis_google_colab
()
diffusers/src/diffusers/utils/import_utils.py:451
↓ 1 callersFunctionis_matplotlib_available
()
diffusers/src/diffusers/utils/import_utils.py:439
↓ 1 callersFunctionis_rst_docstring
Returns `True` if `docstring` is written in rst.
diffusers/utils/check_repo.py:703
↓ 1 callersMethodis_shift_event_index
(self, index: int)
diffusers/src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:178
↓ 1 callersFunctionis_t5_in_single_file
(checkpoint)
diffusers/src/diffusers/loaders/single_file_utils.py:1817
↓ 1 callersFunctionis_test
(fname)
diffusers/utils/tests_fetcher.py:799
↓ 1 callersFunctionis_timm_available
()
diffusers/src/diffusers/utils/import_utils.py:320
↓ 1 callersFunctionis_vae_in_checkpoint
(original_state_dict)
diffusers/scripts/convert_sd3_to_diffusers.py:192
← previousnext →3,701–3,800 of 13,352, ranked by callers