MCPcopy Create free account

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

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

↓ 1 callersFunctioncalculate_start_end_timesteps
(model, conds)
MagicQuill/comfy/samplers.py:440
↓ 1 callersMethodcan_concat
(self, other)
MagicQuill/comfy/conds.py:19
↓ 1 callersFunctioncan_concat_cond
(c1, c2)
MagicQuill/comfy/samplers.py:99
↓ 1 callersFunctioncfg_function
(model, cond_pred, uncond_pred, cond_scale, x, timestep, model_options={}, cond=None, uncond=None)
MagicQuill/comfy/samplers.py:253
↓ 1 callersMethodcheck_duplicate_names
Check whether duplicate names exist in list of 'external embeddings'. Args: embeddings (List[dict]): A list of embedding
MagicQuill/brushnet/powerpaint_utils.py:250
↓ 1 callersMethodcheck_ids_overlap
Check whether overlap exist in token ids of 'external_embeddings'. Args: embeddings (List[dict]): A list of embedding to be check
MagicQuill/brushnet/powerpaint_utils.py:262
↓ 1 callersFunctioncheckpoint
Evaluate a function without caching intermediate activations, allowing for reduced memory at the expense of extra compute in the backward pas
MagicQuill/comfy/ldm/modules/diffusionmodules/util.py:177
↓ 1 callersFunctionchunk_scanner
(chunk_idx: int, mask)
MagicQuill/comfy/ldm/modules/sub_quadratic_attention.py:108
↓ 1 callersMethodclip_layer
(self, layer_idx)
MagicQuill/comfy/sd.py:127
↓ 1 callersFunctionclip_preprocess
(image, size=224)
MagicQuill/comfy/clip_vision.py:19
↓ 1 callersMethodclip_target
(self, state_dict={})
MagicQuill/comfy/supported_models.py:511
↓ 1 callersMethodclone
(self)
MagicQuill/comfy/model_patcher.py:82
↓ 1 callersMethodclone_has_same_weights
(self, clone)
MagicQuill/comfy/model_patcher.py:100
↓ 1 callersFunctionclosest_colour
(requested_colour)
MagicQuill/magic_utils.py:131
↓ 1 callersMethodcommon_ksampler
(self, model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent, denoise, disable_noise=Fa
MagicQuill/comfyui_utils.py:130
↓ 1 callersMethodcompute_bias
Compute binned relative position bias
MagicQuill/comfy/t5.py:128
↓ 1 callersFunctioncompute_vars
(input, image_width, image_height)
MagicQuill/folder_paths.py:242
↓ 1 callersFunctioncond_cat
(c_list)
MagicQuill/comfy/samplers.py:119
↓ 1 callersFunctioncond_equal_size
(c1, c2)
MagicQuill/comfy/samplers.py:89
↓ 1 callersFunctioncond_grad_fn
Compute the gradient of the classifier, i.e. nabla_{x} log p_t(cond | x_t).
MagicQuill/comfy/extra_samplers/uni_pc.py:313
↓ 1 callersFunctionconfig_model
(model)
MagicQuill/pidi.py:649
↓ 1 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
MagicQuill/comfy/t2i_adapter/adapter.py:7
↓ 1 callersFunctionconvert_config
(unet_config)
MagicQuill/comfy/model_detection.py:251
↓ 1 callersFunctionconvert_to_transformers
(sd, prefix)
MagicQuill/comfy/clip_vision.py:62
↓ 1 callersMethodcopy_to
(self, model)
MagicQuill/comfy/ldm/modules/ema.py:50
↓ 1 callersFunctioncreateConvFunc
(op_type)
MagicQuill/pidi.py:298
↓ 1 callersFunctioncreate_cond_with_same_area_if_none
(conds, c)
MagicQuill/comfy/samplers.py:408
↓ 1 callersMethodcropped_pos_embed
(self, hw, device=None)
MagicQuill/comfy/ldm/modules/diffusionmodules/mmdit.py:843
↓ 1 callersFunctioncut_with_mask
(mask, width, height)
MagicQuill/brushnet_nodes.py:696
↓ 1 callersFunctioncv2_resize_shortest_edge
(image, size)
MagicQuill/magic_utils.py:56
↓ 1 callersFunctionddim_scheduler
(model_sampling, steps)
MagicQuill/comfy/samplers.py:305
↓ 1 callersMethoddecode
(self, x)
MagicQuill/comfy/ldm/audio/autoencoder.py:39
↓ 1 callersMethoddecode
(self, x)
MagicQuill/comfy/ldm/cascade/stage_a.py:219
↓ 1 callersMethoddecode
(self, z: torch.Tensor, **kwargs)
MagicQuill/comfy/ldm/models/autoencoder.py:136
↓ 1 callersMethoddecode_latent_to_preview
(self, x0)
MagicQuill/latent_preview.py:23
↓ 1 callersMethoddecode_latent_to_preview_image
(self, preview_format, x0)
MagicQuill/latent_preview.py:26
↓ 1 callersMethoddecode_tiled_1d
(self, samples, tile_x=128, overlap=64)
MagicQuill/comfy/sd.py:301
↓ 1 callersFunctiondefault
(val, d)
MagicQuill/comfy/gligen.py:16
↓ 1 callersFunctiondetect_unet_config
(state_dict, key_prefix)
MagicQuill/comfy/model_detection.py:34
↓ 1 callersFunctiondevice_should_use_non_blocking
(device)
MagicQuill/comfy/model_management.py:675
↓ 1 callersFunctiondevice_supports_non_blocking
(device)
MagicQuill/comfy/model_management.py:664
↓ 1 callersMethoddpm_solver_adaptive
(self, x, t_start, t_end, order=3, rtol=0.05, atol=0.0078, h_init=0.05, pcoeff=0., icoeff=1., dcoeff=0., accep
MagicQuill/comfy/k_diffusion/sampling.py:428
↓ 1 callersMethoddpm_solver_fast
(self, x, t_start, t_end, nfe, eta=0., s_noise=1., noise_sampler=None)
MagicQuill/comfy/k_diffusion/sampling.py:389
↓ 1 callersFunctiondraw_contour
(img, mask)
MagicQuill/magic_utils.py:107
↓ 1 callersFunctiondtype_size
(dtype)
MagicQuill/comfy/model_management.py:489
↓ 1 callersFunctionefficient_dot_product_attention
Computes efficient dot-product attention given query, transposed key, and value. This is efficient version of attention presented in https
MagicQuill/comfy/ldm/modules/sub_quadratic_attention.py:188
↓ 1 callersMethodencode
(self, tokens)
MagicQuill/comfy/sd1_clip.py:200
↓ 1 callersMethodencode
(self, x, return_info=False, **kwargs)
MagicQuill/comfy/ldm/audio/autoencoder.py:25
↓ 1 callersMethodencode
(self, x, quantize=False)
MagicQuill/comfy/ldm/cascade/stage_a.py:210
↓ 1 callersMethodencode
( self, x: torch.Tensor, return_reg_log: bool = False, unregularized: bool = F
MagicQuill/comfy/ldm/models/autoencoder.py:122
↓ 1 callersMethodencode_adm
(self, **kwargs)
MagicQuill/comfy/model_base.py:122
↓ 1 callersMethodencode_adm
(self, **kwargs)
MagicQuill/comfy/model_base.py:354
↓ 1 callersMethodencode_adm
(self, **kwargs)
MagicQuill/comfy/model_base.py:579
↓ 1 callersFunctionencode_model_conds
(model_function, conds, noise, device, prompt_type, **kwargs)
MagicQuill/comfy/samplers.py:506
↓ 1 callersMethodencode_token_weights
(self, token_weight_pairs)
MagicQuill/comfy/sd1_clip.py:524
↓ 1 callersFunctionescape_important
(text)
MagicQuill/comfy/sd1_clip.py:254
↓ 1 callersFunctionexists
(val)
MagicQuill/comfy/gligen.py:8
↓ 1 callersFunctionexpand_directory_list
(directories)
MagicQuill/comfy/sd1_clip.py:283
↓ 1 callersMethodexpand_mask
(self, mask, expand, tapered_corners)
MagicQuill/comfyui_utils.py:380
↓ 1 callersFunctionfilter_files_extensions
(files, extensions)
MagicQuill/folder_paths.py:171
↓ 1 callersFunctionfind_different_colors
(img1, img2, threshold=10)
MagicQuill/magic_utils.py:148
↓ 1 callersFunctionfn
(tau)
MagicQuill/comfy/k_diffusion/sampling.py:275
↓ 1 callersMethodforward
(self, x)
MagicQuill/comfy/t2i_adapter/adapter.py:134
↓ 1 callersMethodforward
(self, x)
MagicQuill/comfy/ldm/modules/diffusionmodules/mmdit.py:46
↓ 1 callersMethodforward
(self, x, output_shape=None)
MagicQuill/comfy/ldm/modules/diffusionmodules/openaimodel.py:80
↓ 1 callersMethodforward
(self, t)
MagicQuill/comfy/ldm/audio/dit.py:155
↓ 1 callersMethodforward
(self, x, quantize=False)
MagicQuill/comfy/ldm/cascade/stage_a.py:224
↓ 1 callersMethodforward
(self, x, x_skip=None)
MagicQuill/comfy/ldm/cascade/common.py:104
↓ 1 callersMethodforward_comfy_cast_weights
(self, input)
MagicQuill/comfy/ops.py:44
↓ 1 callersMethodforward_comfy_cast_weights
(self, input)
MagicQuill/comfy/ops.py:58
↓ 1 callersMethodforward_comfy_cast_weights
(self, input)
MagicQuill/comfy/ops.py:72
↓ 1 callersMethodforward_comfy_cast_weights
(self, input)
MagicQuill/comfy/ops.py:86
↓ 1 callersMethodforward_comfy_cast_weights
(self, input)
MagicQuill/comfy/ops.py:100
↓ 1 callersMethodforward_comfy_cast_weights
(self, input)
MagicQuill/comfy/ops.py:115
↓ 1 callersMethodforward_comfy_cast_weights
(self, input, output_size=None)
MagicQuill/comfy/ops.py:133
↓ 1 callersMethodforward_comfy_cast_weights
(self, input, output_size=None)
MagicQuill/comfy/ops.py:154
↓ 1 callersMethodforward_core_with_concat
( self, x: torch.Tensor, c_mod: torch.Tensor, context: Optional[torch.Tensor]
MagicQuill/comfy/ldm/modules/diffusionmodules/mmdit.py:891
↓ 1 callersMethodforward_from_seq_len
(self, seq_len, device, dtype)
MagicQuill/comfy/ldm/audio/dit.py:149
↓ 1 callersMethodfreeze
(self)
MagicQuill/comfy/sd1_clip.py:105
↓ 1 callersFunctionfunc
(x, weights, bias=None, stride=1, padding=0, dilation=1, groups=1)
MagicQuill/pidi.py:304
↓ 1 callersMethodgen_c_embeddings
(self, clip)
MagicQuill/comfy/ldm/cascade/stage_b.py:169
↓ 1 callersMethodgen_c_embeddings
(self, clip_txt, clip_txt_pooled, clip_img)
MagicQuill/comfy/ldm/cascade/stage_c.py:173
↓ 1 callersFunctiongen_empty_tokens
(special_tokens, length)
MagicQuill/comfy/sd1_clip.py:13
↓ 1 callersFunctiongenerate
(ckpt_name, total_mask, original_image, add_color_image, add_edge_image, remove_edge_image, positive_prompt, n
gradio_run.py:115
↓ 1 callersFunctiongeneric_step_sampler
(model, x, sigmas, extra_args=None, callback=None, disable=None, noise_sampler=None, step_function=None)
MagicQuill/comfy/k_diffusion/sampling.py:753
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
MagicQuill/comfy/ldm/modules/diffusionmodules/mmdit.py:161
↓ 1 callersFunctionget_2d_sincos_pos_embed_torch
(embed_dim, w, h, val_center=7.5, val_magnitude=7.5, device=None, dtype=torch.float32)
MagicQuill/comfy/ldm/modules/diffusionmodules/mmdit.py:203
↓ 1 callersFunctionget_additional_models
loads additional models in conditioning
MagicQuill/comfy/sampler_helpers.py:32
↓ 1 callersMethodget_alpha
(self, bs)
MagicQuill/comfy/ldm/modules/temporal_ae.py:63
↓ 1 callersMethodget_alpha
( self, )
MagicQuill/comfy/ldm/modules/temporal_ae.py:179
↓ 1 callersMethodget_alpha
(self, image_only_indicator: torch.Tensor, device)
MagicQuill/comfy/ldm/modules/diffusionmodules/util.py:49
↓ 1 callersFunctionget_area_and_mult
(conds, x_in, timestep_in)
MagicQuill/comfy/samplers.py:10
↓ 1 callersMethodget_aug_embed
( self, emb: torch.Tensor, encoder_hidden_states: torch.Tensor, added_cond_kwargs: Dict[str, Any]
MagicQuill/brushnet/unet_2d_condition.py:955
↓ 1 callersMethodget_class_embed
(self, sample: torch.Tensor, class_labels: Optional[torch.Tensor])
MagicQuill/brushnet/unet_2d_condition.py:939
↓ 1 callersFunctionget_colored_contour
(img1, img2, threshold=10)
MagicQuill/magic_utils.py:125
↓ 1 callersFunctionget_filename_list_
(folder_name)
MagicQuill/folder_paths.py:191
↓ 1 callersMethodget_input_embeddings
(self)
MagicQuill/comfy/t5.py:223
↓ 1 callersFunctionget_mask_aabb
(masks)
MagicQuill/comfy/samplers.py:334
↓ 1 callersFunctionget_mask_chunk
(chunk_idx: int)
MagicQuill/comfy/ldm/modules/sub_quadratic_attention.py:234
↓ 1 callersFunctionget_previewer
(device, latent_format)
MagicQuill/latent_preview.py:49
← previousnext →301–400 of 1,402, ranked by callers