table Diffusion WebUI Forge
Go to file
2025-09-26 10:52:26 -07:00
backend improve memory management when using async and normal chroma 2025-09-26 10:52:26 -07:00
embeddings add embeddings dir 2022-09-30 14:16:26 +03:00
extensions delete the submodule dir (why do you keep doing this) 2022-10-29 09:02:02 +03:00
extensions-builtin update requirements to include joblib for soft inpainting 2025-09-22 03:48:58 -07:00
forgeChroma@dfefdea5dc update to latest version of forge, fix que 2025-05-18 14:36:46 -07:00
html fix Extra networks tree show / edit (#1973) 2024-10-03 18:44:35 +01:00
images update readme 2025-09-22 04:04:03 -07:00
javascript update to latest version of forge, fix que 2025-05-18 14:36:46 -07:00
k_diffusion fix euler a sampler, add links 2025-06-11 04:55:48 -07:00
localizations Remove old localizations from the main repo. 2022-11-08 10:01:27 +03:00
models Create text encoder folder 2024-08-05 21:30:24 -07:00
modules fix attribute error 2025-09-22 12:20:25 -07:00
modules_forge improve memory management when using async and normal chroma 2025-09-26 10:52:26 -07:00
packages_3rdparty onetrainer 2025-09-24 06:47:55 -07:00
RamTorch RAMFORGE 2025-09-19 09:22:07 -07:00
scripts merge stuff 2025-06-29 07:19:08 -07:00
_typos.toml Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
.eslintignore Ignore ControlNet extension in eslint (#136) 2024-02-08 19:48:49 -05:00
.eslintrc.js Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
.git-blame-ignore-revs Add .git-blame-ignore-revs 2023-05-19 12:34:06 +03:00
.gitignore cleanup 2024-09-07 01:42:32 -07:00
.pylintrc Add basic Pylint to catch syntax errors on PRs 2022-10-15 16:26:07 +03:00
CHANGELOG.md sync change log 2024-07-27 06:47:04 -07:00
chromadct_optimization_integration.py ops 2025-08-30 03:20:09 -07:00
CITATION.cff citation mk2 2023-08-21 15:27:04 +03:00
CODEOWNERS Update CODEOWNERS 2024-01-25 17:02:35 -08:00
convertpth.py add conversion script, link to high res checkpoints 2025-06-05 23:37:26 -07:00
download_supported_configs.py upload Schnell support files 2024-08-11 17:31:12 -07:00
environment-wsl2.yaml update xformers 2023-04-03 15:23:35 -04:00
launch.py Implement some rethinking about LoRA system 2024-08-19 04:31:59 -07:00
LICENSE.txt license 2024-08-08 20:51:12 -07:00
NEWS.md move docs 2024-10-29 15:09:06 -07:00
package.json Add basic ESLint configuration for formatting 2023-05-17 16:09:06 +03:00
pyproject.toml Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
README.md onetrainer 2025-09-24 06:47:55 -07:00
requirements_versions.txt update requirements to include joblib for soft inpainting 2025-09-22 03:48:58 -07:00
sageattention-2.1.1+cu128torch2.7.0-cp310-cp310-win_amd64.whl add sage wheel 2025-05-27 01:55:56 -07:00
script.js Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
spaces.py exclude torch jit objects from space memory management 2024-09-07 19:08:17 -07:00
style.css fix img2img aspect ratio preview (#1740) 2024-09-07 22:14:15 +01:00
styles_integrated.csv forge 2.0.0 2024-08-10 19:24:19 -07:00
webui-macos-env.sh Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
webui-user.bat Fix command line arguments format in webui-user.bat (#135) 2024-02-08 19:47:42 -05:00
webui-user.sh Vendor in the single module used from taming_transformers; remove taming_transformers dependency 2023-05-30 12:47:57 +03:00
webui.bat Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
webui.py Any exception is translated in http response (#2186) 2024-10-28 00:27:38 +00:00
webui.sh Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00

GUI Screenshot

Fork of forge to use Chroma!

This is a fork with the patch from https://github.com/croquelois/forgeChroma preinstalled thanks Thanks to @croquelois && @lllyasviel!
I am going to keep updating it with new features. Suggestions are welcome.

To use:
git clone https://github.com/maybleMyers/chromaforge
Download one of the t5xxl text encoder from https://huggingface.co/flux-safetensors/flux-safetensors/blob/main/t5xxl_fp16.safetensors and place in models/text_encoder.
Download the vae from https://huggingface.co/lodestones/Chroma/tree/main ae.safetenstors and put it in models/vae.
Download the main chroma model from https://huggingface.co/lodestones/Chroma1-HD/blob/main/Chroma1-HD.safetensors

You will need python3.10 installed.
Run webui-user.bat for windows installation. Run webui.sh for linux installation (./webui.sh) from the chromaforge root directory.
After you first run webui-user.bat it might error, if so, close it and re run it.
To update to the latest version navigate to your root directory in a terminal and type "git pull"

in Forge, on the top left select chroma
select the checkpoint and then in the next field select the text encoder and vae.
Use euler simple scheduler to start.
set the CFG scale to something like 3.5-7
forge doesn't seem to work with all quantized model, Q4_K_S fail, but Q4_1 work
refer to screenshot for working settings.

To update to torch 2.7.0 with cuda 12.8 on windows and install sage attention, navigate to your root directory after initial installation ie c:/chromaforge/ and run these commands:
venv/scripts/activate
pip install torch==2.7.0+cu128 torchvision==0.22.0+cu128 --index-url https://download.pytorch.org/whl/cu128
pip install -U "triton-windows<3.4"
pip install .\sageattention-2.1.1+cu128torch2.7.0-cp310-cp310-win_amd64.whl

there's a bunch of extra samplers/schedulers at these places:
https://github.com/DenOfEquity/webUI_ExtraSchedulers https://github.com/MisterChief95/sd-forge-extra-samplers

RamForge

This supports use of the RamTorch memory management system. Add --use-ramtorch-chroma to your command line arguments. It will drastically lower vram usage to let you increase batch size or resolution greatly above what you could previously use. For instance you can run a batch of 8 1024x1024 images with a 12gb GPU. It does increas normal RAM usage by alot, 64GB recommended.

This was designed for training, it seems like not using it is faster.

https://github.com/lodestone-rock/RamTorch

Radiance Model

Download a checkpoint from here https://huggingface.co/lodestones/chroma-debug-development-only/tree/main/radiance then convert it with convertpth.py. Put it in your stable diffusion subfolder. Use the radiance model in the chroma tab of the gui without a vae. It will be automatically detected. Use the same T5 you normally use.
The memory management is currently derped. It will run fast with a 24GB card when setting the gpu weights to about 19,200, but if you need to offload expect 4x slowdown. You can dick with the gpu weights setting and it might run good if you set it to like half your vram.

Training: https://github.com/lodestone-rock/flow/ https://github.com/kohya-ss/sd-scripts/tree/sd3
Donate to Lodestone (training is bookoo expensive and crowdfunded): https://ko-fi.com/lodestonerock
Discord: http://discord.gg/SQVcWVbqKx

Changlog

9/24/2025
One trainer lora should load correctly now.
9/19/2025
Added support for RamTorch memory management system using normal chroma models. Use it by moidfying your webui-user.bat's set COMMANDLINE_ARGS= --use-ramtorch-chroma https://github.com/lodestone-rock/RamTorch
9/2/2025
Add res 2s, res 6s and res 16s samplers to main. Thanks to ClownsharkBatwing https://github.com/ClownsharkBatwing/RES4LYF
8/29/2025
Fixed previews w/ radiance chroma models, fixed memory management and offloading mechanisms for radiance somewhat, the memory management deffinately needs some more work.
8/28/2025
Added initial support for the radiance model class.
7/13/2025
Increase max res for chroma to 3072, add dedicated chroma button.
6/11/2025
Add links, Sigmoid Offset scheduler (thanks to croq and silveroxides https://github.com/silveroxides/ComfyUI_SigmoidOffsetScheduler), fix euler a simple sampler via croq's PR in forge https://github.com/lllyasviel/stable-diffusion-webui-forge/pull/2915.
5/27/2025
Fixed the sage attention implementation to work with chroma.
5/25/2025
Add support for sage and flash attention from this pr: https://github.com/lllyasviel/stable-diffusion-webui-forge/pull/2881 from @spawner1145
use the methods by adding --use-sage-attention or --use-flash-attention ... upon testing by a few people does not seem to have an increase on speed at all.
5/18/2025
Update to latest version of forge. Fix broken queuing.