diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-04-29 08:29:37 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-04-29 08:29:37 +0000 |
commit | 5fe0dd79beaa5ef737ff85254ee9870f60ae9464 (patch) | |
tree | fb712561ac65b99285ad6a48b27a7920d18dde01 /modules/shared.py | |
parent | cb9571e37fc1c0ee22c92ee726147f64ee80f07a (diff) | |
download | stable-diffusion-webui-gfx803-5fe0dd79beaa5ef737ff85254ee9870f60ae9464.tar.gz stable-diffusion-webui-gfx803-5fe0dd79beaa5ef737ff85254ee9870f60ae9464.tar.bz2 stable-diffusion-webui-gfx803-5fe0dd79beaa5ef737ff85254ee9870f60ae9464.zip |
rename CPU RNG to RNG source in settings, add infotext and parameters copypaste support to RNG source
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index b5b401fe..73704889 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -334,7 +334,7 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), { "comma_padding_backtrack": OptionInfo(20, "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", gr.Slider, {"minimum": 0, "maximum": 74, "step": 1 }),
"CLIP_stop_at_last_layers": OptionInfo(1, "Clip skip", gr.Slider, {"minimum": 1, "maximum": 12, "step": 1}),
"upcast_attn": OptionInfo(False, "Upcast cross attention layer to float32"),
- "use_cpu_randn": OptionInfo(False, "Use CPU for random number generation to make manual seeds generate the same image across platforms. This may change existing seeds."),
+ "randn_source": OptionInfo("GPU", "Random number generator source. Changes seeds drastically. Use CPU to produce the same picture across different vidocard vendors.", gr.Radio, {"choices": ["GPU", "CPU"]}),
}))
options_templates.update(options_section(('compatibility', "Compatibility"), {
|