diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-06 02:55:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-06 02:55:20 +0000 |
commit | f4e4992a4a2d5a8446ffa702eb07eadf014d7d24 (patch) | |
tree | f46ed9945382179cf73b780867e4bb018e329d72 /modules/shared.py | |
parent | c6278c15a81bf65efb65ded50368972a920cc198 (diff) | |
parent | 85c2c138d2f5f853c79bde3775d69628e86c65ca (diff) | |
download | stable-diffusion-webui-gfx803-f4e4992a4a2d5a8446ffa702eb07eadf014d7d24.tar.gz stable-diffusion-webui-gfx803-f4e4992a4a2d5a8446ffa702eb07eadf014d7d24.tar.bz2 stable-diffusion-webui-gfx803-f4e4992a4a2d5a8446ffa702eb07eadf014d7d24.zip |
Merge pull request #12357 from catboxanon/s-tmax
Add option for `s_tmax`
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index a99b500b..b1c0c0e9 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -608,6 +608,7 @@ options_templates.update(options_section(('sampler-params', "Sampler parameters" "ddim_discretize": OptionInfo('uniform', "img2img DDIM discretize", gr.Radio, {"choices": ['uniform', 'quad']}),
's_churn': OptionInfo(0.0, "sigma churn", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
's_tmin': OptionInfo(0.0, "sigma tmin", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
+ 's_tmax': OptionInfo(0.0, "sigma tmax", gr.Slider, {"minimum": 0.0, "maximum": 999.0, "step": 0.01}).info("0 = inf"),
's_noise': OptionInfo(1.0, "sigma noise", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
'k_sched_type': OptionInfo("Automatic", "scheduler type", gr.Dropdown, {"choices": ["Automatic", "karras", "exponential", "polyexponential"]}).info("lets you override the noise schedule for k-diffusion samplers; choosing Automatic disables the three parameters below"),
'sigma_min': OptionInfo(0.0, "sigma min", gr.Number).info("0 = default (~0.03); minimum noise strength for k-diffusion noise scheduler"),
|