aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-01-05 07:33:51 +0000
committerGitHub <noreply@github.com>2023-01-05 07:33:51 +0000
commitc53852e257a1fd7daa5f6a8415d17645d5ffef87 (patch)
treefcda7de7736fde0b376aa86b09c2b90b23333608 /modules/shared.py
parent24e21c07108c0691636c0a54bf3936b847102330 (diff)
parent03f486a2399df0a2b24c7aeea72e64f106a87297 (diff)
downloadstable-diffusion-webui-gfx803-c53852e257a1fd7daa5f6a8415d17645d5ffef87.tar.gz
stable-diffusion-webui-gfx803-c53852e257a1fd7daa5f6a8415d17645d5ffef87.tar.bz2
stable-diffusion-webui-gfx803-c53852e257a1fd7daa5f6a8415d17645d5ffef87.zip
Merge pull request #6044 from hentailord85ez/discard-penultimate-sigma
Allow always discarding of penultimate sigma and fix doing 1 less step than specified
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 04c545ee..e0f44c6d 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -442,6 +442,7 @@ options_templates.update(options_section(('sampler-params', "Sampler parameters"
's_tmin': OptionInfo(0.0, "sigma tmin", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
's_noise': OptionInfo(1.0, "sigma noise", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
'eta_noise_seed_delta': OptionInfo(0, "Eta noise seed delta", gr.Number, {"precision": 0}),
+ 'always_discard_next_to_last_sigma': OptionInfo(False, "Always discard next-to-last sigma"),
}))
options_templates.update(options_section((None, "Hidden options"), {