MCPcopy Index your code
hub / github.com/DenOfEquity/ersatzForge

github.com/DenOfEquity/ersatzForge @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
6,924 symbols 20,502 edges 522 files 1,012 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

a backup of my local (experimental, opinionated) changes to Forge2 webUI * broadly similiar package requirements to original Forge - no new Python, Numpy, etc. I'm using Torch 2.6 and CUDA 12.4 on a GTX1070. * auto selection of VAE and text encoders per model / UI setting * Chroma (based on https://github.com/croquelois/forgeChroma) and Chroma Radiance (based on https://github.com/maybleMyers/chromaforge) * extended Checkpoint Merger, including UI for nArn0's embedding convertor (based on https://github.com/nArn0/sdxl-embedding-converter) * Hypernetworks * various and multitudinous other tweaks and modifications: UI, embedding filtering, code consolidation and tidying, dead code removal, performance improvements (for me), improved memory management * tiling (sd1, 2, xl) (based on https://github.com/spinagon/ComfyUI-seamless-tiling) * all embeddings everywhere all at once: SD1.5 embeddings (CLIP-L only) can be used with SDXL, SD3; SDXL embeddings can be used with SD1 (applies CLIP-L only, CLIP-G ignored), SD3 * new preprocessors for IPAdapter, including tiling, noising (for uncond) and sharpening of inputs. And multi-input. * Latent NeuralNet upscaler by city96 (based on https://github.com/city96/SD-Latent-Upscaler) (1.25x, 1.5x and 2.0x; for sd1.5, sd2, sdxl). * Flux2 latent NeuralNet upscaler by TensorForger (based on https://github.com/tensorforger/comfyui-flow-upscaler) (2.0x; for Flux.2, ERNIE, mugen). * support more upscaler models via updated Spandrel - place models in models/upscaler. * ResAdapter support: download models to models/other_modules, load via 'Additional modules' selector (as VAE, text encoder), LoRA as usual (https://huggingface.co/jiaxiangc/res-adapter) * long CLIP * distilled T5 models for Flux by LifuWang (see https://huggingface.co/LifuWang/DistillT5) * lama and MAT inpainting models usable in img2img, both as processing options and as infill options * PuLID (sdxl) (based on https://github.com/cubiq/PuLID_ComfyUI/) * nVidia Cosmos predict2 t2i (only tested 2B model), and Anima (including canny controlnet) * Wan 2.2 14B (based on Haoming02's implementation in ForgeNeo) and 5B, 1 frame generation only * ELLA (https://github.com/TencentQQGYLab/ELLA), models downloaded automatically for first use, enable in Settings * extra samplers: SA-Solver, ER-SDE, Adaptive-ODE (params in Settings), Fixed-ODE; and extra options/variants. * assorted extra functionality in built-in extensions, controlnet preprocessors, Extras tab. * built-in latent manipulations such as Epsilon Scaling, CFG rescale, CFG normalization (see Settings) * dyPE high resolution generation for Flux (based on https://github.com/guyyariv/DyPE), works (inconsistently) as far as I can test on my limited hardware * Lumina2 * Z-Image-Turbo (1024x1024, fp8 model - 15s per iteration ⇒ 2:15 for 9 step generation on old laptop with 8GB VRAM GTX1070); including Union Control. And Base. * Mugen * Flux2.Klein 4B and 9B * ERNIE * Krea2

Core symbols most depended-on inside this repo

get
called by 632
modules_forge/shared.py
format
called by 370
extensions-builtin/sd_forge_controlnet/lib_controlnet/logging.py
to
called by 347
backend/operations_gguf.py
join
called by 286
extensions-builtin/sd_forge_stylealign/scripts/forge_stylealign.py
to
called by 267
extensions-builtin/forge_space_ChatterboxTurbo/huggingface_space_mirror/chatterbox/tts.py
update
called by 230
modules/shared_total_tqdm.py
astype
called by 226
packages/gguf/lazy.py
info
called by 158
modules/options.py

Shape

Method 3,689
Function 1,975
Class 1,254
Route 6

Languages

Python96%
TypeScript4%

Modules by API surface

extensions-builtin/forge_space_geowizard/geo_models/unet_2d_blocks.py111 symbols
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/tokenizer_25hz/modeling_qwen3_tts_tokenizer_v1.py109 symbols
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/models/modeling_qwen3_tts.py109 symbols
extensions-builtin/forge_preprocessor_normalbae/annotator/normalbae/models/submodules/efficientnet_repo/geffnet/gen_efficientnet.py103 symbols
packages/gguf/quants.py98 symbols
modules/scripts.py88 symbols
backend/operations.py84 symbols
extensions-builtin/forge_space_Qwen3_TTS/huggingface_space_mirror/qwen_tts/core/tokenizer_12hz/modeling_qwen3_tts_tokenizer_v2.py79 symbols
backend/modules/k_prediction.py72 symbols
packages/huggingface_guess/model_list.py71 symbols
modules/processing.py67 symbols
backend/memory_management.py63 symbols

For agents

$ claude mcp add ersatzForge \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page