MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

↓ 1 callersMethodunload_ip_adapter
Unloads the IP Adapter weights Examples: ```python >>> # Assuming `pipeline` is already loaded with the IP Adapter
src/diffusers/loaders/ip_adapter.py:252
↓ 1 callersMethodunmap_to_all
(self, inds: torch.LongTensor)
src/diffusers/models/autoencoders/vae.py:707
↓ 1 callersMethodunscale_latents
[0, 1] -> raw latents
src/diffusers/models/autoencoders/autoencoder_tiny.py:162
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:518
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:566
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:519
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:469
↓ 1 callersFunctionunsqueeze_tile
(tile, original_image_slice)
examples/community/tiled_upscaling.py:87
↓ 1 callersFunctionunwrap_model
(model)
examples/text_to_image/train_text_to_image.py:843
↓ 1 callersFunctionunwrap_model
(model)
examples/text_to_image/train_text_to_image_sdxl.py:977
↓ 1 callersFunctionunwrap_model
(model)
examples/research_projects/consistency_training/train_cm_ct_unconditional.py:1151
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:722
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:857
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1093
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/brushnet/pipeline_brushnet_sd_xl.py:859
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:441
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:533
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:739
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:852
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:1082
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:1012
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py:514
↓ 1 callersMethodupcast_vae
(self)
examples/research_projects/controlnetxs/pipeline_controlnet_xs_sd_xl.py:616
↓ 1 callersMethodupcast_vae
(self)
examples/community/pipeline_sdxl_style_aligned.py:1138
↓ 1 callersMethodupcast_vae
(self)
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter.py:790
↓ 1 callersMethodupcast_vae
(self)
examples/community/lpw_stable_diffusion_xl.py:1280
↓ 1 callersMethodupcast_vae
(self)
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter_inpaint.py:1133
↓ 1 callersMethodupdate
(self, *args, **kwargs)
src/diffusers/configuration_utils.py:72
↓ 1 callersFunctionupdate_ema
Update target parameters to be closer to those of source parameters using an exponential moving average. :param target_params: the targe
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:376
↓ 1 callersFunctionupdate_ema
Update target parameters to be closer to those of source parameters using an exponential moving average. :param target_params: the targe
examples/consistency_distillation/train_lcm_distill_sd_wds.py:415
↓ 1 callersFunctionupdate_version_in_examples
Update the version in all examples files.
utils/release.py:48
↓ 1 callersMethodupdate_weights
(self, k)
examples/community/dps_pipeline.py:404
↓ 1 callersFunctionupsample_2d
r"""Upsample2D a batch of 2D images with the given filter. Accepts a batch of 2D images of the shape `[N, C, H, W]` or `[N, H, W, C]` and upsample
src/diffusers/models/upsampling.py:410
↓ 1 callersFunctionvae_pt_to_vae_diffuser
( checkpoint_path: str, output_path: str, )
scripts/convert_vae_pt_to_diffusers.py:119
↓ 1 callersFunctionvelocity_to_bin
(velocity, num_velocity_bins)
src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:343
↓ 1 callersFunctionverify_param_count
(orig_path, unet_diffusers_config)
scripts/convert_if.py:1119
↓ 1 callersFunctionvisual_encoder_from_original_checkpoint
(model, diffuser_prefix, original_prefix)
scripts/convert_blipdiffusion_to_diffusers.py:233
↓ 1 callersFunctionvisual_encoder_layer_from_original_checkpoint
(model, diffuser_prefix, original_prefix)
scripts/convert_blipdiffusion_to_diffusers.py:206
↓ 1 callersFunctionvolume_query_points
(volume, grid_size)
src/diffusers/pipelines/shap_e/renderer.py:119
↓ 1 callersFunctionvqvae_decoder_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_vq_diffusion_to_diffusers.py:303
↓ 1 callersFunctionvqvae_encoder_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_vq_diffusion_to_diffusers.py:203
↓ 1 callersFunctionvqvae_model_from_original_config
(original_config)
scripts/convert_vq_diffusion_to_diffusers.py:53
↓ 1 callersFunctionvqvae_original_checkpoint_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_vq_diffusion_to_diffusers.py:172
↓ 1 callersFunctionwarn_deprecated_model_variant
(pretrained_model_name_or_path, token, variant, revision, model_filenames)
src/diffusers/pipelines/pipeline_loading_utils.py:201
↓ 1 callersFunctionwarp_single_latent
Warp latent of a single frame with given flow Args: latent: latent code of a single frame reference_flow: flow which to warp
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:234
↓ 1 callersFunctionwarp_single_latent
Warp latent of a single frame with given flow Args: latent: latent code of a single frame reference_flow: flow which to warp
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:207
↓ 1 callersFunctionweighted_mask
(masks)
examples/research_projects/multi_subject_dreambooth_inpainting/train_multi_subject_dreambooth_inpainting.py:289
↓ 1 callersMethodweights_init
(self)
examples/community/dps_pipeline.py:394
↓ 1 callersFunctionzero_grads
()
examples/research_projects/multi_token_textual_inversion/textual_inversion_flax.py:472
↓ 1 callersFunctionzero_grads
()
examples/textual_inversion/textual_inversion_flax.py:491
FunctionRMSELoss
(yhat, y)
examples/community/dps_pipeline.py:431
Method__call__
(self, *args, **kwargs)
src/diffusers/utils/logging.py:305
Method__call__
(self, **kwargs)
src/diffusers/pipelines/onnx_utils.py:59
Method__call__
Function invoked when calling the pipeline for generation. Args: prompt (`List[str]`): The prompt or pro
src/diffusers/pipelines/blip_diffusion/pipeline_blip_diffusion.py:188
Method__call__
( self, prompt_ids: jax.Array, params: Union[Dict, FrozenDict], prng_seed: jax
src/diffusers/pipelines/stable_diffusion_xl/pipeline_flax_stable_diffusion_xl.py:88
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:808
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:946
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:598
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1182
Method__call__
r""" The call function to the pipeline for generation. Args: image (`torch.Tensor` or `PIL.Image.Image`):
src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion_superresolution.py:68
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): The prompt or
src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:68
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): The prompt or
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:503
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/brushnet/pipeline_brushnet_sd_xl.py:936
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/brushnet/pipeline_brushnet.py:832
Method__call__
( self, attn, hidden_states, encoder_hidden_states=None, attention_mas
src/diffusers/pipelines/stable_diffusion_sag/pipeline_stable_diffusion_sag.py:65
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/stable_diffusion_sag/pipeline_stable_diffusion_sag.py:522
Method__call__
The call function to the pipeline for generation. Args: image (`PIL.Image.Image` or `List[PIL.Image.Image]` or `torch.Fl
src/diffusers/pipelines/unclip/pipeline_unclip_image_variation.py:200
Method__call__
The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): The prompt or pro
src/diffusers/pipelines/unclip/pipeline_unclip.py:212
Method__call__
r""" The call function to the pipeline for generation. Args: batch_size (`int`, *optional*, defaults to 1):
src/diffusers/pipelines/ddpm/pipeline_ddpm.py:46
Method__call__
r""" The call function to the pipeline for image-to-video generation with [`I2VGenXLPipeline`]. Args: prompt (`str` or `L
src/diffusers/pipelines/i2vgen_xl/pipeline_i2vgen_xl.py:517
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/musicldm/pipeline_musicldm.py:420
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/audioldm/pipeline_audioldm.py:353
Method__call__
r""" The call function to the pipeline for generation. Args: image (`PIL.Image.Image` or `List[PIL.Image.Image]` or `torc
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:334
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:1080
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:457
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:89
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:151
Method__call__
Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:923
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:563
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:61
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:122
Method__call__
The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): The p
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:522
Method__call__
r""" The call function to the pipeline for generation. Args: batch_size (`int`, *optional*, defaults to 1):
src/diffusers/pipelines/dance_diffusion/pipeline_dance_diffusion.py:50
Method__call__
r""" Args: batch_size (`int`, *optional*, defaults to 1): The number of images to generate. class_labe
src/diffusers/pipelines/consistency_models/pipeline_consistency_models.py:169
Method__call__
Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py:340
Method__call__
Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:414
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py:456
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:570
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:828
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:657
Method__call__
The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): The p
src/diffusers/pipelines/amused/pipeline_amused_img2img.py:89
Method__call__
The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): The p
src/diffusers/pipelines/amused/pipeline_amused_inpaint.py:105
Method__call__
The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): The p
src/diffusers/pipelines/amused/pipeline_amused.py:76
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py:684
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py:616
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:929
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:1126
Method__call__
r""" The call function to the pipeline for generation. Args: prompt_ids (`jnp.ndarray`): The prompt or pr
src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:349
Method__call__
Function invoked when calling the pipeline for generation. Args: prompt (`List[str]`): The prompt or pro
src/diffusers/pipelines/controlnet/pipeline_controlnet_blip_diffusion.py:236
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:1103
← previousnext →3,801–3,900 of 9,976, ranked by callers