Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ functions
Functions
13,352 in github.com/YesianRohn/TextSSR
⨍
Functions
13,352
◇
Types & classes
1,980
↳
Endpoints
6
Method
save_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
Method
save_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
Method
save_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
Function
save_model_hook
(models, weights, output_dir)
train_vae.py:151
Function
save_model_hook
(models, weights, output_dir)
train_diff.py:182
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora_flux.py:1214
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth.py:953
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_flux.py:1163
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:1215
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_sd3.py:1172
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora.py:940
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora_sd3.py:1227
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/vqgan/train_vqgan.py:674
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/text_to_image/train_text_to_image_lora_sdxl.py:719
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/text_to_image/train_text_to_image.py:652
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/text_to_image/train_text_to_image_sdxl.py:745
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/t2i_adapter/train_t2i_adapter_sdxl.py:898
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/amused/train_amused.py:512
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:1596
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:1278
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet.py:829
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet_flux.py:944
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet_sd3.py:1018
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet_sdxl.py:910
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/kandinsky2_2/text_to_image/train_text_to_image_decoder.py:551
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/kandinsky2_2/text_to_image/train_text_to_image_prior.py:544
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py:608
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:551
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:887
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:1045
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:1055
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:1060
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py:995
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_orpo/train_diffusion_orpo_sdxl_lora_wds.py:758
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_orpo/train_diffusion_orpo_sdxl_lora.py:651
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth.py:996
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth_lora_sdxl.py:1288
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/dreambooth/train_dreambooth_lora.py:982
Function
save_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
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/text_to_image/train_text_to_image.py:668
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/scheduled_huber_loss_training/text_to_image/train_text_to_image_sdxl.py:772
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_dpo/train_diffusion_dpo.py:592
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/diffusion_dpo/train_diffusion_dpo_sdxl.py:690
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/realfill/train_realfill.py:644
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/instructpix2pix_lora/train_instruct_pix2pix_lora.py:534
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/controlnet/train_controlnet_webdataset.py:1024
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/sd3_lora_colab/train_dreambooth_lora_sd3_miniature.py:737
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:540
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:314
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/consistency_training/train_cm_ct_unconditional.py:954
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/multi_subject_dreambooth_inpainting/train_multi_subject_dreambooth_inpainting.py:492
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/gligen/train_gligen_text.py:343
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/unconditional_image_generation/train_unconditional.py:300
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/cogvideo/train_cogvideox_lora.py:1132
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/wuerstchen/text_to_image/train_text_to_image_prior.py:543
Function
save_model_hook
(models, weights, output_dir)
diffusers/examples/wuerstchen/text_to_image/train_text_to_image_lora_prior.py:554
Method
save_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
Method
save_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
Method
save_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
Method
save_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
Method
save_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
Method
save_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
Method
save_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
Method
save_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
diffusers/src/diffusers/schedulers/scheduling_ddim_flax.py:154
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
diffusers/src/diffusers/schedulers/scheduling_ddpm_flax.py:125
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
Method
scale_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
← previous
next →
10,101–10,200 of 13,352, ranked by callers