Stability-AI / StableSwarmUI

StableSwarmUI, A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.
MIT License
4.52k stars 361 forks source link

added tile upscale option to SwarmKSampler #383

Closed bash-j closed 3 months ago

bash-j commented 3 months ago

Allows for tiled upscale option with the existing SwarmKSampler.

When tile_upscale = "enabled", it will use the lanczos method to upscale the image by the tile_upscale_by value before splitting the image into overlapping tiles of dimensions tile_size x tile_size. Then it will use the existing sample function to resample the the image for int(steps - (steps * tile_denoise)) steps. Then finally stitch the image back together using a feathered mask.