MCPcopy Create free account

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

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

Functionattention_xformers
(q, k, v, heads, mask=None, attn_precision=None, skip_reshape=False)
MagicQuill/comfy/ldm/modules/attention.py:343
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
MagicQuill/brushnet/unet_2d_condition.py:693
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
MagicQuill/brushnet/brushnet_ca.py:544
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
MagicQuill/brushnet/brushnet.py:535
Methodbackward
(ctx, *output_grads)
MagicQuill/comfy/ldm/modules/diffusionmodules/util.py:208
Methodbackward
(ctx, grad_output, grad_indices)
MagicQuill/comfy/ldm/cascade/stage_a.py:40
Functionbrushnet_forward
(model, x, timesteps, transformer_options, control)
MagicQuill/brushnet_nodes.py:1015
Functionbrushnet_model_function_wrapper
(apply_model_method, options_dict)
MagicQuill/model_patch.py:18
Functioncalc_cond_uncond_batch
(model, cond, uncond, x_in, timestep, model_options)
MagicQuill/comfy/samplers.py:249
Methodcalculate_denoised
(self, sigma, model_output, model_input)
MagicQuill/comfy/model_sampling.py:27
Methodcalculate_denoised
(self, sigma, model_output, model_input)
MagicQuill/comfy/model_sampling.py:32
Methodcalculate_denoised
(self, sigma, model_output, model_input)
MagicQuill/comfy/model_sampling.py:40
Methodcalculate_input
(self, sigma, noise)
MagicQuill/comfy/model_sampling.py:37
Functioncalculate_parameters
(sd, prefix="")
MagicQuill/comfy/utils.py:38
Methodcan_concat
(self, other)
MagicQuill/comfy/conds.py:42
Methodcan_concat
(self, other)
MagicQuill/comfy/conds.py:77
Functioncast_to_device
(tensor, device, dtype, copy=False)
MagicQuill/comfy/model_management.py:688
Methodcleanup
(self)
MagicQuill/comfy/controlnet.py:65
Methodcleanup
(self)
MagicQuill/comfy/controlnet.py:313
Functioncleanup_additional_models
(models)
MagicQuill/comfy/sample.py:37
Functioncleanup_models
(keep_clone_weights_loaded=False)
MagicQuill/comfy/model_management.py:474
Functioncleanup_models
(conds, models)
MagicQuill/comfy/sampler_helpers.py:69
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:58
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:101
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:163
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:232
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:303
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:369
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:443
Methodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:553
Functionclip_text_transformers_convert
(sd, prefix_from, prefix_to)
MagicQuill/comfy/utils.py:105
Functioncommon_upscale
(samples, width, height, upscale_method, crop)
MagicQuill/comfy/utils.py:401
Methodconcat
(self, others)
MagicQuill/comfy/conds.py:55
Methodconcat
(self, others)
MagicQuill/comfy/conds.py:82
Methodconfigure_optimizers
(self)
MagicQuill/comfy/ldm/models/autoencoder.py:92
Functionconvert_cond
(cond)
MagicQuill/comfy/sampler_helpers.py:20
Functionconvert_sd_to
(state_dict, dtype)
MagicQuill/comfy/utils.py:279
Functionconvert_text_enc_state_dict
(text_enc_dict)
MagicQuill/comfy/diffusers_convert.py:278
Functionconvert_text_enc_state_dict_v20
(text_enc_dict, prefix="")
MagicQuill/comfy/diffusers_convert.py:225
Functionconvert_unet_state_dict
(unet_state_dict)
MagicQuill/comfy/diffusers_convert.py:86
Functionconvert_vae_state_dict
(vae_state_dict)
MagicQuill/comfy/diffusers_convert.py:165
Methodcopy
(self)
MagicQuill/comfy/controlnet.py:308
Methodcopy
(self)
MagicQuill/comfy/controlnet.py:500
Functioncopy_to_param
(obj, attr, value)
MagicQuill/comfy/utils.py:304
Functioncount_params
(model, verbose=False)
MagicQuill/comfy/ldm/util.py:65
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:867
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:1096
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:1358
Methodcreate_custom_forward
(module)
MagicQuill/brushnet/unet_2d_blocks.py:1501
Methodcreate_custom_forward
(module)
MagicQuill/brushnet/unet_2d_blocks.py:2000
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:2152
Methodcreate_custom_forward
(module)
MagicQuill/brushnet/unet_2d_blocks.py:2247
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:2356
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:2665
Methodcreate_custom_forward
(module)
MagicQuill/brushnet/unet_2d_blocks.py:2812
Methodcreate_custom_forward
(module)
MagicQuill/brushnet/unet_2d_blocks.py:3355
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:3513
Methodcreate_custom_forward
(module)
MagicQuill/brushnet/unet_2d_blocks.py:3616
Methodcreate_custom_forward
(module, return_dict=None)
MagicQuill/brushnet/unet_2d_blocks.py:3744
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:868
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:1097
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:1359
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:1502
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:2001
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:2153
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:2248
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:2357
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:2666
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:2813
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:3356
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:3514
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:3617
Methodcustom_forward
(*inputs)
MagicQuill/brushnet/unet_2d_blocks.py:3745
Methodcut_for_inpaint
(self, image: torch.Tensor, mask: torch.Tensor, width: int, height: int)
MagicQuill/brushnet_nodes.py:552
Methoddecode
(self, vae, samples)
MagicQuill/comfyui_utils.py:157
Methoddecode
Decode the token index to text. Args: token_ids: The token index to be decoded. return_raw: Whether keep the placehol
MagicQuill/brushnet/powerpaint_utils.py:193
Methoddecode
(self, x)
MagicQuill/comfy/ldm/modules/diffusionmodules/upscaling.py:56
Methoddecode
(self, x)
MagicQuill/comfy/ldm/audio/autoencoder.py:280
Methoddecode
(self, x)
MagicQuill/comfy/ldm/cascade/stage_c_coder.py:94
Methoddecode
(self, *args, **kwargs)
MagicQuill/comfy/ldm/models/autoencoder.py:83
Methoddecode
(self, z: torch.Tensor, **decoder_kwargs)
MagicQuill/comfy/ldm/models/autoencoder.py:197
Methoddecode
(self, x)
MagicQuill/comfy/taesd/taesd.py:73
Methoddecode_latent_to_preview
(self, x0)
MagicQuill/latent_preview.py:34
Methoddecode_latent_to_preview
(self, x0)
MagicQuill/latent_preview.py:43
Methoddecode_tiled
(self, samples, tile_x=64, tile_y=64, overlap = 16)
MagicQuill/comfy/sd.py:347
Functiondefault
(val, d)
MagicQuill/comfy/ldm/util.py:51
Methoddenoise_to_zero_fn
Denoise at the final step, which is equivalent to solve the ODE from lambda_s to infty by first-order discretization.
MagicQuill/comfy/extra_samplers/uni_pc.py:462
Methoddisable_freeu
Disables the FreeU mechanism.
MagicQuill/brushnet/unet_2d_condition.py:858
Functiondownload_file
Downloads a file if it does not exist, optionally checking its SHA-256 hash.
MagicQuill/comfy/k_diffusion/utils.py:37
Functiondpm_adaptive_function
(model, noise, sigmas, extra_args, callback, disable, **extra_options)
MagicQuill/comfy/samplers.py:585
Functiondpm_fast_function
(model, noise, sigmas, extra_args, callback, disable)
MagicQuill/comfy/samplers.py:574
Methoddynamic_thresholding_fn
The dynamic thresholding method.
MagicQuill/comfy/extra_samplers/uni_pc.py:373
Methodema_scope
(self, context=None)
MagicQuill/comfy/ldm/models/autoencoder.py:66
Functionema_update
Incorporates updated model parameters into an exponential moving averaged version of a model. It should be called after each optimizer step.
MagicQuill/comfy/k_diffusion/utils.py:70
Functionenable_args_parsing
(enable=True)
MagicQuill/comfy/options.py:4
Methodenable_freeu
r"""Enables the FreeU mechanism from https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stage blocks wher
MagicQuill/brushnet/unet_2d_condition.py:834
Methodencode
(self, clip, text)
MagicQuill/comfyui_utils.py:124
Methodencode
Encode the passed text to token index. Args: text (Union[str, List[str]]): The text to be encode. *args, **kwargs: Th
MagicQuill/brushnet/powerpaint_utils.py:183
Methodencode
(self, text)
MagicQuill/comfy/sd.py:148
Methodencode
(self, x)
MagicQuill/comfy/ldm/audio/autoencoder.py:277
← previousnext →801–900 of 1,402, ranked by callers