MCPcopy Create free account

hub / github.com/DenOfEquity/ersatzForge / functions

Functions5,664 in github.com/DenOfEquity/ersatzForge

↓ 7 callersMethod__init__
(self, *, ch, out_ch, ch_mult=(1, 2, 4, 8), num_res_blocks, attn_resolutions, dropout=0.0, resamp_with_conv=Tr
backend/nn/vae.py:141
↓ 7 callersMethod__init__
(self, channels=[320, 640, 1280, 1280], nums_rb=3, cin=64, ksize=3, sk=False, use_conv=True, xl=True)
backend/nn/cnets/t2i_adapter.py:104
↓ 7 callersMethod_conv_forward
(self, x: Tensor, weight: Tensor, bias: Optional[Tensor])
extensions-builtin/forge_space_ChatterboxTurbo/s3tokenizer/model.py:67
↓ 7 callersMethod_validate_languages
Validate that requested languages are supported by the model. Args: languages (List[str]): Language names for each sampl
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/inference/qwen3_tts_model.py:141
↓ 7 callersMethodactivate
Called by processing on every run. Whatever the extra network is meant to do should be activated here. Passes arguments related to
modules/extra_networks.py:45
↓ 7 callersFunctionadaptive_resize
(samples, width, height, upscale_method, crop)
backend/misc/image_resize.py:92
↓ 7 callersMethodallowed_directories_for_previews
(self)
modules/ui_extra_networks.py:614
↓ 7 callersMethodbounding
(self, size)
modules/autocrop.py:327
↓ 7 callersMethodclose
(self)
modules/processing.py:341
↓ 7 callersMethodend
(self)
modules/shared_state.py:131
↓ 7 callersFunctionfp16_fix
(x)
backend/utils.py:132
↓ 7 callersFunctionget_ancestral_step
Calculates the noise level (sigma_down) to step down to and the amount of noise to add (sigma_up) when doing an ancestral sampling step.
packages/k_diffusion/sampling.py:53
↓ 7 callersMethodmodel_fn
Convert the model to the noise prediction model or the data prediction model.
modules/models/diffusion/uni_pc/uni_pc.py:450
↓ 7 callersFunctionmodulate
(x, shift, scale)
backend/nn/mmditx.py:103
↓ 7 callersFunctionnorm_normalize
(norm_out)
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/submodules.py:64
↓ 7 callersMethodpost_attention
(self, x: torch.Tensor)
backend/nn/mmditx.py:259
↓ 7 callersMethodpre_attention
(self, x: torch.Tensor)
backend/nn/mmditx.py:251
↓ 7 callersFunctionround_channels
Round number of filters based on depth multiplier.
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:82
↓ 7 callersMethodrun
Run one decode step. input_embeds: [1, 1, hidden_size] position: current sequence position Returns: [1, 1, hidden_siz
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/faster_qwen3_tts/talker_graph.py:199
↓ 7 callersMethodset_model_patch
(self, patch, name)
backend/patcher/base.py:152
↓ 7 callersFunctionshould_use_fp16
(device=None, model_params=0, prioritize_performance=True, manual_cast=False)
backend/memory_management.py:1180
↓ 7 callersMethodunpatchify
x: (N, T, patch_size**2 * C) imgs: (N, C, H, W)
backend/nn/mmditx.py:795
↓ 7 callersFunctionweight_decompose
(dora_scale, weight, lora_diff, alpha, strength, computation_dtype)
backend/patcher/lora.py:128
↓ 6 callersFunctionNormalize
(in_channels, num_groups=32)
backend/nn/vae.py:12
↓ 6 callersMethod__exit__
(self, exc_type, exc, exc_tb)
modules/profiling.py:35
↓ 6 callersMethod__init__
(self, channels)
extensions-builtin/forge_preprocessor_softedge/pidinet.py:108
↓ 6 callersMethod__init__
(self, state_dict)
extensions-builtin/sd_forge_ipadapter/lib_ipadapter/IPAdapterPlus.py:153
↓ 6 callersMethod__init__
(self, in_channels, out_channels, kernel_size, ratio_gin, ratio_gout, stride=1, padding=0,
extensions-builtin/forge_preprocessor_inpaint/annotator/FFCResNet.py:175
↓ 6 callersMethod__init__
(self, sigma_data=1.0, prediction_type='epsilon', beta_schedule='linear', linear_start=0.00085,
backend/modules/k_prediction.py:113
↓ 6 callersMethod__init__
(self, hidden_size: int, intermediate_size: int)
backend/nn/llm/qwen_vl.py:205
↓ 6 callersFunction_gen_efficientnet_condconv
Creates an efficientnet-condconv model.
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:573
↓ 6 callersFunction_gen_efficientnet_edge
(variant, channel_multiplier=1.0, depth_multiplier=1.0, pretrained=False, **kwargs)
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:548
↓ 6 callersFunction_gen_mixnet_m
Creates a MixNet Medium-Large model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet/mixnet Paper: https://ar
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:676
↓ 6 callersMethod_resolve_non_streaming_mode
Treat None as the method-specific upstream default.
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/faster_qwen3_tts/model.py:85
↓ 6 callersFunction_stream_to_audio
(gen)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/faster_qwen3_tts/cli.py:36
↓ 6 callersMethodadjustInitialPositionAndScale
()
modules_forge/forge_canvas/canvas.js:627
↓ 6 callersFunctionappendContextMenuOption
(targetElementSelector, entryName, entryFunction)
javascript/contextMenus.js:42
↓ 6 callersFunctionbeautiful_print_gguf_state_dict_statics
(state_dict)
backend/utils.py:191
↓ 6 callersFunctioncreate_model
( model_name: str, pretrained: Optional[str] = None, precision: str = 'fp32',
extensions-builtin/sd_forge_ipadapter/pulid/eva_clip/factory.py:196
↓ 6 callersFunctioncrop_and_resize_image
(detected_map, resize_mode, h, w, fill_border_with_255=False)
extensions-builtin/sd_forge_controlnet/lib_controlnet/utils.py:319
↓ 6 callersMethoddecode
(self, codes: torch.Tensor)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/tokenizer_12hz/modeling_qwen3_tts_tokenizer_v2.py:673
↓ 6 callersMethoddumpjson
(self)
modules/options.py:236
↓ 6 callersMethodencode_image
(self, image, normalize: bool = False)
extensions-builtin/sd_forge_ipadapter/pulid/eva_clip/model.py:245
↓ 6 callersMethodfind_preview
Find a preview PNG for a given path (without extension).
modules/ui_extra_networks.py:629
↓ 6 callersFunctionget_act_layer
Activation Layer Factory Fetching activation layers by name with this function allows export or torch script friendly functions to be returne
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/__init__.py:118
↓ 6 callersFunctionget_noise_source_type
()
modules/rng.py:113
↓ 6 callersFunctionget_nonlinear
(config_str, channels)
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/models/s3gen/xvector.py:130
↓ 6 callersFunctionis_device_cpu
(device)
backend/memory_management.py:1168
↓ 6 callersMethodjs
(self, label, js_func)
modules/options.py:40
↓ 6 callersMethodlink
(self, label, url)
modules/options.py:36
↓ 6 callersFunctionmake_pad_mask
Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: lengths (torch.Tensor): Batch of len
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/models/s3gen/utils/mask.py:167
↓ 6 callersMethodpatch
(self, model, ratio)
backend/misc/tomesd.py:151
↓ 6 callersFunctionpil_image_to_torch_bgr
(img: Image.Image)
modules_forge/utils.py:103
↓ 6 callersFunctionpopup
(contents)
javascript/extraNetworks.js:533
↓ 6 callersFunctionprocess_cell
(x, y, z, ix, iy, iz)
scripts/xyz_grid.py:321
↓ 6 callersFunctionreshape_tensor
(x, heads)
extensions-builtin/sd_forge_ipadapter/pulid/IDFormer.py:20
↓ 6 callersFunctionset_model_patch_replace
(model, patch_kwargs, key)
extensions-builtin/sd_forge_ipadapter/lib_ipadapter/IPAdapterPlus.py:162
↓ 6 callersMethodsetup_ui
(self)
modules/scripts.py:720
↓ 6 callersMethodsetup_ui_for_section
(self, section, scriptlist=None)
modules/scripts.py:699
↓ 6 callersFunctionshowSubmitButtons
(tabname, show)
javascript/ui.js:123
↓ 6 callersFunctionsoft_empty_cache
(force=False)
backend/memory_management.py:1304
↓ 6 callersMethodstart
(self, args)
modules/prompt_parser.py:107
↓ 6 callersFunctiontiled_scale
(samples, function, tile=(64, 64), overlap=8, upscale_amount=4, out_channels=3, output_device="cpu")
backend/patcher/vae.py:10
↓ 6 callersMethodupdateUndoRedoButtons
()
modules_forge/forge_canvas/canvas.js:731
↓ 6 callersFunctionwrap_queued_call
(func)
modules/call_queue.py:13
↓ 5 callersMethod__init__
(self, in_channels, out_channels, bilinear=True)
extensions-builtin/forge_preprocessor_lineart/scripts/preprocessor_anilines.py:91
↓ 5 callersMethod__init__
(self, in_chs, out_chs, kernel_size, stride=1, pad_type='', act_layer=nn.ReLU, norm_layer=nn.
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:123
↓ 5 callersMethod__init__
(self, inplace: bool = False)
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/activations/activations.py:37
↓ 5 callersMethod__init__
(self, dim: int, level: int = 3)
extensions-builtin/forge_space_ChatterboxTurbo/s3tokenizer/model_v2.py:85
↓ 5 callersMethod__init__
(self, name: str, config: ModelConfig = ModelConfig())
extensions-builtin/forge_space_ChatterboxTurbo/s3tokenizer/model.py:313
↓ 5 callersMethod__init__
Construct an PositionalEncoding object.
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/models/s3gen/transformer/embedding.py:37
↓ 5 callersMethod__init__
(self, value="", *args, elem_classes=None, **kwargs)
modules/ui_components.py:21
↓ 5 callersMethod__init__
(self, dim, out_dim, patch_size, eps=1e-6)
backend/nn/wan.py:219
↓ 5 callersMethod__init__
(self, hidden_size, patch_size, out_channels, z_modulation=False)
backend/nn/lumina2.py:202
↓ 5 callersMethod_build_assistant_text
(self, text: str)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/inference/qwen3_tts_model.py:269
↓ 5 callersFunction_ntuple
(n)
extensions-builtin/sd_forge_ipadapter/pulid/eva_clip/utils.py:277
↓ 5 callersFunction_parse_ksize
(ss)
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:456
↓ 5 callersFunction_repeat_batch_dim
repeat batch dimension if it's equal to 1
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/models/s3gen/flow.py:30
↓ 5 callersMethod_wrap_fn
(cls, fn: Callable, *, use_self: LazyBase | None = None, meta_noop: bool | DTypeLike | tuple[DTypeLike, Callab
packages/gguf/lazy.py:110
↓ 5 callersFunctionadd_optional_chunk_mask
Apply optional mask for encoder. Args: xs (torch.Tensor): padded input, (B, L, D), L for max length mask (torch.Tensor): mask fo
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/models/s3gen/utils/mask.py:89
↓ 5 callersMethodadd_patches
(self, *arg, **kwargs)
backend/patcher/clip.py:29
↓ 5 callersFunctionadd_supported_control_model
(control_model)
modules_forge/shared.py:53
↓ 5 callersMethodapply
(self, x)
modules/images.py:489
↓ 5 callersMethodapply_model
(self, x, t, c_concat=None, c_crossattn=None, control=None, transformer_options={}, **kwargs)
backend/modules/k_model.py:27
↓ 5 callersFunctionattention
(q, k, v, pe)
backend/nn/flux.py:17
↓ 5 callersMethodbegin
(self, job: str = "(unknown)")
modules/shared_state.py:112
↓ 5 callersFunctionbuild_constructor
(sampler_name)
modules_forge/alter_samplers.py:11
↓ 5 callersFunctioncache
Retrieves or initializes a cache for a specific subsection. Parameters: subsection (str): The subsection identifier for the cach
modules/cache.py:56
↓ 5 callersFunctionceildiv
(big, small)
extensions-builtin/sd_forge_multidiffusion/lib_multidiffusion/tiled_diffusion.py:39
↓ 5 callersFunctioncheckpoint
(f, args, parameters, enable=False)
backend/nn/unet.py:10
↓ 5 callersFunctioncompress_keypoints
( keypoints: Union[List[Keypoint], None] )
extensions-builtin/forge_preprocessor_openpose/openpose/util.py:76
↓ 5 callersMethoddecode
(self, embed_ind, buffers)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/tokenizer_25hz/vq/core_vq.py:212
↓ 5 callersFunctiondecompress_keypoints
(numbers: Optional[List[float]])
extensions-builtin/forge_preprocessor_openpose/openpose/util.py:38
↓ 5 callersFunctionf
(*args, **kwargs)
modules/call_queue.py:14
↓ 5 callersFunctionfind_files_with_extensions
(search_path, extensions, base_path=None)
modules_forge/main_entry.py:57
↓ 5 callersFunctionfun
()
modules/ui_settings.py:24
↓ 5 callersFunctiongetTranslation
(text)
javascript/localization.js:59
↓ 5 callersFunctionget_ancestral_step_flow
(sigma_from, sigma_to, eta=1.)
packages/k_diffusion/sampling.py:64
↓ 5 callersMethodget_sd_model
(self)
modules/sd_models.py:294
↓ 5 callersFunctionget_uiCurrentTabContent
* Get the first currently visible top-level UI tab content (e.g. the div hosting the "txt2img" UI).
script.js:23
← previousnext →201–300 of 5,664, ranked by callers