MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:832
Methodadd_noise
(self, sample, timesteps, generator=None)
diffusers/src/diffusers/schedulers/scheduling_amused.py:140
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_edm_euler.py:368
Methodadd_noise
( self, state: PNDMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_pndm_flax.py:499
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:673
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_sde_ve.py:283
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:531
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py:538
Methodadd_noise
( self, state: DDIMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_ddim_flax.py:295
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:964
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:684
Methodadd_noise
( self, state: DDPMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_ddpm_flax.py:284
Methodadd_noise
( self, state: DPMSolverMultistepSchedulerState, original_samples: jnp.ndarray,
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:633
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:1105
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:996
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:588
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_ddim_cogvideox.py:402
Methodadd_noise
( self, state: LMSDiscreteSchedulerState, original_samples: jnp.ndarray, noise
diffusers/src/diffusers/schedulers/scheduling_lms_discrete_flax.py:268
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:1094
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:552
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_tcd.py:632
Methodadd_noise
(self, original_samples, noise, timesteps)
diffusers/src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:242
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/examples/community/latent_consistency_txt2img.py:686
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/examples/community/scheduling_ufogen.py:462
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
diffusers/src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:138
Methodaddition_time_embed_dim
(self)
diffusers/tests/models/unets/test_models_unet_spatiotemporal.py:84
Methodalign
(depth: torch.Tensor, param: np.ndarray)
diffusers/src/diffusers/pipelines/marigold/pipeline_marigold_depth.py:728
Methodall_possible_dict_opts
Generate every possible combination for how a lora weight dict can be. E.g. 2, {"unet: {"down": 2}}, {"unet: {"down": [2,2,2]
diffusers/tests/lora/utils.py:1268
Methodappend_ca
(net_)
diffusers/src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_model_editing.py:134
Methodapply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:476
Methodapply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:775
Methodapply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:1012
Methodapply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:354
Methodapply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:346
Functionapply_FRESCO_attn
Apply FRESCO-guided attention to a StableDiffusionPipeline
diffusers/examples/community/fresco_v2v.py:1193
Functionapply_forward_hook
Decorator that applies a registered CpuOffload hook to an arbitrary function rather than `forward`. This is useful for cases where a PyTorch
diffusers/src/diffusers/utils/accelerate_utils.py:27
Methodapply_model
(self, *args, **kwargs)
diffusers/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py:41
Methodapply_model
(self, *args, **kwargs)
diffusers/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:81
Methodapply_model
(self, *args, **kwargs)
diffusers/examples/community/sd_text2img_k_diffusion.py:35
Methodapply_partial_rotary_emb
( self, x: torch.Tensor, freqs_cis: Tuple[torch.Tensor], )
diffusers/src/diffusers/models/attention_processor.py:2402
Methodassert_equal_weights
(module, weight_dict_prefix)
diffusers/tests/models/unets/test_models_unet_controlnetxs.py:114
Methodassert_frozen
(module)
diffusers/tests/models/unets/test_models_unet_controlnetxs.py:189
Methodassert_run_mixture
( num_steps, split, scheduler_cls_orig, num_train_timesteps=pipe_1.scheduler.config.num_train_time
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:400
Methodassert_run_mixture
( num_steps, split, scheduler_cls_orig, expected_tss,
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:421
Methodassert_run_mixture
( num_steps, split, scheduler_cls_orig, expected_tss,
diffusers/tests/pipelines/controlnet/test_controlnet_sdxl.py:388
Methodassert_unfrozen
(module)
diffusers/tests/models/unets/test_models_unet_controlnetxs.py:193
Functionattention_fetcher
(x)
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:724
Methodattention_kwargs
(self)
diffusers/src/diffusers/pipelines/cogvideo/pipeline_cogvideox.py:471
Methodattention_kwargs
(self)
diffusers/src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py:547
Methodattn_hook
(self, name, query, key, value, attention_probs)
diffusers/examples/community/llm_grounded_diffusion.py:421
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:829
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:536
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:67
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_sd3.py:142
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet.py:522
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_hunyuan.py:119
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_flux.py:115
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_xs.py:873
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_sparsectrl.py:453
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/transformer_sd3.py:154
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/prior_transformer.py:171
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/transformer_flux.py:290
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/hunyuan_transformer_2d.py:362
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/pixart_transformer_2d.py:192
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/cogvideox_transformer_3d.py:310
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/auraflow_transformer_2d.py:347
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/stable_audio_transformer.py:283
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_3d_condition.py:294
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_i2vgen_xl.py:323
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/uvit_2d.py:217
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_2d_condition.py:739
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_motion_model.py:1854
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_spatio_temporal_condition.py:249
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_kandinsky3.py:145
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/autoencoders/autoencoder_kl.py:175
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py:245
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/autoencoders/consistency_decoder_vae.py:203
Functionbackend_device_count
(device: str)
diffusers/src/diffusers/utils/testing_utils.py:1006
Methodbatch_params
(self)
diffusers/tests/pipelines/test_pipelines_common.py:940
Methodbatch_step_no_noise
Batched version of the `step` function, to be able to reverse the SDE for multiple samples/timesteps at once. Also, does not add any
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:507
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_ipndm.py:69
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:242
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_lms_discrete.py:200
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:272
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:177
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_lcm.py:282
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_consistency_models.py:112
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:236
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py:100
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:216
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_edm_euler.py:131
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:160
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:177
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py:128
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:278
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:307
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:282
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:277
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:200
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_flow_match_heun_discrete.py:93
← previousnext →7,001–7,100 of 13,352, ranked by callers