MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Methodrun
(self)
setup.py:186
Methodrun
(self)
src/diffusers/commands/fp16_safetensors.py:79
Methodrun
(self)
src/diffusers/commands/__init__.py:26
Methodrun_inference
(self, args)
benchmarks/base_classes.py:55
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:97
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:128
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:158
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:195
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:208
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:229
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:259
Methodrun_inference
(self, pipe, args)
benchmarks/base_classes.py:294
Methodrun_safety_checker
(self, image, device, dtype)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:367
Methodrun_safety_checker
(self, image, device, dtype)
examples/community/latent_consistency_interpolate.py:459
Methodrun_safety_checker
(self, image, device, dtype)
examples/community/pipeline_zero1to3.py:442
Methodsafety_concept
r""" Getter method for the safety concept used with SLD Returns: `str`: The text describing the safety concept
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:156
Methodsample
Args: t0: start time has shape [batch_size, *shape, 1] t1: finish time has shape [batch_size, *shape, 1]
src/diffusers/pipelines/shap_e/renderer.py:433
Methodsave_function
(weights, filename)
src/diffusers/loaders/unet.py:459
Methodsave_function
(weights, filename)
src/diffusers/loaders/lora.py:788
Methodsave_load_local
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:275
Methodsave_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
src/diffusers/loaders/lora.py:1278
Methodsave_lora_weights
( self, save_directory: Union[str, os.PathLike], unet_lora_layers: Dict[str, Union[tor
examples/community/lpw_stable_diffusion_xl.py:2167
Functionsave_model_hook
(models, weights, output_dir)
examples/brushnet/train_brushnet_sdxl.py:1097
Functionsave_model_hook
(models, weights, output_dir)
examples/brushnet/train_brushnet.py:1015
Functionsave_model_hook
(models, weights, output_dir)
examples/dreambooth/train_dreambooth.py:949
Functionsave_model_hook
(models, weights, output_dir)
examples/dreambooth/train_dreambooth_lora_sdxl.py:1187
Functionsave_model_hook
(models, weights, output_dir)
examples/dreambooth/train_dreambooth_lora.py:935
Functionsave_model_hook
(models, weights, output_dir)
examples/text_to_image/train_text_to_image_lora_sdxl.py:655
Functionsave_model_hook
(models, weights, output_dir)
examples/text_to_image/train_text_to_image.py:621
Functionsave_model_hook
(models, weights, output_dir)
examples/text_to_image/train_text_to_image_sdxl.py:725
Functionsave_model_hook
(models, weights, output_dir)
examples/t2i_adapter/train_t2i_adapter_sdxl.py:894
Functionsave_model_hook
(models, weights, output_dir)
examples/amused/train_amused.py:509
Functionsave_model_hook
(models, weights, output_dir)
examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:1385
Functionsave_model_hook
(models, weights, output_dir)
examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:1278
Functionsave_model_hook
(models, weights, output_dir)
examples/controlnet/train_controlnet.py:825
Functionsave_model_hook
(models, weights, output_dir)
examples/controlnet/train_controlnet_sdxl.py:892
Functionsave_model_hook
(models, weights, output_dir)
examples/kandinsky2_2/text_to_image/train_text_to_image_decoder.py:547
Functionsave_model_hook
(models, weights, output_dir)
examples/kandinsky2_2/text_to_image/train_text_to_image_prior.py:540
Functionsave_model_hook
(models, weights, output_dir)
examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py:598
Functionsave_model_hook
(models, weights, output_dir)
examples/instruct_pix2pix/train_instruct_pix2pix.py:506
Functionsave_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:881
Functionsave_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:1040
Functionsave_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:1049
Functionsave_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:1055
Functionsave_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_sd_wds.py:989
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/diffusion_dpo/train_diffusion_dpo.py:588
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/diffusion_dpo/train_diffusion_dpo_sdxl.py:686
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/realfill/train_realfill.py:644
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/instructpix2pix_lora/train_instruct_pix2pix_lora.py:529
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/controlnet/train_controlnet_webdataset.py:1020
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:536
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:310
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/consistency_training/train_cm_ct_unconditional.py:954
Functionsave_model_hook
(models, weights, output_dir)
examples/research_projects/multi_subject_dreambooth_inpainting/train_multi_subject_dreambooth_inpainting.py:492
Functionsave_model_hook
(models, weights, output_dir)
examples/unconditional_image_generation/train_unconditional.py:300
Functionsave_model_hook
(models, weights, output_dir)
examples/wuerstchen/text_to_image/train_text_to_image_prior.py:539
Functionsave_model_hook
(models, weights, output_dir)
examples/wuerstchen/text_to_image/train_text_to_image_lora_prior.py:550
Methodsave_pretrained
Save a model to a directory, so that it can be re-loaded using the [`~OnnxModel.from_pretrained`] class method.: Arguments:
src/diffusers/pipelines/onnx_utils.py:111
Methodsave_pretrained
Save all saveable variables of the pipeline to a directory. A pipeline variable can be saved and loaded if its class implements both
src/diffusers/pipelines/pipeline_flax_utils.py:151
Methodsave_pretrained
Save all saveable variables of the pipeline to a directory. A pipeline variable can be saved and loaded if its class implements both
src/diffusers/pipelines/pipeline_utils.py:178
Methodsave_pretrained
Save a scheduler configuration object to a directory so that it can be reloaded using the [`~SchedulerMixin.from_pretrained`] class m
src/diffusers/schedulers/scheduling_utils.py:152
Methodsave_pretrained
Save a scheduler configuration object to the directory `save_directory`, so that it can be re-loaded using the [`~FlaxSchedulerMixin.
src/diffusers/schedulers/scheduling_utils_flax.py:154
Methodsave_pretrained
Save a model and its configuration file to a directory so that it can be reloaded using the [`~models.ModelMixin.from_pretrained`] cl
src/diffusers/models/modeling_utils.py:303
Methodsave_pretrained
Save a model and its configuration file to a directory so that it can be reloaded using the [`~FlaxModelMixin.from_pretrained`] class
src/diffusers/models/modeling_flax_utils.py:502
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_pndm.py:392
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ipndm.py:196
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_sasolver.py:1083
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_lms_discrete.py:207
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddpm.py:236
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_sde.py:260
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_repaint.py:163
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:178
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddim_parallel.py:246
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_unclip.py:149
Methodscale_model_input
Scales the consistency model input by `(sigma**2 + sigma_data**2) ** 0.5`. Args: sample (`torch.FloatTensor`):
src/diffusers/schedulers/scheduling_consistency_models.py:129
Methodscale_model_input
Scales the denoising model input by `(sigma**2 + 1) ** 0.5` to match the Euler algorithm. Args: state (`EulerDiscreteSch
src/diffusers/schedulers/scheduling_euler_discrete_flax.py:126
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:255
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_deis_multistep.py:741
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddpm_wuerstchen.py:128
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_edm_euler.py:164
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_pndm_flax.py:222
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:200
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_sde_ve.py:89
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:178
Methodscale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
src/diffusers/schedulers/scheduling_ddim_flax.py:155
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_consistency_decoder.py:116
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:866
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_euler_discrete.py:275
Methodscale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
src/diffusers/schedulers/scheduling_ddpm_flax.py:125
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:615
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:980
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_unipc_multistep.py:835
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddim.py:238
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddpm_parallel.py:245
Methodscale_model_input
Scales the denoising model input by `(sigma**2 + 1) ** 0.5` to match the K-LMS algorithm. Args: state (`LMSDiscreteSched
src/diffusers/schedulers/scheduling_lms_discrete_flax.py:123
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddim_inverse.py:236
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:930
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_heun_discrete.py:201
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_tcd.py:302
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:99
← previousnext →7,501–7,600 of 9,976, ranked by callers