MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Method_fuse_lora_apply
(self, module, adapter_names=None)
src/diffusers/loaders/unet.py:513
Method_gaussian_weights
Generates a gaussian mask of weights for tile contributions
examples/community/mixture_canvas.py:227
Function_get_freeinit_freq_filter
r"""Returns the FreeInit filter based on filter type and other input conditions.
src/diffusers/pipelines/pia/pipeline_pia.py:133
Method_get_variance
(self, timestep, prev_timestep)
examples/community/latent_consistency_img2img.py:609
Method_init_weights
(self, module)
src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:524
Method_init_weights
(self, m)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:124
Method_init_weights
(self, m)
src/diffusers/models/unets/unet_stable_cascade.py:393
Function_inner
(x)
utils/custom_init_isort.py:136
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
src/diffusers/pipelines/blip_diffusion/modeling_blip2.py:460
Method_quartic_weights
Generates a quartic mask of weights for tile contributions The quartic kernel has bounded support over the diffusion region, and a smooth dec
examples/community/mixture_canvas.py:247
Method_remove_text_encoder_monkey_patch
(self)
src/diffusers/loaders/lora.py:1339
Method_remove_text_encoder_monkey_patch
(self)
examples/community/pipeline_demofusion_sdxl.py:1381
Method_remove_text_encoder_monkey_patch
(self)
examples/community/lpw_stable_diffusion_xl.py:2200
Function_replace
(match)
utils/custom_init_isort.py:188
Function_reset_library_root_logger
()
src/diffusers/utils/logging.py:94
Method_safe_divide
(a, b, epsilon=1e-6)
src/diffusers/pipelines/shap_e/renderer.py:325
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:535
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:965
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:658
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:144
Method_set_gradient_checkpointing
(self, module, value: bool = False)
src/diffusers/models/controlnet.py:659
Method_set_gradient_checkpointing
(self, module, value: bool = False)
src/diffusers/models/brushnet.py:674
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/models/transformers/transformer_2d.py:253
Method_set_gradient_checkpointing
(self, module, value: bool = False)
src/diffusers/models/unets/unet_3d_condition.py:469
Method_set_gradient_checkpointing
(self, module, value: bool = False)
src/diffusers/models/unets/unet_i2vgen_xl.py:439
Method_set_gradient_checkpointing
(self, module, value: bool = False)
src/diffusers/models/unets/uvit_2d.py:151
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/models/unets/unet_2d_condition.py:830
Method_set_gradient_checkpointing
(self, value=False)
src/diffusers/models/unets/unet_stable_cascade.py:390
Method_set_gradient_checkpointing
(self, module, value: bool = False)
src/diffusers/models/unets/unet_motion_model.py:667
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/models/unets/unet_spatio_temporal_condition.py:322
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/models/unets/unet_kandinsky3.py:208
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/models/autoencoders/autoencoder_kl.py:128
Method_set_gradient_checkpointing
(self, module, value=False)
src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py:239
Method_set_gradient_checkpointing
(self, module, value: bool = False)
src/diffusers/models/autoencoders/autoencoder_tiny.py:154
Method_set_gradient_checkpointing
(self, module, value=False)
examples/research_projects/controlnetxs/controlnetxs.py:534
Method_set_gradient_checkpointing_new
(self, module, value=False)
tests/models/unets/test_models_unet_motion.py:173
Method_set_gradient_checkpointing_new
(self, module, value=False)
tests/models/unets/test_models_unet_2d_condition.py:499
Method_set_gradient_checkpointing_new
(self, module, value=False)
tests/models/unets/test_models_unet_spatiotemporal.py:253
Method_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:314
Function_test_from_save_pretrained_dynamo
(in_queue, out_queue, timeout)
tests/pipelines/test_pipelines.py:89
Function_test_from_save_pretrained_dynamo
(in_queue, out_queue, timeout)
tests/models/test_modeling_common.py:49
Function_test_img2img_compile
(in_queue, out_queue, timeout)
tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:70
Function_test_inpaint_compile
(in_queue, out_queue, timeout)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:72
Method_test_save_load_optional_components
(self, expected_max_difference=1e-4)
tests/pipelines/test_pipelines_common.py:1542
Function_test_stable_diffusion_compile
(in_queue, out_queue, timeout)
tests/pipelines/controlnet/test_controlnet.py:68
Function_test_stable_diffusion_compile
(in_queue, out_queue, timeout)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:79
Function_test_unidiffuser_compile
(in_queue, out_queue, timeout)
tests/pipelines/unidiffuser/test_unidiffuser.py:48
Method_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
src/diffusers/schedulers/scheduling_tcd.py:330
Method_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
examples/community/latent_consistency_txt2img.py:525
Method_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
examples/community/latent_consistency_img2img.py:620
Method_unfuse_lora
(self)
src/diffusers/models/lora.py:151
Method_unfuse_lora
(self)
src/diffusers/models/lora.py:429
Method_unfuse_lora_apply
(self, module)
src/diffusers/loaders/unet.py:549
Methodactive_adapters
Gets the current list of active adapters of the model. If you are not familiar with adapters and PEFT methods, we invite you to read
src/diffusers/loaders/peft.py:167
Methodadaption_r
(source, target, adapt_radius, max_height, max_width)
examples/community/sde_drag.py:379
Methodadd_difference
(theta0, theta1, theta2, alpha)
examples/community/checkpoint_merger.py:287
Functionadd_handler
adds a handler to the HuggingFace Diffusers' root logger.
src/diffusers/utils/logging.py:202
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_pndm.py:451
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_sasolver.py:1099
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_lms_discrete.py:447
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_dpmsolver_sde.py:529
Methodadd_noise
(self, state: KarrasVeSchedulerState, original_samples, noise, timesteps)
src/diffusers/schedulers/scheduling_karras_ve_flax.py:237
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_repaint.py:352
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:480
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_ddim_parallel.py:598
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_unclip.py:328
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_lcm.py:597
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_consistency_models.py:418
Methodadd_noise
( self, state: EulerDiscreteSchedulerState, original_samples: jnp.ndarray, noi
src/diffusers/schedulers/scheduling_euler_discrete_flax.py:250
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:453
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_deis_multistep.py:757
Methodadd_noise
(self, sample, timesteps, generator=None)
src/diffusers/schedulers/scheduling_amused.py:140
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_edm_euler.py:351
Methodadd_noise
( self, state: PNDMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
src/diffusers/schedulers/scheduling_pndm_flax.py:501
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:653
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_sde_ve.py:283
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:455
Methodadd_noise
( self, state: DDIMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
src/diffusers/schedulers/scheduling_ddim_flax.py:296
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:881
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_euler_discrete.py:548
Methodadd_noise
( self, state: DDPMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
src/diffusers/schedulers/scheduling_ddpm_flax.py:280
Methodadd_noise
( self, state: DPMSolverMultistepSchedulerState, original_samples: jnp.ndarray,
src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:633
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:995
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_unipc_multistep.py:851
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_ddpm_parallel.py:590
Methodadd_noise
( self, state: LMSDiscreteSchedulerState, original_samples: jnp.ndarray, noise
src/diffusers/schedulers/scheduling_lms_discrete_flax.py:268
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:946
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_heun_discrete.py:454
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_tcd.py:629
Methodadd_noise
(self, original_samples, noise, timesteps)
src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:242
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
examples/community/latent_consistency_txt2img.py:683
Methodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
examples/community/scheduling_ufogen.py:464
Methodadd_noise_to_input
Explicit Langevin-like "churn" step of adding noise to the sample according to a `gamma_i ≥ 0` to reach a higher noise level `sigma_h
src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:138
Methodaddition_time_embed_dim
(self)
tests/models/unets/test_models_unet_spatiotemporal.py:82
Methodappend_ca
(net_)
src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_model_editing.py:134
Methodapply
(self, pipe, i, t, callback_kwargs)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:470
Methodapply
(self, pipe, i, t, callback_kwargs)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:768
Methodapply
(self, pipe, i, t, callback_kwargs)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:967
Methodapply
(self, pipe, i, t, callback_kwargs)
tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:348
Methodapply
(self, pipe, i, t, callback_kwargs)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:348
← previousnext →5,201–5,300 of 9,976, ranked by callers