mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-06-21 21:14:23 +08:00
51 lines
3.3 KiB
Markdown
51 lines
3.3 KiB
Markdown

|
|
|
|
## Fork of forge to use Chroma!
|
|
|
|
This is a fork with the patch from https://github.com/croquelois/forgeChroma preinstalled thanks Thanks to [@croquelois](https://github.com/croquelois) && [@lllyasviel](https://github.com/lllyasviel)!
|
|
I am going to keep updating it with new features. Suggestions are welcome.
|
|
|
|
To use:
|
|
Download one of the t5xxl text encoders from https://huggingface.co/silveroxides/t5xxl_flan_enc 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 a checkpoint from https://huggingface.co/lodestones/Chroma/tree/main ie chroma-unlocked-v29.5.safetensors and place in models/Stable-diffusion.
|
|
|
|
run webui-user.bat or install manually for linux, if you need linux instructions create an issue and I will provide them.
|
|
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 all and not flux
|
|
select the checkpoint and then in the next field select the text encoder and vae.
|
|
Use euler simple scheduler.
|
|
set the distilled config scale to 1, and the normal config scale to something like 3.5-7
|
|
use a very long positive prompt and a very long negative prompt.
|
|
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
|
|
|
|
Here are experimental high resolution checkpoints for chroma:
|
|
https://huggingface.co/lodestones/chroma-debug-development-only/tree/main/staging_large_3
|
|
They can be converted to safetensors with convertpth.py
|
|
for example modify the source.pth and output.safetensors on the last line in the script: convert_pth_to_safetensors("source.pth", "output.safetensors") to what you want them to be, then run the script with python convertpth.py.
|
|
|
|
Training: https://github.com/lodestone-rock/flow/
|
|
|
|
## Changlog
|
|
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. |