Default setting doesn't work
With new Forge I installed today, I noticed that default setting doesn't work I know to change defaults setting, go to Settings tab -> Defaults -> View Changes -> Apply -> Reload UI However, the settings never saves or shows the last setting
This is what I used for my settings
But it keeps shows this one when I restart or reload web UI
This is the version for my Forge
Is this some ongoing issue that's going to be fixed on next patch or is it just me having this problem? If it's the latter, is there way to solve this? Thank you for your time
I also waiting for this solution :(
I'm getting different numbers in dimensions, but I have the same problem. Even editing in ui-config or config is doing nothing.
Also I can't get Hires. fix to stay turn on, after restart it is back to off, someone knows where I can change that? Also Schedule type is always back to "Automatic", this is annoying.
Before the update I was able to set up everything once with notepad and It was ready to go every restart. Good that I have saved version of Forge before the update but it is lacking some features.
Same for me.
Having the same issue. If I click "View changes", it correctly shows me what should be the defaults, showing that if I "Apply" then those defaults would be changed to what is actually being used as the defaults. Keep in mind, if looking at the screenshot, that this is what it looks like if I reload the UI then immediately, without making any changes, go to click "View changes".
Same issue.
My guess is, this bug (?) appeared as a result of introducing the UI profile system for SD, XL, Flux and All... It could be also an incomplete feature, which introduced the profiles, but no separate save functions, yet.
There are two easy workarounds for that atm.
- You can manually edit the preset values for sd/xl/flux/all in
modules_forge/main_entry.py, under the functionon_preset_change. - You can disable the presets system entirely by commenting out some lines in
modules_forge/main_entry.py.
For the second option, look for those lines and comment them by placing a # at the beginning of the line:
# example of a comment
# Those two lines load the preset
ui_forge_preset.change(on_preset_change, inputs=[ui_forge_preset], outputs=output_targets, queue=False, show_progress=False)
Context.root_block.load(on_preset_change, inputs=None, outputs=output_targets, queue=False, show_progress=False)
# And this one adds the buttons to choose the preset
ui_forge_preset = gr.Radio(label="UI", value=lambda: shared.opts.forge_preset, choices=['sd', 'xl', 'flux', 'all'])
By commenting those 3 lines you should now be able to edit the settings through ui-config.json and/or config.json, and likely through the "apply defaults" option too.
Just don't blame me if something breaks because of that, but if it does you can always revert the changes.
You might get merge conflicts during updates because of that, or something might just break, so I recommend keeping an eye out for commits that modify this file.
There are two easy workarounds for that atm.
* You can manually edit the preset values for sd/xl/flux/all in `modules_forge/main_entry.py`, under the function `on_preset_change`. * You can disable the presets system entirely by commenting out some lines in `modules_forge/main_entry.py`.For the second option, look for those lines and comment them by placing a # at the beginning of the line:
# example of a comment # Those two lines load the preset ui_forge_preset.change(on_preset_change, inputs=[ui_forge_preset], outputs=output_targets, queue=False, show_progress=False) Context.root_block.load(on_preset_change, inputs=None, outputs=output_targets, queue=False, show_progress=False) # And this one adds the buttons to choose the preset ui_forge_preset = gr.Radio(label="UI", value=lambda: shared.opts.forge_preset, choices=['sd', 'xl', 'flux', 'all'])By commenting those 3 lines you should now be able to edit the settings through
ui-config.jsonand/orconfig.json, and likely through the "apply defaults" option too.Just don't blame me if something breaks because of that, but if it does you can always revert the changes.
You might get merge conflicts during updates because of that, or something might just break, so I recommend keeping an eye out for commits that modify this file.
Thank you for this solution, I will try that later
This still seems to be a problem. The defaults work for some settings, but not others. It doesn't reset the sampler, scheduler, CFG or any of the extensions that were enabled. It's a pain to have to manually go through everything every time you start Forge.
No need to manually disable in python, for now just set the preset to 'all' and your default settings would be there.
Though I think it being applied to other presets would be the expected behavior. Hope this gets implemented soon.
Everything above seed kept but extensions still getting reset every time, they do not even show up in defaults/view changes. Also prompt text area responsivness just dies after first generation. Loom Upd. Turned out it was Civitai browser extension that caused the lag, but defaults issue still stands.
I have this same issue, all the basic settings save like sampler, model, steps, CFG scale, resolution.
But extensions won't stay enabled by default no matter what ;^(
So the bug is open around a year, when fix!?
i know how to set it to ALL but either remove the choice completeley or make it work as it should.
i guess a better way would to load the model from different subfolders, like sdxl/sd1.5/flux and unlock options depending on folder.