diff options
author | C43H66N12O12S2 <36072735+C43H66N12O12S2@users.noreply.github.com> | 2022-09-15 07:51:36 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-15 11:54:52 +0000 |
commit | 829d7150bc678b37ecb96e50650755323bbf1c59 (patch) | |
tree | b87b81016f6377a0c2aa5de3a7c02ecf9e8a516d /modules/shared.py | |
parent | 3c37c68fe07b03323ac1ebbae4781a286f05dadb (diff) | |
download | stable-diffusion-webui-gfx803-829d7150bc678b37ecb96e50650755323bbf1c59.tar.gz stable-diffusion-webui-gfx803-829d7150bc678b37ecb96e50650755323bbf1c59.tar.bz2 stable-diffusion-webui-gfx803-829d7150bc678b37ecb96e50650755323bbf1c59.zip |
Add setting for quantization
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 939d7fe1..73518120 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -125,6 +125,7 @@ class Options: "enable_pnginfo": OptionInfo(True, "Save text information about generation parameters as chunks to png files"),
"add_model_hash_to_info": OptionInfo(False, "Add model hash to generation information"),
"img2img_color_correction": OptionInfo(False, "Apply color correction to img2img results to match original colors."),
+ "enable_quantization": OptionInfo(True, "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply."),
"font": OptionInfo("", "Font for image grids that have text"),
"enable_emphasis": OptionInfo(True, "Use (text) to make model pay more attention to text and [text] to make it pay less attention"),
"save_txt": OptionInfo(False, "Create a text file next to every image with generation parameters."),
|