lllyasviel / lllyasviel/stable-diffusion-webui-forge
Some settings cannot be saved via Settings > Defaults
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
- ADetailer
- FreeU Integrated (SD 1.x, SD 2.x, SDXL)
- SelfAttentionGuidance Integrated (SD 1.x, SD 2.x, SDXL)
- PerturbedAttentionGuidance Integrated
- Kohya HRFix Integrated
These five features cannot be set to be enabled by default using the Defaults function. The only exception is ADetailer in the Txt2img tab. Quite weird.
Regarding FreeU, I tried editing ui-config.json directly to add commands that might enable it by default, but all failed.
The commands I tried include these:
-
Enabled with visibility:
"customscript/forge_freeu.py/txt2img/Enabled/visible": true,
"customscript/forge_freeu.py/txt2img/Enabled/value": true, -
Enable with visibility:
"customscript/forge_freeu.py/txt2img/Enable/visible": true,
"customscript/forge_freeu.py/txt2img/Enable/value": true, -
Active with visibility:
"customscript/forge_freeu.py/txt2img/Active/visible": true,
"customscript/forge_freeu.py/txt2img/Active/value": true,
4-6. Value-only:
"customscript/forge_freeu.py/txt2img/Enabled/value": true,
"customscript/forge_freeu.py/txt2img/Enable/value": true,
"customscript/forge_freeu.py/txt2img/Active/value": true,
I think there might be other settings facing the same issue besides these.
I hope this can be resolved as soon as possible, as Defaults is a very useful feature. It's very inconvenient to have to repeatedly enable and configure these settings every time I use the webui.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the problem through Settings > Defaults and compare the resulting ui-config.json entries for ADetailer, FreeU, SelfAttentionGuidance, PerturbedAttentionGuidance, and Kohya HRFix. Done means these settings can be enabled by default and remain configured after restarting the web UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100