diff options
author | AngelBottomless <aria1th@naver.com> | 2023-11-16 09:43:16 +0000 |
---|---|---|
committer | AngelBottomless <aria1th@naver.com> | 2023-11-16 09:43:16 +0000 |
commit | bcfaf3979a9f93e37c418b58c75b02d9570b4354 (patch) | |
tree | 07e5ff505eda5b94c63f75438460a50ae9d954fb /modules/shared_options.py | |
parent | af45872fdb8a66ffd6a405d99120e0bacbb4a170 (diff) | |
download | stable-diffusion-webui-gfx803-bcfaf3979a9f93e37c418b58c75b02d9570b4354.tar.gz stable-diffusion-webui-gfx803-bcfaf3979a9f93e37c418b58c75b02d9570b4354.tar.bz2 stable-diffusion-webui-gfx803-bcfaf3979a9f93e37c418b58c75b02d9570b4354.zip |
convert/add hypertile options
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r-- | modules/shared_options.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py index d9650265..28a48906 100644 --- a/modules/shared_options.py +++ b/modules/shared_options.py @@ -202,6 +202,12 @@ options_templates.update(options_section(('optimizations', "Optimizations"), { "batch_cond_uncond": OptionInfo(True, "Batch cond/uncond").info("do both conditional and unconditional denoising in one batch; uses a bit more VRAM during sampling, but improves speed; previously this was controlled by --always-batch-cond-uncond comandline argument"),
"hypertile_split_unet_attn" : OptionInfo(False, "Split attention in Unet with HyperTile").link("Github", "https://github.com/tfernd/HyperTile").info("improves performance; changes behavior, but deterministic"),
"hypertile_split_vae_attn": OptionInfo(False, "Split attention in VAE with HyperTile").link("Github", "https://github.com/tfernd/HyperTile").info("improves performance; changes behavior, but deterministic"),
+ "hypertile_max_depth_vae" : OptionInfo(3, "Max depth for VAE HyperTile hijack", gr.Slider, {"minimum": 0, "maximum": 3, "step": 1}).link("Github", "https://github.com/tfernd/HyperTile"),
+ "hypertile_max_depth_unet" : OptionInfo(3, "Max depth for Unet HyperTile hijack", gr.Slider, {"minimum": 0, "maximum": 3, "step": 1}).link("Github", "https://github.com/tfernd/HyperTile"),
+ "hypertile_max_tile_vae" : OptionInfo(128, "Max tile size for VAE HyperTile hijack", gr.Slider, {"minimum": 0, "maximum": 512, "step": 16}).link("Github", "https://github.com/tfernd/HyperTile"),
+ "hypertile_max_tile_unet" : OptionInfo(256, "Max tile size for Unet HyperTile hijack", gr.Slider, {"minimum": 0, "maximum": 512, "step": 16}).link("Github", "https://github.com/tfernd/HyperTile"),
+ "hypertile_swap_size_unet": OptionInfo(3, "Swap size for Unet HyperTile hijack", gr.Slider, {"minimum": 0, "maximum": 6, "step": 1}).link("Github", "https://github.com/tfernd/HyperTile"),
+ "hypertile_swap_size_vae": OptionInfo(3, "Swap size for VAE HyperTile hijack", gr.Slider, {"minimum": 0, "maximum": 6, "step": 1}).link("Github", "https://github.com/tfernd/HyperTile"),
}))
options_templates.update(options_section(('compatibility', "Compatibility"), {
|