Releases: AUTOMATIC1111/stable-diffusion-webui
Releases Β· AUTOMATIC1111/stable-diffusion-webui
1.6.0
Features:
- refiner support #12371
- add NV option for Random number generator source setting, which allows to generate same pictures on CPU/AMD/Mac as on NVidia videocards
- add style editor dialog
- hires fix: add an option to use a different checkpoint for second pass (#12181)
- option to keep multiple loaded models in memory (#12227)
- new samplers: Restart, DPM++ 2M SDE Exponential, DPM++ 2M SDE Heun, DPM++ 2M SDE Heun Karras, DPM++ 2M SDE Heun Exponential, DPM++ 3M SDE, DPM++ 3M SDE Karras, DPM++ 3M SDE Exponential (#12300, #12519, #12542)
- rework DDIM, PLMS, UniPC to use CFG denoiser same as in k-diffusion samplers:
- makes all of them work with img2img
- makes prompt composition posssible (AND)
- makes them available for SDXL
- always show extra networks tabs in the UI (#11808)
- use less RAM when creating models (#11958, #12599)
- textual inversion inference support for SDXL
- extra networks UI: show metadata for SD checkpoints
- checkpoint merger: add metadata support
- prompt editing and attention: add support for whitespace after the number ([ red : green : 0.5 ]) (seed breaking change) (#12177)
- VAE: allow selecting own VAE for each checkpoint (in user metadata editor)
- VAE: add selected VAE to infotext
- options in main UI: add own separate setting for txt2img and img2img, correctly read values from pasted infotext, add setting for column count (#12551)
- add resize handle to txt2img and img2img tabs, allowing to change the amount of horizontable space given to generation parameters and resulting image gallery (#12687, #12723)
- change default behavior for batching cond/uncond -- now it's on by default, and is disabled by an UI setting (Optimizatios -> Batch cond/uncond) - if you are on lowvram/medvram and are getting OOM exceptions, you will need to enable it
- show current position in queue and make it so that requests are processed in the order of arrival (#12707)
- add
--medvram-sdxl
flag that only enables--medvram
for SDXL models - prompt editing timeline has separate range for first pass and hires-fix pass (seed breaking change) (#12457)
Minor:
- img2img batch: RAM savings, VRAM savings, .tif, .tiff in img2img batch (#12120, #12514, #12515)
- postprocessing/extras: RAM savings (#12479)
- XYZ: in the axis labels, remove pathnames from model filenames
- XYZ: support hires sampler (#12298)
- XYZ: new option: use text inputs instead of dropdowns (#12491)
- add gradio version warning
- sort list of VAE checkpoints (#12297)
- use transparent white for mask in inpainting, along with an option to select the color (#12326)
- move some settings to their own section: img2img, VAE
- add checkbox to show/hide dirs for extra networks
- Add TAESD(or more) options for all the VAE encode/decode operation (#12311)
- gradio theme cache, new gradio themes, along with explanation that the user can input his own values (#12346, #12355)
- sampler fixes/tweaks: s_tmax, s_churn, s_noise, s_tmax (#12354, #12356, #12357, #12358, #12375, #12521)
- update README.md with correct instructions for Linux installation (#12352)
- option to not save incomplete images, on by default (#12338)
- enable cond cache by default
- git autofix for repos that are corrupted (#12230)
- allow to open images in new browser tab by middle mouse button (#12379)
- automatically open webui in browser when running "locally" (#12254)
- put commonly used samplers on top, make DPM++ 2M Karras the default choice
- zoom and pan: option to auto-expand a wide image, improved integration (#12413, #12727)
- option to cache Lora networks in memory
- rework hires fix UI to use accordion
- face restoration and tiling moved to settings - use "Options in main UI" setting if you want them back
- change quicksettings items to have variable width
- Lora: add Norm module, add support for bias (#12503)
- Lora: output warnings in UI rather than fail for unfitting loras; switch to logging for error output in console
- support search and display of hashes for all extra network items (#12510)
- add extra noise param for img2img operations (#12564)
- support for Lora with bias (#12584)
- make interrupt quicker (#12634)
- configurable gallery height (#12648)
- make results column sticky (#12645)
- more hash filename patterns (#12639)
- make image viewer actually fit the whole page (#12635)
- make progress bar work independently from live preview display which results in it being updated a lot more often
- forbid Full live preview method for medvram and add a setting to undo the forbidding
- make it possible to localize tooltips and placeholders
- add option to align with sgm repo's sampling implementation (#12818)
- Restore faces and Tiling generation parameters have been moved to settings out of main UI
- if you want to put them back into main UI, use
Options in main UI
setting on the UI page.
- if you want to put them back into main UI, use
Extensions and API:
- gradio 3.41.2
- also bump versions for packages: transformers, GitPython, accelerate, scikit-image, timm, tomesd
- support tooltip kwarg for gradio elements: gr.Textbox(label='hello', tooltip='world')
- properly clear the total console progressbar when using txt2img and img2img from API
- add cmd_arg --disable-extra-extensions and --disable-all-extensions (#12294)
- shared.py and webui.py split into many files
- add --loglevel commandline argument for logging
- add a custom UI element that combines accordion and checkbox
- avoid importing gradio in tests because it spams warnings
- put infotext label for setting into OptionInfo definition rather than in a separate list
- make
StableDiffusionProcessingImg2Img.mask_blur
a property, make more inline with PILGaussianBlur
(#12470) - option to make scripts UI without gr.Group
- add a way for scripts to register a callback for before/after just a single component's creation
- use dataclass for StableDiffusionProcessing
- store patches for Lora in a specialized module instead of inside torch
- support http/https URLs in API (#12663, #12698)
- add extra noise callback (#12616)
- dump current stack trace...
1.6.0-RC
Features:
- refiner support #12371
- add NV option for Random number generator source setting, which allows to generate same pictures on CPU/AMD/Mac as on NVidia videocards
- add style editor dialog
- hires fix: add an option to use a different checkpoint for second pass (#12181)
- option to keep multiple loaded models in memory (#12227)
- new samplers: Restart, DPM++ 2M SDE Exponential, DPM++ 2M SDE Heun, DPM++ 2M SDE Heun Karras, DPM++ 2M SDE Heun Exponential, DPM++ 3M SDE, DPM++ 3M SDE Karras, DPM++ 3M SDE Exponential (#12300, #12519, #12542)
- rework DDIM, PLMS, UniPC to use CFG denoiser same as in k-diffusion samplers:
- makes all of them work with img2img
- makes prompt composition posssible (AND)
- makes them available for SDXL
- always show extra networks tabs in the UI (#11808)
- use less RAM when creating models (#11958, #12599)
- textual inversion inference support for SDXL
- extra networks UI: show metadata for SD checkpoints
- checkpoint merger: add metadata support
- prompt editing and attention: add support for whitespace after the number ([ red : green : 0.5 ]) (seed breaking change) (#12177)
- VAE: allow selecting own VAE for each checkpoint (in user metadata editor)
- VAE: add selected VAE to infotext
- options in main UI: add own separate setting for txt2img and img2img, correctly read values from pasted infotext, add setting for column count (#12551)
- add resize handle to txt2img and img2img tabs, allowing to change the amount of horizontable space given to generation parameters and resulting image gallery (#12687, #12723)
- change default behavior for batching cond/uncond -- now it's on by default, and is disabled by an UI setting (Optimizatios -> Batch cond/uncond) - if you are on lowvram/medvram and are getting OOM exceptions, you will need to enable it
- show current position in queue and make it so that requests are processed in the order of arrival (#12707)
- add
--medvram-sdxl
flag that only enables--medvram
for SDXL models - prompt editing timeline has separate range for first pass and hires-fix pass (seed breaking change) (#12457)
Minor:
- img2img batch: RAM savings, VRAM savings, .tif, .tiff in img2img batch (#12120, #12514, #12515)
- postprocessing/extras: RAM savings (#12479)
- XYZ: in the axis labels, remove pathnames from model filenames
- XYZ: support hires sampler (#12298)
- XYZ: new option: use text inputs instead of dropdowns (#12491)
- add gradio version warning
- sort list of VAE checkpoints (#12297)
- use transparent white for mask in inpainting, along with an option to select the color (#12326)
- move some settings to their own section: img2img, VAE
- add checkbox to show/hide dirs for extra networks
- Add TAESD(or more) options for all the VAE encode/decode operation (#12311)
- gradio theme cache, new gradio themes, along with explanation that the user can input his own values (#12346, #12355)
- sampler fixes/tweaks: s_tmax, s_churn, s_noise, s_tmax (#12354, #12356, #12357, #12358, #12375, #12521)
- update README.md with correct instructions for Linux installation (#12352)
- option to not save incomplete images, on by default (#12338)
- enable cond cache by default
- git autofix for repos that are corrupted (#12230)
- allow to open images in new browser tab by middle mouse button (#12379)
- automatically open webui in browser when running "locally" (#12254)
- put commonly used samplers on top, make DPM++ 2M Karras the default choice
- zoom and pan: option to auto-expand a wide image, improved integration (#12413, #12727)
- option to cache Lora networks in memory
- rework hires fix UI to use accordion
- face restoration and tiling moved to settings - use "Options in main UI" setting if you want them back
- change quicksettings items to have variable width
- Lora: add Norm module, add support for bias (#12503)
- Lora: output warnings in UI rather than fail for unfitting loras; switch to logging for error output in console
- support search and display of hashes for all extra network items (#12510)
- add extra noise param for img2img operations (#12564)
- support for Lora with bias (#12584)
- make interrupt quicker (#12634)
- configurable gallery height (#12648)
- make results column sticky (#12645)
- more hash filename patterns (#12639)
- make image viewer actually fit the whole page (#12635)
- make progress bar work independently from live preview display which results in it being updated a lot more often
- forbid Full live preview method for medvram and add a setting to undo the forbidding
- make it possible to localize tooltips and placeholders
Extensions and API:
- gradio 3.41.0
- also bump versions for packages: transformers, GitPython, accelerate, scikit-image, timm, tomesd
- support tooltip kwarg for gradio elements: gr.Textbox(label='hello', tooltip='world')
- properly clear the total console progressbar when using txt2img and img2img from API
- add cmd_arg --disable-extra-extensions and --disable-all-extensions (#12294)
- shared.py and webui.py split into many files
- add --loglevel commandline argument for logging
- add a custom UI element that combines accordion and checkbox
- avoid importing gradio in tests because it spams warnings
- put infotext label for setting into OptionInfo definition rather than in a separate list
- make
StableDiffusionProcessingImg2Img.mask_blur
a property, make more inline with PILGaussianBlur
(#12470) - option to make scripts UI without gr.Group
- add a way for scripts to register a callback for before/after just a single component's creation
- use dataclass for StableDiffusionProcessing
- store patches for Lora in a specialized module instead of inside torch
- support http/https URLs in API (#12663, #12698)
- add extra noise callback (#12616)
- dump current stack traces when exiting with SIGINT
- add type annotations for extra fields of shared.sd_model
Bug Fixes:
- Don't crash if out of local storage quota for javascriot localStorage
- XYZ plot do not fail if an exception occurs
- fix missing TI hash in infotext if generation uses both negative and positive TI ([#12269](https://gith...
1.5.2
Bug Fixes:
- fix memory leak when generation fails
- update doggettx cross attention optimization to not use an unreasonable amount of memory in some edge cases -- suggestion by MorkTheOrk
1.5.1
Minor:
- support parsing text encoder blocks in some new LoRAs
- delete scale checker script due to user demand
Extensions and API:
- add postprocess_batch_list script callback
Bug Fixes:
- fix TI training for SD1
- fix reload altclip model error
- prepend the pythonpath instead of overriding it
- fix typo in SD_WEBUI_RESTARTING
- if txt2img/img2img raises an exception, finally call state.end()
- fix composable diffusion weight parsing
- restyle Startup profile for black users
- fix webui not launching with --nowebui
- catch exception for non git extensions
- fix some options missing from /sdapi/v1/options
- fix for extension update status always saying "unknown"
- fix display of extra network cards that have
<>
in the name - update lora extension to work with python 3.8
1.5.1-RC
Minor:
- support parsing text encoder blocks in some new LoRAs
Extensions and API:
- add postprocess_batch_list script callback
Bug Fixes:
- fix reload altclip model error
- prepend the pythonpath instead of overriding it
- fix typo in SD_WEBUI_RESTARTING
- if txt2img/img2img raises an exception, finally call state.end()
- fix composable diffusion weight parsing
- restyle Startup profile for black users
- fix webui not launching with --nowebui
- catch exception for non git extensions
1.5.0
Features:
- SD XL support
- Requires
--no-half-vae
. See #11757 for more details.
- Requires
- user metadata system for custom networks
- extended Lora metadata editor: set activation text, default weight, view tags, training info
- Lora extension rework to include other types of networks (all that were previously handled by LyCORIS extension)
- show github stars for extenstions
- img2img batch mode can read extra stuff from png info
- img2img batch works with subdirectories
- hotkeys to move prompt elements: alt+left/right
- restyle time taken/VRAM display
- add textual inversion hashes to infotext
- optimization: cache git extension repo information
- move generate button next to the generated picture for mobile clients
- hide cards for networks of incompatible Stable Diffusion version in Lora extra networks interface
- skip installing packages with pip if they all are already installed - startup speedup of about 2 seconds
Minor:
- checkbox to check/uncheck all extensions in the Installed tab
- add gradio user to infotext and to filename patterns
- allow gif for extra network previews
- add options to change colors in grid
- use natural sort for items in extra networks
- Mac: use empty_cache() from torch 2 to clear VRAM
- added automatic support for installing the right libraries for Navi3 (AMD)
- add option SWIN_torch_compile to accelerate SwinIR upscale
- suppress printing TI embedding info at start to console by default
- speedup extra networks listing
- added
[none]
filename token. - removed thumbs extra networks view mode (use settings tab to change width/height/scale to get thumbs)
- add always_discard_next_to_last_sigma option to XYZ plot
- automatically switch to 32-bit float VAE if the generated picture has NaNs without the need for
--no-half-vae
commandline flag.
Extensions and API:
- api endpoints: /sdapi/v1/server-kill, /sdapi/v1/server-restart, /sdapi/v1/server-stop
- allow Script to have custom metaclass
- add model exists status check /sdapi/v1/options
- rename --add-stop-route to --api-server-stop
- add
before_hr
script callback - add callback
after_extra_networks_activate
- disable rich exception output in console for API by default, use WEBUI_RICH_EXCEPTIONS env var to enable
- return http 404 when thumb file not found
- allow replacing extensions index with environment variable
Bug Fixes:
- fix for catch errors when retrieving extension index #11290
- fix very slow loading speed of .safetensors files when reading from network drives
- API cache cleanup
- fix UnicodeEncodeError when writing to file CLIP Interrogator batch mode
- fix warning of 'has_mps' deprecated from PyTorch
- fix problem with extra network saving images as previews losing generation info
- fix throwing exception when trying to resize image with I;16 mode
- fix for #11534: canvas zoom and pan extension hijacking shortcut keys
- fixed launch script to be runnable from any directory
- don't add "Seed Resize: -1x-1" to API image metadata
- correctly remove end parenthesis with ctrl+up/down
- fixing --subpath on newer gradio version
- fix: check fill size none zero when resize (fixes #11425)
- use submit and blur for quick settings textbox
- save img2img batch with images.save_image()
- prevent running preload.py for disabled extensions
- fix: previously, model name was added together with directory name to infotext and to [model_name] filename pattern; directory name is now not included
1.5.0-RC
Features:
- SD XL support
- user metadata system for custom networks
- extended Lora metadata editor: set activation text, default weight, view tags, training info
- Lora extension rework to include other types of networks (all that were previously handled by LyCORIS extension)
- Lora page now lists all models from both Lora and LyCORIS directories
- You can still use the LyCORIS extension if you want to
- show github stars for extenstions
- img2img batch mode can read extra stuff from png info
- img2img batch works with subdirectories
- hotkeys to move prompt elements: alt+left/right
- restyle time taken/VRAM display
- add textual inversion hashes to infotext
- optimization: cache git extension repo information
- move generate button next to the generated picture for mobile clients
- hide cards for networks of incompatible Stable Diffusion version in Lora extra networks interface
- skip installing packages with pip if they all are already installed - startup speedup of about 2 seconds
Minor:
- checkbox to check/uncheck all extensions in the Installed tab
- add gradio user to infotext and to filename patterns
- allow gif for extra network previews
- add options to change colors in grid
- use natural sort for items in extra networks
- Mac: use empty_cache() from torch 2 to clear VRAM
- added automatic support for installing the right libraries for Navi3 (AMD)
- add option SWIN_torch_compile to accelerate SwinIR upscale
- suppress printing TI embedding info at start to console by default
- speedup extra networks listing
- added
[none]
filename token. - removed thumbs extra networks view mode (use settings tab to change width/height/scale to get thumbs)
- add always_discard_next_to_last_sigma option to XYZ plot
Extensions and API:
- api endpoints: /sdapi/v1/server-kill, /sdapi/v1/server-restart, /sdapi/v1/server-stop
- allow Script to have custom metaclass
- add model exists status check /sdapi/v1/options
- rename --add-stop-route to --api-server-stop
- add
before_hr
script callback - add callback
after_extra_networks_activate
- disable rich exception output in console for API by default, use WEBUI_RICH_EXCEPTIONS env var to enable
- return http 404 when thumb file not found
- allow replacing extensions index with environment variable
Bug Fixes:
- fix for catch errors when retrieving extension index #11290
- fix very slow loading speed of .safetensors files when reading from network drives
- API cache cleanup
- fix UnicodeEncodeError when writing to file CLIP Interrogator batch mode
- fix warning of 'has_mps' deprecated from PyTorch
- fix problem with extra network saving images as previews losing generation info
- fix throwing exception when trying to resize image with I;16 mode
- fix for #11534: canvas zoom and pan extension hijacking shortcut keys
- fixed launch script to be runnable from any directory
- don't add "Seed Resize: -1x-1" to API image metadata
- correctly remove end parenthesis with ctrl+up/down
- fixing --subpath on newer gradio version
- fix: check fill size none zero when resize (fixes #11425)
- use submit and blur for quick settings textbox
- save img2img batch with images.save_image()
1.4.0
Features:
- zoom controls for inpainting
- run basic torch calculation at startup in parallel to reduce the performance impact of first generation
- option to pad prompt/neg prompt to be same length
- remove taming_transformers dependency
- custom k-diffusion scheduler settings
- add an option to show selected settings in main txt2img/img2img UI
- sysinfo tab in settings
- infer styles from prompts when pasting params into the UI
- an option to control the behavior of the above
Minor:
- bump Gradio to 3.32.0
- bump xformers to 0.0.20
- Add option to disable token counters
- tooltip fixes & optimizations
- make it possible to configure filename for the zip download
[vae_filename]
pattern for filenames- Revert discarding penultimate sigma for DPM-Solver++(2M) SDE
- change UI reorder setting to multiselect
- read version info form CHANGELOG.md if git version info is not available
- link footer API to Wiki when API is not active
- persistent conds cache (opt-in optimization)
Extensions:
- After installing extensions, webui properly restarts the process rather than reloads the UI
- Added VAE listing to web API. Via: /sdapi/v1/sd-vae
- custom unet support
- Add onAfterUiUpdate callback
- refactor EmbeddingDatabase.register_embedding() to allow unregistering
- add before_process callback for scripts
- add ability for alwayson scripts to specify section and let user reorder those sections
Bug Fixes:
- Fix dragging text to prompt
- fix incorrect quoting for infotext values with colon in them
- fix "hires. fix" prompt sharing same labels with txt2img_prompt
- Fix s_min_uncond default type int
- Fix for #10643 (Inpainting mask sometimes not working)
- fix bad styling for thumbs view in extra networks #10639
- fix for empty list of optimizations #10605
- small fixes to prepare_tcmalloc for Debian/Ubuntu compatibility
- fix --ui-debug-mode exit
- patch GitPython to not use leaky persistent processes
- fix duplicate Cross attention optimization after UI reload
- torch.cuda.is_available() check for SdOptimizationXformers
- fix hires fix using wrong conds in second pass if using Loras.
- handle exception when parsing generation parameters from png info
- fix upcast attention dtype error
- forcing Torch Version to 1.13.1 for RX 5000 series GPUs
- split mask blur into X and Y components, patch Outpainting MK2 accordingly
- don't die when a LoRA is a broken symlink
- allow activation of Generate Forever during generation
1.4.0-RC
1.4.0
Features:
- zoom controls for inpainting
- run basic torch calculation at startup in parallel to reduce the performance impact of first generation
- option to pad prompt/neg prompt to be same length
- remove taming_transformers dependency
- custom k-diffusion scheduler settings
- add an option to show selected settings in main txt2img/img2img UI
- sysinfo tab in settings
- infer styles from prompts when pasting params into the UI
- an option to control the behavior of the above
Minor:
- bump Gradio to 3.32.0
- bump xformers to 0.0.20
- Add option to disable token counters
- tooltip fixes & optimizations
- make it possible to configure filename for the zip download
[vae_filename]
pattern for filenames- Revert discarding penultimate sigma for DPM-Solver++(2M) SDE
- change UI reorder setting to multiselect
- read version info form CHANGELOG.md if git version info is not available
- link footer API to Wiki when API is not active
- persistent conds cache (opt-in optimization)
Extensions:
- After installing extensions, webui properly restarts the process rather than reloads the UI
- Added VAE listing to web API. Via: /sdapi/v1/sd-vae
- custom unet support
- Add onAfterUiUpdate callback
- refactor EmbeddingDatabase.register_embedding() to allow unregistering
- add before_process callback for scripts
- add ability for alwayson scripts to specify section and let user reorder those sections
Bug Fixes:
- Fix dragging text to prompt
- fix incorrect quoting for infotext values with colon in them
- fix "hires. fix" prompt sharing same labels with txt2img_prompt
- Fix s_min_uncond default type int
- Fix for #10643 (Inpainting mask sometimes not working)
- fix bad styling for thumbs view in extra networks #10639
- fix for empty list of optimizations #10605
- small fixes to prepare_tcmalloc for Debian/Ubuntu compatibility
- fix --ui-debug-mode exit
- patch GitPython to not use leaky persistent processes
- fix duplicate Cross attention optimization after UI reload
- torch.cuda.is_available() check for SdOptimizationXformers
- fix hires fix using wrong conds in second pass if using Loras.
- handle exception when parsing generation parameters from png info
- fix upcast attention dtype error
- forcing Torch Version to 1.13.1 for RX 5000 series GPUs
- split mask blur into X and Y components, patch Outpainting MK2 accordingly
- don't die when a LoRA is a broken symlink
- allow activation of Generate Forever during generation
1.3.2
1.3.2
Bug Fixes:
- fix files served out of tmp directory even if they are saved to disk
- fix postprocessing overwriting parameters