MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

↓ 2 callersFunctionscalings_for_boundary_conditions
(timestep, sigma_data=0.5, timestep_scaling=10.0)
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:359
↓ 2 callersFunctionscalings_for_boundary_conditions
(timestep, sigma_data=0.5, timestep_scaling=10.0)
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:324
↓ 2 callersFunctionscalings_for_boundary_conditions
(timestep, sigma_data=0.5, timestep_scaling=10.0)
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:346
↓ 2 callersFunctionscalings_for_boundary_conditions
(timestep, sigma_data=0.5, timestep_scaling=10.0)
examples/consistency_distillation/train_lcm_distill_sd_wds.py:336
↓ 2 callersFunctionscalings_for_boundary_conditions
(timestep, sigma_data=0.5, timestep_scaling=1.0)
examples/research_projects/consistency_training/train_cm_ct_unconditional.py:191
↓ 2 callersFunctionsegmentation
(img, sel_pix)
examples/brushnet/app_brushnet.py:255
↓ 2 callersMethodselect_outputs
(self, keep, names=None)
examples/community/stable_diffusion_tensorrt_inpaint.py:203
↓ 2 callersMethodselect_outputs
(self, keep, names=None)
examples/community/stable_diffusion_tensorrt_txt2img.py:188
↓ 2 callersMethodselect_outputs
(self, keep, names=None)
examples/community/stable_diffusion_tensorrt_img2img.py:203
↓ 2 callersMethodset_adapters_for_text_encoder
Sets the adapter layers for the text encoder. Args: adapter_names (`List[str]` or `str`): The names of t
src/diffusers/loaders/lora.py:958
↓ 2 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/diffusers/models/unets/unet_3d_condition.py:379
↓ 2 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/diffusers/models/unets/unet_i2vgen_xl.py:346
↓ 2 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/diffusers/models/unets/uvit_2d.py:241
↓ 2 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/diffusers/models/unets/unet_motion_model.py:575
↓ 2 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/diffusers/models/autoencoders/autoencoder_kl.py:187
↓ 2 callersMethodset_timestep
(self, t)
examples/community/rerender_a_video.py:181
↓ 2 callersFunctionset_verbosity_error
Set the verbosity to the `ERROR` level.
src/diffusers/utils/logging.py:179
↓ 2 callersFunctionset_verbosity_info
Set the verbosity to the `INFO` level.
src/diffusers/utils/logging.py:164
↓ 2 callersFunctionset_weights_and_activate_adapters
(model, adapter_names, weights)
src/diffusers/utils/peft_utils.py:227
↓ 2 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
scripts/convert_unidiffuser_to_diffusers.py:37
↓ 2 callersFunctionslerp
Find the interpolation point between the 'low' and 'high' values for the given 'val'. See https://en.wikipedia.org/wiki/Slerp for more details on
examples/community/unclip_text_interpolation.py:25
↓ 2 callersFunctionspherical_dist_loss
(x, y)
examples/community/clip_guided_stable_diffusion_img2img.py:117
↓ 2 callersFunctionspherical_dist_loss
(x, y)
examples/community/clip_guided_stable_diffusion.py:43
↓ 2 callersFunctionsplit_attentions
(*, weight, bias, split, chunk_size)
scripts/convert_if.py:678
↓ 2 callersFunctionsplit_code_in_indented_blocks
Split some code into its indented blocks, starting at a given level. Args: code (`str`): The code to split. indent_level (`s
utils/custom_init_isort.py:64
↓ 2 callersFunctionstartend
(cells, array)
examples/community/regional_prompting_stable_diffusion.py:435
↓ 2 callersMethodstep_plms
Step function propagating the sample with the linear multi-step method. This has one forward pass with multiple times to approximate
src/diffusers/schedulers/scheduling_pndm_flax.py:362
↓ 2 callersFunctionsuper_res_unet
(*, args, checkpoint_map_location)
scripts/convert_kakao_brain_unclip_to_diffusers.py:1001
↓ 2 callersMethodtearDown
(self)
tests/pipelines/test_pipelines.py:1058
↓ 2 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:567
↓ 2 callersMethodtest_dict_tuple_outputs_equivalent
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:144
↓ 2 callersMethodtest_dict_tuple_outputs_equivalent
(self)
tests/pipelines/kandinsky/test_kandinsky_combined.py:139
↓ 2 callersMethodtest_float16_inference
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:141
↓ 2 callersMethodtest_float16_inference
(self)
tests/pipelines/kandinsky/test_kandinsky_combined.py:136
↓ 2 callersMethodtest_inference_batch_single_identical
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:138
↓ 2 callersMethodtest_inference_batch_single_identical
(self)
tests/pipelines/kandinsky/test_kandinsky_combined.py:133
↓ 2 callersMethodtest_model_cpu_offload_forward_pass
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:147
↓ 2 callersMethodtest_save_load_local
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:150
↓ 2 callersMethodtest_save_load_optional_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:153
↓ 2 callersFunctiontext2img
(*, args, checkpoint_map_location)
scripts/convert_kandinsky_to_diffusers.py:890
↓ 2 callersFunctiontext_encoder_attn_modules
(text_encoder)
src/diffusers/loaders/__init__.py:33
↓ 2 callersFunctiontext_encoder_mlp_modules
(text_encoder)
src/diffusers/models/lora.py:55
↓ 2 callersMethodto_json_string
Serializes the configuration instance to a JSON string. Returns: `str`: String containing all the attrib
src/diffusers/configuration_utils.py:570
↓ 2 callersMethodto_load_and_store_prev
(self)
examples/community/rerender_a_video.py:191
↓ 2 callersFunctiontokenize_captions
(captions)
examples/instruct_pix2pix/train_instruct_pix2pix.py:629
↓ 2 callersFunctiontokenize_captions
(captions)
examples/research_projects/instructpix2pix_lora/train_instruct_pix2pix_lora.py:653
↓ 2 callersFunctiontokenize_prompt
(prompt, neg_prompt)
examples/research_projects/sdxl_flax/sdxl_single_aot.py:46
↓ 2 callersFunctiontrain_func
(model)
examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:584
↓ 2 callersFunctiontransformer_ada_norm_to_diffusers_checkpoint
(checkpoint, *, diffusers_ada_norm_prefix, ada_norm_prefix)
scripts/convert_vq_diffusion_to_diffusers.py:646
↓ 2 callersFunctiontransformer_attention_to_diffusers_checkpoint
(checkpoint, *, diffusers_attention_prefix, attention_prefix)
scripts/convert_vq_diffusion_to_diffusers.py:654
↓ 2 callersMethodtry_adding_tokens
(self, placeholder_token, *args, **kwargs)
examples/research_projects/multi_token_textual_inversion/multi_token_clip.py:37
↓ 2 callersMethodundo_step
(self, sample, timestep, generator=None)
src/diffusers/schedulers/scheduling_repaint.py:335
↓ 2 callersFunctionunet_add_embedding
(checkpoint)
scripts/convert_kandinsky_to_diffusers.py:516
↓ 2 callersFunctionunet_conv_in
(checkpoint)
scripts/convert_kandinsky_to_diffusers.py:503
↓ 2 callersFunctionunet_conv_norm_out
(checkpoint)
scripts/convert_kandinsky_to_diffusers.py:549
↓ 2 callersFunctionunet_conv_out
(checkpoint)
scripts/convert_kandinsky_to_diffusers.py:563
↓ 2 callersFunctionunet_downblock_to_diffusers_checkpoint
( model, checkpoint, *, diffusers_down_block_idx, original_down_block_idx, num_head_channels )
scripts/convert_kandinsky_to_diffusers.py:577
↓ 2 callersFunctionunet_encoder_hid_proj
(checkpoint)
scripts/convert_kandinsky_to_diffusers.py:533
↓ 2 callersFunctionunet_midblock_to_diffusers_checkpoint
(model, checkpoint, *, num_head_channels)
scripts/convert_kandinsky_to_diffusers.py:636
↓ 2 callersFunctionunet_time_embeddings
(checkpoint)
scripts/convert_kandinsky_to_diffusers.py:487
↓ 2 callersFunctionunet_upblock_to_diffusers_checkpoint
( model, checkpoint, *, diffusers_up_block_idx, original_up_block_idx, num_head_channels )
scripts/convert_kandinsky_to_diffusers.py:680
↓ 2 callersMethodunfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
src/diffusers/models/unets/unet_i2vgen_xl.py:502
↓ 2 callersMethodunpad
(self, x)
examples/community/rerender_a_video.py:1191
↓ 2 callersMethodunscale
(self, embeds)
src/diffusers/pipelines/stable_diffusion/stable_unclip_image_normalizer.py:55
↓ 2 callersFunctionunwrap_model
(model)
examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py:590
↓ 2 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:576
↓ 2 callersMethodupcast_vae
(self)
examples/community/pipeline_stable_diffusion_xl_ipex.py:652
↓ 2 callersFunctionupdate_alpha_time_word
( alpha, bounds: Union[float, Tuple[float, float]], prompt_ind: int, word_inds: Optional[torch
examples/community/pipeline_prompt2prompt.py:1198
↓ 2 callersFunctionupdate_test_map_with_core_pipelines
(json_output_file: str)
utils/tests_fetcher.py:835
↓ 2 callersFunctionupdate_vae_attentions_ldm_to_diffusers
(keys, new_checkpoint, checkpoint, mapping)
src/diffusers/loaders/single_file_utils.py:905
↓ 2 callersFunctionupdate_version_in_file
Update the version in one file using a specific pattern.
utils/release.py:37
↓ 2 callersFunctionvariant_compatible_siblings
(filenames, variant=None)
src/diffusers/pipelines/pipeline_loading_utils.py:133
↓ 2 callersFunctionwrite_to_csv
Serializes a dictionary into a CSV file.
benchmarks/utils.py:80
↓ 2 callersFunctionzero_module
(module)
examples/research_projects/controlnetxs/controlnetxs.py:1011
↓ 1 callersMethodCLIP_preprocess
(self, x)
examples/community/pipeline_zero1to3.py:326
↓ 1 callersFunctionFeedForward
(dim, mult=4)
examples/community/pipeline_stable_diffusion_xl_instantid.py:50
↓ 1 callersMethod__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`): The
examples/community/tiled_upscaling.py:185
↓ 1 callersMethod__decode_latent
(self, latents)
examples/community/stable_diffusion_tensorrt_inpaint.py:947
↓ 1 callersMethod__decode_latent
(self, latents)
examples/community/stable_diffusion_tensorrt_txt2img.py:835
↓ 1 callersMethod__decode_latent
(self, latents)
examples/community/stable_diffusion_tensorrt_img2img.py:947
↓ 1 callersMethod__denoise_latent
( self, latents, text_embeddings, timesteps=None, step_offset=0, mask=None, masked_image_latents=None
examples/community/stable_diffusion_tensorrt_inpaint.py:914
↓ 1 callersMethod__denoise_latent
( self, latents, text_embeddings, timesteps=None, step_offset=0, mask=None, masked_image_latents=None
examples/community/stable_diffusion_tensorrt_txt2img.py:802
↓ 1 callersMethod__denoise_latent
( self, latents, text_embeddings, timesteps=None, step_offset=0, mask=None, masked_image_latents=None
examples/community/stable_diffusion_tensorrt_img2img.py:914
↓ 1 callersMethod__encode_image
(self, init_image)
examples/community/stable_diffusion_tensorrt_inpaint.py:854
↓ 1 callersMethod__encode_image
(self, init_image)
examples/community/stable_diffusion_tensorrt_img2img.py:854
↓ 1 callersMethod__encode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_tensorrt_inpaint.py:861
↓ 1 callersMethod__encode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_tensorrt_txt2img.py:749
↓ 1 callersMethod__encode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_tensorrt_img2img.py:861
↓ 1 callersMethod__getattr__
Return empty function.
src/diffusers/utils/logging.py:289
↓ 1 callersMethod__init__
(self)
src/diffusers/pipelines/stable_diffusion_sag/pipeline_stable_diffusion_sag.py:62
↓ 1 callersMethod__init__
(self, batch_size=2)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:86
↓ 1 callersMethod__init__
(self, batch_size=2)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:58
↓ 1 callersMethod__init__
(self, model, alphas_cumprod)
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py:37
↓ 1 callersMethod__init__
(self, model, alphas_cumprod)
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:79
↓ 1 callersMethod__init__
( self, vae_encoder: OnnxRuntimeModel, vae_decoder: OnnxRuntimeModel, text_enc
src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion.py:46
↓ 1 callersMethod__init__
(self, transformerDimSize=1024, imageDimSize=768, **kwargs)
src/diffusers/pipelines/kandinsky/text_encoder.py:8
↓ 1 callersMethod__init__
(self, config)
src/diffusers/pipelines/paint_by_example/image_encoder.py:51
↓ 1 callersMethod__init__
( self, vqvae: VQModel, text_encoder: CLIPTextModel, tokenizer: CLIPTokenizer,
src/diffusers/pipelines/deprecated/vq_diffusion/pipeline_vq_diffusion.py:80
↓ 1 callersMethod__init__
(self)
src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_pix2pix_zero.py:221
↓ 1 callersMethod__init__
( self, pad_token_id=1, bos_token_id=0, eos_token_id=2, project_dim=51
src/diffusers/pipelines/deprecated/alt_diffusion/modeling_roberta_series.py:40
← previousnext →1,501–1,600 of 9,976, ranked by callers