<a href='https://github.com/tfernd/HyperTile'>Hypertile</a> optimizes the self-attention layer within U-Net and VAE models,
resulting in a reduction in computation time ranging from 1 to 4 times. The larger the generated image is, the greater the
benefit.
"""),
"hypertile_enable_unet":shared.OptionInfo(False,"Enable Hypertile U-Net").info("noticeable change in details of the generated picture; if enabled, overrides the setting below"),
"hypertile_enable_unet_secondpass":shared.OptionInfo(False,"Enable Hypertile U-Net for hires fix second pass"),
"hypertile_max_depth_unet":shared.OptionInfo(3,"Hypertile U-Net max depth",gr.Slider,{"minimum":0,"maximum":3,"step":1}),
"hypertile_max_tile_unet":shared.OptionInfo(256,"Hypertile U-net max tile size",gr.Slider,{"minimum":0,"maximum":512,"step":16}),
"pad_cond_uncond":OptionInfo(False,"Pad prompt/negative prompt to be same length",infotext='Pad conds').info("improves performance when prompt and negative prompt have different lengths; changes seeds"),
"persistent_cond_cache":OptionInfo(True,"Persistent cond cache").info("do not recalculate conds from prompts if prompts have not changed since previous calculation"),
"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"),