Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosmicman-cvpr2024/CosmicMan
/ functions
Functions
6,241 in github.com/cosmicman-cvpr2024/CosmicMan
⨍
Functions
6,241
◇
Types & classes
1,050
↳
Endpoints
2
Method
_execution_device
r""" Returns the device on which the pipeline's models will be executed. After calling `pipeline.enable_sequential_cpu_offload()` the
diffusers/examples/community/stable_diffusion_repaint.py:335
Method
_execution_device
r""" Returns the device on which the pipeline's models will be executed. After calling `pipeline.enable_sequential_cpu_offload()` the
diffusers/examples/community/stable_unclip.py:152
Method
_execution_device
r""" Returns the device on which the pipeline's models will be executed. After calling `pipeline.enable_sequential_cpu_offload()` the
diffusers/examples/community/stable_diffusion_controlnet_img2img.py:252
Method
_execution_device
r""" Returns the device on which the pipeline's models will be executed. After calling `pipeline.enable_sequential_cpu_offload()` the
diffusers/examples/community/lpw_stable_diffusion.py:626
Method
_execution_device
r""" Returns the device on which the pipeline's models will be executed. After calling `pipeline.enable_sequential_cpu_offload()` the
diffusers/examples/community/text_inpainting.py:169
Method
_find_mismatched_keys
( state_dict, model_state_dict, loaded_keys, ignore_mismatched
diffusers/src/diffusers/models/modeling_utils.py:788
Method
_from_config
All context managers that the model should be initialized under go here.
diffusers/src/diffusers/models/modeling_flax_utils.py:59
Method
_gaussian_weights
Generates a gaussian mask of weights for tile contributions
diffusers/examples/community/mixture_canvas.py:227
Method
_init_weights
(self, module)
diffusers/src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:504
Function
_inner
(x)
diffusers/utils/custom_init_isort.py:91
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
diffusers/examples/community/mixture_canvas.py:247
Function
_replace
(match)
diffusers/utils/custom_init_isort.py:123
Function
_reset_library_root_logger
()
diffusers/src/diffusers/utils/logging.py:94
Method
_safe_divide
(a, b, epsilon=1e-6)
diffusers/src/diffusers/pipelines/shap_e/renderer.py:230
Method
_set_gradient_checkpointing
(self, module, value=False)
diffusers/src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:515
Method
_set_gradient_checkpointing
(self, module, value=False)
diffusers/src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:802
Method
_set_gradient_checkpointing
(self, module, value=False)
diffusers/src/diffusers/models/unet_3d_condition.py:444
Method
_set_gradient_checkpointing
(self, module, value=False)
diffusers/src/diffusers/models/controlnet.py:620
Method
_set_gradient_checkpointing
(self, module, value=False)
diffusers/src/diffusers/models/autoencoder_kl.py:132
Method
_set_gradient_checkpointing
(self, module, value=False)
diffusers/src/diffusers/models/unet_2d_condition.py:716
Method
_set_gradient_checkpointing
(self, module, value=False)
diffusers/src/diffusers/models/unet_2d_condition.py:1661
Method
_sort_by_area
(self, bucket: tuple)
dataset.py:285
Method
_sort_by_ratio
(self, bucket: tuple)
dataset.py:282
Function
_test_from_save_pretrained_dynamo
(in_queue, out_queue, timeout)
diffusers/tests/pipelines/test_pipelines.py:88
Function
_test_from_save_pretrained_dynamo
(in_queue, out_queue, timeout)
diffusers/tests/models/test_modeling_common.py:36
Function
_test_img2img_compile
(in_queue, out_queue, timeout)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:56
Function
_test_inpaint_compile
(in_queue, out_queue, timeout)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:55
Function
_test_stable_diffusion_compile
(in_queue, out_queue, timeout)
diffusers/tests/pipelines/controlnet/test_controlnet.py:60
Function
_test_stable_diffusion_compile
(in_queue, out_queue, timeout)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion.py:60
Method
add_difference
(theta0, theta1, theta2, alpha)
diffusers/examples/community/checkpoint_merger.py:285
Function
add_handler
adds a handler to the HuggingFace Diffusers' root logger.
diffusers/src/diffusers/utils/logging.py:202
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_pndm.py:438
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_lms_discrete.py:387
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:483
Method
add_noise
(self, state: KarrasVeSchedulerState, original_samples, noise, timesteps)
diffusers/src/diffusers/schedulers/scheduling_karras_ve_flax.py:236
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_repaint.py:335
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:394
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_ddim_parallel.py:597
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_unclip.py:327
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_consistency_models.py:354
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:332
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:544
Method
add_noise
( self, state: PNDMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_pndm_flax.py:501
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_sde_ve.py:270
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:375
Method
add_noise
( self, state: DDIMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_ddim_flax.py:286
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:683
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:406
Method
add_noise
( self, state: DDPMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_ddpm_flax.py:280
Method
add_noise
( self, state: DPMSolverMultistepSchedulerState, original_samples: jnp.ndarray,
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:612
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:725
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:657
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:543
Method
add_noise
( self, state: LMSDiscreteSchedulerState, original_samples: jnp.ndarray, noise
diffusers/src/diffusers/schedulers/scheduling_lms_discrete_flax.py:268
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:713
Method
add_noise
(self, original_samples, noise, timesteps)
diffusers/src/diffusers/schedulers/scheduling_karras_ve.py:231
Method
add_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:400
Method
add_noise_to_input
Explicit Langevin-like "churn" step of adding noise to the sample according to a factor gamma_i ≥ 0 to reach a higher noise level sig
diffusers/src/diffusers/schedulers/scheduling_karras_ve_flax.py:137
Method
append_ca
(net_)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_model_editing.py:143
Function
apply_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
Method
apply_model
(self, *args, **kwargs)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_k_diffusion.py:40
Method
apply_model
(self, *args, **kwargs)
diffusers/examples/community/sd_text2img_k_diffusion.py:35
Method
apply_watermark
(self, img)
demo_sdxl.py:94
Method
apply_watermark
(self, img)
infer_sdxl.py:25
Method
apply_watermark
(self, img)
infer_sd.py:26
Method
assert_run_mixture
(num_steps, split, scheduler_cls_orig)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:245
Method
assert_run_mixture
(num_steps, split, scheduler_cls_orig)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:233
Function
attention_fetcher
(x)
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:753
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:674
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unet_3d_condition.py:273
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/prior_transformer.py:164
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet.py:489
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/autoencoder_kl.py:167
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unet_2d_condition.py:588
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unet_2d_condition.py:1533
Method
batch_params
(self)
diffusers/tests/pipelines/test_pipelines_common.py:273
Method
batch_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:462
Method
batch_to_head_dim
(self, tensor)
diffusers/src/diffusers/models/attention_processor.py:740
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/unclip/test_unclip_image_variation.py:71
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/unclip/test_unclip.py:65
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky_v22/test_kandinsky_inpaint.py:73
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky_v22/test_kandinsky.py:64
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky_v22/test_kandinsky_controlnet_img2img.py:68
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky_v22/test_kandinsky_img2img.py:72
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky_v22/test_kandinsky_controlnet.py:67
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky_v22/test_kandinsky_prior.py:65
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky_v22/test_kandinsky_prior_emb2emb.py:68
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_inpaint.py:72
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky.py:68
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_img2img.py:71
Method
block_out_channels_0
(self)
diffusers/tests/pipelines/kandinsky/test_kandinsky_prior.py:65
Method
callback
(step, mel_output)
diffusers/tests/pipelines/spectrogram_diffusion/test_spectrogram_diffusion.py:188
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion_2/test_stable_diffusion_depth.py:455
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion_2/test_stable_diffusion.py:373
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:328
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_panorama.py:333
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_image_variation.py:199
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion.py:857
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint_legacy.py:495
Method
callback_fn
(step: int, timestep: int, latents: torch.FloatTensor)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_pix2pix_zero.py:424
← previous
next →
3,101–3,200 of 6,241, ranked by callers