MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

Methodsave_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
diffusers/src/diffusers/loaders/lora_pipeline.py:2437
Methodsave_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
diffusers/src/diffusers/loaders/lora_pipeline.py:2738
Methodsave_lora_weights
( cls, save_directory: Union[str, os.PathLike], unet_lora_layers: Dict[str, Union[torc
diffusers/examples/community/lpw_stable_diffusion_xl.py:2208
Functionsave_model_hook
(models, weights, output_dir)
train_vae.py:151
Functionsave_model_hook
(models, weights, output_dir)
train_diff.py:182
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora_flux.py:1214
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth.py:953
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_flux.py:1163
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:1215
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_sd3.py:1172
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora.py:940
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora_sd3.py:1227
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/vqgan/train_vqgan.py:674
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/text_to_image/train_text_to_image_lora_sdxl.py:719
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/text_to_image/train_text_to_image.py:652
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/text_to_image/train_text_to_image_sdxl.py:745
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/t2i_adapter/train_t2i_adapter_sdxl.py:898
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/amused/train_amused.py:512
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:1596
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:1278
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet.py:829
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet_flux.py:944
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet_sd3.py:1018
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet_sdxl.py:910
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/kandinsky2_2/text_to_image/train_text_to_image_decoder.py:551
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/kandinsky2_2/text_to_image/train_text_to_image_prior.py:544
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py:608
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:551
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:887
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:1045
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:1055
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:1060
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py:995
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_orpo/train_diffusion_orpo_sdxl_lora_wds.py:758
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_orpo/train_diffusion_orpo_sdxl_lora.py:651
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth.py:996
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth_lora_sdxl.py:1288
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth_lora.py:982
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/text_to_image/train_text_to_image_lora_sdxl.py:702
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/text_to_image/train_text_to_image.py:668
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/text_to_image/train_text_to_image_sdxl.py:772
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_dpo/train_diffusion_dpo.py:592
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_dpo/train_diffusion_dpo_sdxl.py:690
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/realfill/train_realfill.py:644
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/instructpix2pix_lora/train_instruct_pix2pix_lora.py:534
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/controlnet/train_controlnet_webdataset.py:1024
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/sd3_lora_colab/train_dreambooth_lora_sd3_miniature.py:737
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:540
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:314
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/consistency_training/train_cm_ct_unconditional.py:954
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/multi_subject_dreambooth_inpainting/train_multi_subject_dreambooth_inpainting.py:492
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/gligen/train_gligen_text.py:343
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/unconditional_image_generation/train_unconditional.py:300
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/cogvideo/train_cogvideox_lora.py:1132
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/wuerstchen/text_to_image/train_text_to_image_prior.py:543
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/wuerstchen/text_to_image/train_text_to_image_lora_prior.py:554
Methodsave_pretrained
Save a model to a directory, so that it can be re-loaded using the [`~OnnxModel.from_pretrained`] class method.: Arguments:
diffusers/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
diffusers/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
diffusers/src/diffusers/pipelines/pipeline_utils.py:186
Methodsave_pretrained
Save a scheduler configuration object to a directory so that it can be reloaded using the [`~SchedulerMixin.from_pretrained`] class m
diffusers/src/diffusers/schedulers/scheduling_utils.py:159
Methodsave_pretrained
Save a scheduler configuration object to the directory `save_directory`, so that it can be re-loaded using the [`~FlaxSchedulerMixin.
diffusers/src/diffusers/schedulers/scheduling_utils_flax.py:152
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
diffusers/src/diffusers/models/modeling_utils.py:263
Methodsave_pretrained
Save a model and its configuration file to a directory so that it can be reloaded using the [`~FlaxModelMixin.from_pretrained`] class
diffusers/src/diffusers/models/modeling_flax_utils.py:497
Methodsave_vocabulary
Save the vocabulary and special tokens file to a directory. Args: save_directory (`str`): The directory
diffusers/src/diffusers/pipelines/kolors/tokenizer.py:198
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_pndm.py:390
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:1159
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_lms_discrete.py:217
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ddpm.py:234
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:289
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_dpm_cogvideox.py:244
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:194
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ddim_parallel.py:244
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/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.Tensor`):
diffusers/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
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:253
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:816
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_edm_euler.py:176
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_pndm_flax.py:220
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
diffusers/src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:209
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:194
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
diffusers/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py:174
Methodscale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
diffusers/src/diffusers/schedulers/scheduling_ddim_flax.py:154
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:949
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:295
Methodscale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
diffusers/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
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:1090
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:980
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ddim.py:236
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:243
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ddim_cogvideox.py:243
Methodscale_model_input
Scales the denoising model input by `(sigma**2 + 1) ** 0.5` to match the K-LMS algorithm. Args: state (`LMSDiscreteSched
diffusers/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
diffusers/src/diffusers/schedulers/scheduling_ddim_inverse.py:234
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:1078
← previousnext →10,101–10,200 of 13,352, ranked by callers