MCPcopy Create free account

hub / github.com/ant-research/MagicQuill / functions

Functions1,402 in github.com/ant-research/MagicQuill

Methodload_sd
(self, sd)
MagicQuill/comfy/sdxl_clip.py:59
Methodload_sd
(self, sd)
MagicQuill/comfy/sdxl_clip.py:84
Methodload_sd
(self, sd)
MagicQuill/comfy/sd1_clip.py:529
Methodload_sd
(self, sd)
MagicQuill/comfy/sd3_clip.py:138
Functionload_style_model
(ckpt_path)
MagicQuill/comfy/sd.py:390
Functionload_unet
(unet_path)
MagicQuill/comfy/sd.py:603
Functionloaded_models
(only_currently_used=False)
MagicQuill/comfy/model_management.py:464
Functionlog_txt_as_img
(wh, xc, size=10)
MagicQuill/comfy/ldm/util.py:11
Functionmake_ddim_sampling_parameters
(alphacums, ddim_timesteps, eta, verbose=True)
MagicQuill/comfy/ldm/modules/diffusionmodules/util.py:138
Functionmake_ddim_timesteps
(ddim_discr_method, num_ddim_timesteps, num_ddpm_timesteps, verbose=True)
MagicQuill/comfy/ldm/modules/diffusionmodules/util.py:121
Functionmake_time_attn
( in_channels, attn_type="vanilla", attn_kwargs=None, alpha: float = 0, merge_strategy: st
MagicQuill/comfy/ldm/modules/temporal_ae.py:191
Functionmap_filename
(filename)
MagicQuill/folder_paths.py:233
Methodmarginal_alpha
Compute alpha_t of a given continuous-time label t in [0, T].
MagicQuill/comfy/extra_samplers/uni_pc.py:142
Methodmarginal_lambda
Compute lambda_t = log(alpha_t) - log(sigma_t) of a given continuous-time label t in [0, T].
MagicQuill/comfy/extra_samplers/uni_pc.py:154
Methodmarginal_std
Compute sigma_t of a given continuous-time label t in [0, T].
MagicQuill/comfy/extra_samplers/uni_pc.py:148
Functionmax_neg_value
(t)
MagicQuill/comfy/ldm/modules/attention.py:45
Functionmean_flat
https://github.com/openai/guided-diffusion/blob/27c20a8fab9cb472df5d6bdd6c8d11c8f430b924/guided_diffusion/nn.py#L86 Take the mean over all no
MagicQuill/comfy/ldm/util.py:57
Functionmean_flat
Take the mean over all non-batch dimensions.
MagicQuill/comfy/ldm/modules/diffusionmodules/util.py:270
Methodmemory_required
(self, input_shape)
MagicQuill/comfy/model_base.py:240
Methodmemory_required
(self, input_shape)
MagicQuill/comfy/model_patcher.py:113
Methodmode
(self)
MagicQuill/comfy/ldm/modules/distributions/distributions.py:9
Methodmode
(self)
MagicQuill/comfy/ldm/modules/distributions/distributions.py:20
Functionmodel_config_from_diffusers_unet
(state_dict)
MagicQuill/comfy/model_detection.py:429
Functionmodel_config_from_unet
(state_dict, unet_key_prefix, use_base_if_no_match=False)
MagicQuill/comfy/model_detection.py:236
Functionmodel_fn
The noise predicition model function that is used for DPM-Solver.
MagicQuill/comfy/extra_samplers/uni_pc.py:322
Functionmodel_lora_keys_clip
(model, key_map={})
MagicQuill/comfy/lora.py:180
Functionmodel_lora_keys_unet
(model, key_map={})
MagicQuill/comfy/lora.py:230
Methodmodel_update
(self, model, vae, image, mask, powerpaint, clip, positive, negative, fitting, function, scale, start_at, end_
MagicQuill/brushnet_nodes.py:202
Functionmodified_apply_control
Modified by BrushNet nodes
MagicQuill/model_patch.py:124
Functionmodified_sample
Modified by BrushNet nodes
MagicQuill/model_patch.py:95
Functionmodule_size
(module)
MagicQuill/comfy/model_management.py:257
Functionn_params
Returns the number of trainable parameters in a module.
MagicQuill/comfy/k_diffusion/utils.py:32
Methodnll
(self, sample, dims=[1,2,3])
MagicQuill/comfy/ldm/modules/distributions/distributions.py:53
Functionnoise_like
(shape, device, repeat=False)
MagicQuill/comfy/ldm/modules/diffusionmodules/util.py:303
Methodnoise_scaling
(self, sigma, noise, latent_image, max_denoise=False)
MagicQuill/comfy/model_sampling.py:44
Functionnormal_attention
(q, k, v)
MagicQuill/comfy/ldm/modules/diffusionmodules/model.py:197
Functionnormal_kl
source: https://github.com/openai/guided-diffusion/blob/27c20a8fab9cb472df5d6bdd6c8d11c8f430b924/guided_diffusion/losses.py#L12 Compute the K
MagicQuill/comfy/ldm/modules/distributions/distributions.py:65
Methodon_train_batch_end
(self, *args, **kwargs)
MagicQuill/comfy/ldm/models/autoencoder.py:60
Methodpercent_to_sigma
(self, percent)
MagicQuill/comfy/model_sampling.py:161
Methodpercent_to_sigma
(self, percent)
MagicQuill/comfy/model_sampling.py:214
Methodpercent_to_sigma
(self, percent)
MagicQuill/comfy/model_sampling.py:265
Methodppclip_loading
(self, base, powerpaint)
MagicQuill/brushnet_nodes.py:144
Methodpre_run
(self, model, percent_to_timestep_function)
MagicQuill/comfy/controlnet.py:56
Methodpre_run
(self, model, percent_to_timestep_function)
MagicQuill/comfy/controlnet.py:274
Functionprepare_callback
(model, steps, x0_output_dict=None)
MagicQuill/latent_preview.py:78
Functionprepare_mask
ensures noise mask is of proper dimensions
MagicQuill/comfy/sampler_helpers.py:5
Functionprepare_noise
creates random noise given a latent image and a seed. optional arg skip can be used to skip and discard x number of noise generations for a g
MagicQuill/comfy/sample.py:8
Functionprepare_sampling
(model, noise_shape, positive, negative, noise_mask)
MagicQuill/comfy/sample.py:33
Functionprepare_sampling
(model, noise_shape, conds)
MagicQuill/comfy/sampler_helpers.py:60
Methodprocess
(self, ckpt_name, image, colored_image, positive_prompt, negative_prompt, mask, add_mask, remove_mask, grow_si
MagicQuill/scribble_color_edit.py:45
Functionprocess_background_img
(request: Request)
gradio_run.py:338
Methodprocess_clip_state_dict
(self, state_dict)
MagicQuill/comfy/supported_models.py:86
Methodprocess_clip_state_dict
(self, state_dict)
MagicQuill/comfy/supported_models.py:144
Methodprocess_clip_state_dict
(self, state_dict)
MagicQuill/comfy/supported_models.py:201
Methodprocess_clip_state_dict
(self, state_dict)
MagicQuill/comfy/supported_models.py:433
Methodprocess_clip_state_dict
(self, state_dict)
MagicQuill/comfy/supported_models_base.py:65
Methodprocess_clip_state_dict_for_saving
(self, state_dict)
MagicQuill/comfy/supported_models.py:94
Methodprocess_clip_state_dict_for_saving
(self, state_dict)
MagicQuill/comfy/supported_models.py:154
Methodprocess_clip_state_dict_for_saving
(self, state_dict)
MagicQuill/comfy/supported_models.py:213
Methodprocess_clip_state_dict_for_saving
(self, state_dict)
MagicQuill/comfy/supported_models_base.py:75
Methodprocess_cond
(self, batch_size, device, area, **kwargs)
MagicQuill/comfy/conds.py:31
Methodprocess_cond
(self, batch_size, device, **kwargs)
MagicQuill/comfy/conds.py:74
Methodprocess_in
(self, latent)
MagicQuill/comfy/latent_formats.py:9
Methodprocess_in
(self, latent)
MagicQuill/comfy/latent_formats.py:55
Methodprocess_out
(self, latent)
MagicQuill/comfy/latent_formats.py:12
Methodprocess_out
(self, latent)
MagicQuill/comfy/latent_formats.py:60
Methodprocess_unet_state_dict
(self, state_dict)
MagicQuill/comfy/supported_models.py:418
Methodprocess_unet_state_dict
(self, state_dict)
MagicQuill/comfy/supported_models.py:547
Functionprocessing_interrupted
()
MagicQuill/comfy/model_management.py:945
Functionpytorch_attention
(q, k, v)
MagicQuill/comfy/ldm/modules/diffusionmodules/model.py:226
Functionpytorch_attention_enabled
()
MagicQuill/comfy/model_management.py:729
Functionpytorch_attention_flash_attention
()
MagicQuill/comfy/model_management.py:733
Functionrand_log_logistic
Draws samples from an optionally truncated log-logistic distribution.
MagicQuill/comfy/k_diffusion/utils.py:223
Functionrand_log_normal
Draws samples from an lognormal distribution.
MagicQuill/comfy/k_diffusion/utils.py:218
Functionrand_log_uniform
Draws samples from an log-uniform distribution.
MagicQuill/comfy/k_diffusion/utils.py:233
Functionrand_split_log_normal
Draws samples from a split lognormal distribution.
MagicQuill/comfy/k_diffusion/utils.py:248
Functionrand_v_diffusion
Draws samples from a truncated v-diffusion training timestep distribution.
MagicQuill/comfy/k_diffusion/utils.py:240
Functionrepeat_to_batch_size
(tensor, batch_size, dim=0)
MagicQuill/comfy/utils.py:252
Methodreset_clip_options
(self)
MagicQuill/comfy/sdxl_clip.py:48
Methodreset_clip_options
(self)
MagicQuill/comfy/sd1_clip.py:521
Methodreset_clip_options
(self)
MagicQuill/comfy/sd3_clip.py:86
Methodreset_num_updates
(self)
MagicQuill/comfy/ldm/modules/ema.py:25
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:41
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:55
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:69
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:83
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:97
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:112
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:130
Methodreset_parameters
(self)
MagicQuill/comfy/ops.py:151
Methodreset_parameters
(self)
MagicQuill/comfy/ldm/cascade/common.py:24
Methodreset_parameters
(self)
MagicQuill/comfy/ldm/cascade/common.py:28
Functionresize_to_batch_size
(tensor, batch_size)
MagicQuill/comfy/utils.py:259
Functionresolve_areas_and_cond_masks
(conditions, h, w, device)
MagicQuill/comfy/samplers.py:404
Functionresolve_lowvram_weight
(weight, model, key)
MagicQuill/comfy/model_management.py:926
Functionsafetensors_header
(safetensors_path, max_size=100*1024*1024)
MagicQuill/comfy/utils.py:285
Functionsample
(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=1.0, disable_noi
MagicQuill/comfy/sample.py:40
Methodsample
(self, model_wrap, sigmas, extra_args, callback, noise, latent_image=None, denoise_mask=None, disable_pbar=Fal
MagicQuill/comfy/samplers.py:550
Methodsample
(self)
MagicQuill/comfy/ldm/modules/distributions/distributions.py:6
Methodsample
(self)
MagicQuill/comfy/ldm/modules/distributions/distributions.py:17
← previousnext →1,201–1,300 of 1,402, ranked by callers