MCPcopy Create free account

hub / github.com/DenOfEquity/ersatzForge / functions

Functions5,664 in github.com/DenOfEquity/ersatzForge

↓ 632 callersMethodget
(self, key)
modules_forge/shared.py:67
↓ 370 callersMethodformat
(self, record)
extensions-builtin/sd_forge_controlnet/lib_controlnet/logging.py:18
↓ 347 callersMethodto
(self, *args, **kwargs)
backend/operations_gguf.py:52
↓ 286 callersMethodjoin
(x)
extensions-builtin/sd_forge_stylealign/scripts/forge_stylealign.py:42
↓ 267 callersMethodto
(self, device)
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/tts.py:83
↓ 230 callersMethodupdate
(self)
modules/shared_total_tqdm.py:18
↓ 226 callersMethodastype
(self, dtype, *args, **kwargs)
packages/gguf/lazy.py:204
↓ 158 callersMethodinfo
(self, info)
modules/options.py:44
↓ 147 callersMethodadd
(self, callback, **kwargs)
extensions-builtin/sd_forge_ipadapter/PuLID.py:107
↓ 140 callersMethodupdate
Called when there is a new JSON pose value generated by running preprocessor. Args: json_string: The new JSON st
extensions-builtin/sd_forge_controlnet/lib_controlnet/controlnet_ui/openpose_editor.py:124
↓ 134 callersMethodpad
Given a list of wavs with the same `sample_rate`, pad them so that the length is multiple of 40ms (S3 runs at 25 token/sec).
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/models/s3tokenizer/s3tokenizer.py:54
↓ 131 callersFunctiongradioApp
()
script.js:1
↓ 120 callersMethodto
(self, device)
extensions-builtin/sd_forge_controlllite/lib_controllllite/lib_controllllite.py:109
↓ 112 callersMethodto
(self, *args, **kwargs)
modules/prompt_parser.py:291
↓ 111 callersMethodcopy
(self)
backend/patcher/controlnet.py:350
↓ 105 callersMethodclone
(self)
backend/patcher/vae.py:243
↓ 102 callersMethodto
(self, device)
spaces.py:143
↓ 88 callersMethodskip
(self)
modules/api/api.py:669
↓ 87 callersMethodexpand
(init, count, expand_pixels, is_left=False, is_right=False, is_top=False, is_bottom=False)
scripts/outpainting_mk_2.py:187
↓ 83 callersMethodexists
Check if a file exists at the given path.
modules/util.py:124
↓ 78 callersMethodflatten
(x)
modules/prompt_parser.py:108
↓ 74 callersFunctionadd_supported_preprocessor
(preprocessor)
modules_forge/shared.py:46
↓ 69 callersMethodconvert
Performs the learned rounding conversion for a single weight tensor.
backend/convert_fp8_scaled.py:37
↓ 59 callersMethodclear
(self)
modules/shared_total_tqdm.py:32
↓ 59 callersMethodto
Cast to a device and dtype. Dtype casting is ignored for long/int tensors.
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/models/t3/modules/cond_enc.py:24
↓ 53 callersMethoddevice
(self)
extensions-builtin/forge_space_ChatterboxTurbo/s3tokenizer/model.py:539
↓ 51 callersFunction_pcfg
(url='', hf_hub='', filename='', mean=None, std=None)
extensions-builtin/sd_forge_ipadapter/pulid/eva_clip/pretrained.py:18
↓ 50 callersMethodelem_id
helper function to generate id for a HTML element, constructs final id out of script name, tab and user-supplied item_id
modules/scripts.py:338
↓ 48 callersMethodrecord
(self, category, extra_time=0, disable_log=False)
modules/timer.py:49
↓ 46 callersMethodadd_api_route
(self, path: str, endpoint, **kwargs)
modules/api/api.py:272
↓ 45 callersMethodrandn
Generate a sequence of n standard normal random variables using the Philox 4x32 random number generator and the Box-Muller transform.
modules/rng_philox.py:84
↓ 44 callersMethodeval
(self)
modules/hypernetworks/hypernetwork.py:181
↓ 44 callersMethodregister_buffer
(self, name, attr)
modules/models/diffusion/uni_pc/sampler.py:18
↓ 42 callersFunctionmodel
()
modules/sd_vae_approx.py:42
↓ 42 callersMethodread
(self)
modules/memmon.py:75
↓ 41 callersMethodload_state_dict
(self, state_dict, strict=True)
extensions-builtin/forge_space_ChatterboxTurbo/s3tokenizer/model_v3.py:329
↓ 40 callersMethodload
(cls, fpath, map_location="cpu")
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/tts.py:98
↓ 40 callersMethodmodel
(self, x, t)
modules/sd_samplers_timesteps_impl.py:159
↓ 38 callersFunction_gen_efficientnet
Creates an EfficientNet model. Ref impl: https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/efficientnet_model.py Pap
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py:502
↓ 38 callersFunctionapply_field
(field)
scripts/xyz_grid.py:31
↓ 38 callersMethodshallow_copy
(self)
backend/diffusion_engine/base.py:13
↓ 36 callersFunctioncallback
()
javascript/dragdrop.js:15
↓ 32 callersMethodsigma
(self, t)
packages/k_diffusion/sampling.py:382
↓ 31 callersMethodslice
(self, tensor, slice_shape)
extensions-builtin/forge_preprocessor_softedge/teed.py:239
↓ 29 callersFunctionconv
(n_in, n_out, **kwargs)
modules/sd_vae_taesd.py:19
↓ 29 callersFunctionoptions_section
(section_identifier, options_dict)
modules/options.py:68
↓ 28 callersMethoddecode
(self, samples_in)
backend/patcher/vae.py:293
↓ 27 callersFunctionHWC3
(x)
modules_forge/utils.py:66
↓ 26 callersMethod__init__
(self, dim, mult=4, dropout=0.0)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/tokenizer_25hz/modeling_qwen3_tts_tokenizer_v1.py:515
↓ 26 callersMethod__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
extensions-builtin/forge_space_geowizard/geo_models/unet_2d_blocks.py:2374
↓ 26 callersMethodload
(self, filename)
modules/options.py:200
↓ 26 callersFunctionload_file_from_url
Download a file from `url` into `model_dir`, using the file present if possible. Returns the path to the downloaded file. file_name: if sp
modules/util.py:209
↓ 26 callersMethodneeds_reload_ui
(self)
modules/options.py:56
↓ 25 callersMethodfrom_pretrained
(cls, device)
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/tts.py:166
↓ 24 callersMethodencode
(self, pixel_samples)
backend/patcher/vae.py:328
↓ 24 callersMethodrandn_like
(self, x)
modules/sd_samplers_common.py:236
↓ 24 callersFunctionrun_example
(task_prompt, image, text_input=None, model_id='florence-community/Florence-2-large')
extensions-builtin/forge_space_florence_2/forge_app.py:36
↓ 23 callersMethodget_input_embeddings
(self)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/models/modeling_qwen3_tts.py:1447
↓ 23 callersFunctionresize_image_with_pad
(img, resolution)
modules_forge/utils.py:138
↓ 23 callersMethodsearch
(self, text)
modules/ui_settings.py:340
↓ 23 callersMethodthen
(*xargs, _js=None, **xkwargs)
modules/gradio_extensions.py:165
↓ 22 callersFunctionremove_pad
(x)
modules_forge/utils.py:148
↓ 22 callersMethodsave
(self, filename)
modules/options.py:185
↓ 21 callersMethodto
(self, device)
modules/hypernetworks/hypernetwork.py:167
↓ 20 callersMethod__init__
(self, in_features, alpha=1.0)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/tokenizer_12hz/modeling_qwen3_tts_tokenizer_v2.py:589
↓ 20 callersFunctionordered_callbacks
(category, unordered_callbacks=None, *, enable_user_sort=True)
modules/script_callbacks.py:189
↓ 20 callersFunctionreport_exception
(c, job)
modules/script_callbacks.py:14
↓ 20 callersFunctionto_d
Converts a denoiser output to a Karras ODE derivative.
packages/k_diffusion/sampling.py:48
↓ 20 callersMethodupdate
(self)
backend/text_processing/textual_inversion.py:107
↓ 19 callersMethod__init__
(self, in_channels, out_channels, scale=8, kernel_size=3, dilation=1)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/models/modeling_qwen3_tts.py:96
↓ 19 callersFunctionadd_callback
(callbacks, fun, *, name=None, category='unknown', filename=None)
modules/script_callbacks.py:122
↓ 19 callersMethodordered_scripts
(self, method_name)
modules/scripts.py:831
↓ 19 callersMethodprocess_in
(self, latent)
backend/nn/vae.py:399
↓ 18 callersFunctionInputAccordion
(value=None, **kwargs)
modules/ui_components.py:169
↓ 18 callersMethodapply
(model: ModelPatcher, method: str, tile_width: int, tile_height: int, tile_overlap: int, tile_batch_size: int)
extensions-builtin/sd_forge_multidiffusion/lib_multidiffusion/tiled_diffusion.py:296
↓ 18 callersFunctionexpand_dims
Expand the tensor `v` to the dim `dims`. Args: `v`: a PyTorch tensor with shape [N]. `dim`: a `int`. Returns: a
modules/models/diffusion/uni_pc/uni_pc.py:853
↓ 18 callersFunctionget_a1111_ui_component
(tab, label)
modules_forge/main_entry.py:303
↓ 18 callersFunctionmain_stream_worker
(weight, bias, signal)
backend/operations.py:91
↓ 18 callersFunctionusing_forge_operations
(operations=None, device=None, dtype=None, manual_cast_enabled=False, bnb_dtype=None)
backend/operations.py:588
↓ 18 callersFunctionweights_manual_cast
(layer, x, skip_weight_dtype=False, skip_bias_dtype=False, weight_fn=None, bias_fn=None)
backend/operations.py:60
↓ 17 callersFunctionconv_nd
(dims, *args, **kwargs)
backend/nn/unet.py:26
↓ 17 callersMethodfrom_model
(cls, model, diffusers_scheduler, config, k_predictor=None)
backend/patcher/unet.py:10
↓ 17 callersFunctionfunc
(x, weights, bias=None, stride=1, padding=0, dilation=1, groups=1)
extensions-builtin/forge_preprocessor_softedge/pidinet.py:26
↓ 17 callersMethodpercent_to_sigma
(self, percent)
backend/modules/k_prediction.py:160
↓ 17 callersMethodset
sets an option and calls its onchange callback, returning True if the option changed and False otherwise
modules/options.py:144
↓ 16 callersFunctionget_tensor
(name, transpose=False)
extensions-builtin/forge_space_ChatterboxTurbo/s3tokenizer/utils.py:200
↓ 16 callersMethodt
(self, sigma)
packages/k_diffusion/sampling.py:379
↓ 15 callersFunctiononUiLoaded
* Register callback to be called when the UI is loaded. * The callback receives no arguments.
script.js:60
↓ 15 callersMethodprocess_out
(self, latent)
backend/nn/vae.py:403
↓ 14 callersMethod__init__
(self, in_features, out_features, *args, **kwargs)
backend/operations.py:138
↓ 14 callersMethod_get
( self, offset: int, dtype: npt.DTypeLike, count: int = 1, override_order: None | Literal['I', 'S', '<
packages/gguf/gguf_reader.py:142
↓ 14 callersFunctiondecode_arch_def
(arch_def, depth_multiplier=1.0, depth_trunc='ceil', experts_multiplier=1, fix_first_last=False)
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:620
↓ 14 callersMethodget_text_embeddings
(self)
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/models/modeling_qwen3_tts.py:1450
↓ 14 callersFunctionget_torch_device
()
backend/memory_management.py:94
↓ 14 callersFunctionis_intel_xpu
()
backend/memory_management.py:85
↓ 14 callersFunctionlayer_config_kwargs
Consume config kwargs and return contextmgr obj
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/config.py:118
↓ 14 callersFunctionresolve_bn_args
(kwargs)
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/efficientnet_builder.py:34
↓ 14 callersMethodrun
This function is called if the script has been selected in the script dropdown. It must do all processing and return the Processed
modules/scripts.py:128
↓ 14 callersMethodsort
(a, b)
packages/k_diffusion/sampling.py:98
↓ 14 callersMethodto
(self, device)
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/tts_turbo.py:84
next →1–100 of 5,664, ranked by callers