diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-02 21:00:23 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-02 21:00:23 +0000 |
commit | 84b6fcd02ca6d6ab48c4b6be4bb8724b1c2e7014 (patch) | |
tree | 1be8f712b6f87a29e34204acc54c0b05bc06dfb8 /modules/shared.py | |
parent | ccb92339348f6973de39cde062982a51a4cd0818 (diff) | |
download | stable-diffusion-webui-gfx803-84b6fcd02ca6d6ab48c4b6be4bb8724b1c2e7014.tar.gz stable-diffusion-webui-gfx803-84b6fcd02ca6d6ab48c4b6be4bb8724b1c2e7014.tar.bz2 stable-diffusion-webui-gfx803-84b6fcd02ca6d6ab48c4b6be4bb8724b1c2e7014.zip |
add NV option for Random number generator source setting, which allows to generate same pictures on CPU/AMD/Mac as on NVidia videocards.
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 aa72c9c8..7103b4ca 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -428,7 +428,7 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), { "CLIP_stop_at_last_layers": OptionInfo(1, "Clip skip", gr.Slider, {"minimum": 1, "maximum": 12, "step": 1}).link("wiki", "https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#clip-skip").info("ignore last layers of CLIP network; 1 ignores none, 2 ignores one layer"),
"upcast_attn": OptionInfo(False, "Upcast cross attention layer to float32"),
"auto_vae_precision": OptionInfo(True, "Automaticlly revert VAE to 32-bit floats").info("triggers when a tensor with NaNs is produced in VAE; disabling the option in this case will result in a black square image"),
- "randn_source": OptionInfo("GPU", "Random number generator source.", gr.Radio, {"choices": ["GPU", "CPU"]}).info("changes seeds drastically; use CPU to produce the same picture across different videocard vendors"),
+ "randn_source": OptionInfo("GPU", "Random number generator source.", gr.Radio, {"choices": ["GPU", "CPU", "NV"]}).info("changes seeds drastically; use CPU to produce the same picture across different videocard vendors; use NV to produce same picture as on NVidia videocards"),
}))
options_templates.update(options_section(('sdxl', "Stable Diffusion XL"), {
|