v5.2.0
This release includes a number of enhancements and fixes. Standouts include:
- Support for FLUX ControlNets.
- Improved UX for common
img2img
flows in Canvas. - Boards may be sorted by name or date.
- Starter model bundles in Model Manager.
- Support for bulk image uploads.
** 🚨 Important Update Note: **
During update, you'll now be selecting between different configurations of the Invoke environment that are optimized and dependent on your hardware (specifically, torch-sdp vs. xformers) -- If you have previously used xformers, and update to the version for 3xxx and 4xxx NVidia cards, you'll often experience an error after the update.
You can uninstall xformers before running the update by -
- Running the Invoke batch script from your existing installation
- Selecting the "developer console" option
- Typing
pip uninstall xformers
We've also added a fix for Apple Silicon users for the mushy noise issue and updated the installer to skip xformers
for GPUs where it causes a performance hit.
Be sure to review the v5 release notes if you haven't already upgraded to v5.
FLUX ControlNets
We now support both XLabs and InstantX ControlNets for FLUX. We've found the Union Pro model substantially outperforms the other models and added it to the starter models. Other models work, but outputs are not as good.
You can use FLUX ControlNets in both Workflows and the Linear UI. We will be adding a union mode control to the Linear UI in a a future release. You can select the union mode in Workflows today.
Canvas img2img
Flow
We've made a number of changes to support the common img2img
flow in the Canvas:
- Transform now supports 3 modes:
fill
(old behaviour): The layer is stretched to fit the generation bbox exactly. Its aspect ratio is not maintained.contain
(new default): The layer is stretched to fit the generation bbox, retaining its aspect ratio.cover
: The layer is scaled up so that its smallest dimension fits the bbox exactly, retaining its aspect ratio.
- Add a layer context menu item to fit the layer to the bbox using the
contain
mode. - Update the
New Canvas from Image
image context menu item to streamline theimg2img
flow. It now resizes the bbox to match the image's aspect ratio, respecting the currently-selected models' optimal size. The image will fit exactly in the box. You can click this and then immediately Invoke to doimg2img
.
Installer Updates
The performance of torch-sdp
attention is substantially faster than xformers
on 30xx and 40xx series GPUs. We've made two changes to ensure you generate with the best settings:
- Add an installer option for 30xx & 40xx series GPUs, which does not install
xformers
. - When the attention type is set to
auto
(the default), and you do havexformers
installed, we choose the best option oftorch-sdp
andxformers
, based on your GPU.
Apple Silicon Fix
The mushy noise issue on Apple Silicon is related to sliced attention. We've temporarily forced all MPS devices to use torch-sdp
. Memory usage is a bit higher, but you won't get mushy noise (unless, of course, you prompt for it 😅).
This appears to be a torch
bug, and we'll revert this change once it is resolved.
All Changes
Enhancements
- Support for FLUX ControlNets.
- Improved UX for common
img2img
flows in Canvas. - Installer option to select best packages based on GPU model, and internal logic to select the best attention type based on GPU model.
- Updated workflow list menu UI, restoring
New Workflow
confirmation dialog. - Support for bulk image uploads, button in gallery to upload images.
- Boards maybe sorted by name or date.
- Recall FLUX guidance parameter. Thanks @rikublock!
- Add starter model bundle for each supported architecture to model manager.
- The
Layers
andGallery
tabs now remember which one you last selected. - Added an indicator to the
Layers
andGallery
tabs when dragging an image to indicate you that you can hover over the tabs to change them. - Updated translations. French is now 100%! Thanks gallegonovato, @Harvester62, @Ery4z!
Fixes
- Workaround for Apple Silicon SDXL noisy mush issue.
- Fixed misc UI jank in workflow list menu UI.
- Fixed longstanding issue where workflows were marked as unsaved immediately after loading.
- Fixed canvas layer preview not updating if layer is disabled.
- Fixed an edge case where entity isn't visible until interacting with canvas.
Perf
- Reworked gallery rendering and context menu for a ~100% perf boost when rendering the gallery.
- Rendering optimizations for canvas.
Installation and Updating
To install or update to v5.2.0, download the latest installer and follow the installation instructions
To update, select the same installation location. Your user data (images, models, etc) will be retained.
What's Changed
- feat(ui): img2img UX by @psychedelicious in #7081
- feat(ui): add option to copy share link for workflows by @maryhipp in #7082
- Allow explicitly selecting xFormers at install time by @ebr in #7065
- refactor(ui): modals state, workflow list modal misc by @psychedelicious in #7087
- perf(ui): rendering optimizations by @psychedelicious in #7061
- feat(ui): img2img UX 2 by @psychedelicious in #7090
- Add support for FLUX ControlNet models (XLabs and InstantX) by @RyanJDick in #7070
- feat(ui): consolidate img2img canvas flow by @psychedelicious in #7093
- fix(ui): use non-icon version of delete menu item on canvas context menu by @psychedelicious in #7094
- ui: translations update from weblate by @weblate in #7086
- chore: bump version to v5.2.0rc1 by @psychedelicious in #7096
- Add a workaround for broken sliced attention on MPS with torch 2.4.1 by @RyanJDick in #7066
- fix(ui): edge case where controladapters added counts could be off by @psychedelicious in #7095
- fix(ui): edge case where entity isn't visible until interacting with canvas by @psychedelicious in #7099
- build(ui): set package mode target to ES2015 by @psychedelicious in #7100
- perf(ui): gallery / image perf by @psychedelicious in #7101
- feat(ui,api): board sorting by @maryhipp in #7106
- fix(ui): prefix share link with window location by @maryhipp in #7104
- fix(api): undo changes that made workflow category optional in list query by @maryhipp in #7105
- fix(api): update enum usage to work for python 3.11 by @maryhipp in #7110
- fix: Pin onnx versions to builds that don't require rare dlls by @brandonrising in #7107
- fix(ui): properly recall guidance value for flux images by @rikublock in #7108
- Update workflow_records_sqlite.py by @skunkworxdark in #7109
- feat(ui,api): add starter bundles to model manager by @maryhipp in #7097
- ui: translations update from weblate by @weblate in #7103
- fix(ui): fit to bbox just flashes transform handles by @psychedelicious in #7122
- chore: bump version to v5.2.0rc2 by @psychedelicious in #7121
- Maryhipp/bulk upload by @maryhipp in #7123
- feat(ui): updates to Layers and Gallery tabs by @maryhipp in #7119
- fix(ui): add error handling to upload button by @maryhipp in #7125
- fix(ui): upload tooltip should only show plural if multiple upload is enabled by @maryhipp in #7126
- fix(ui): remove extra slash in workflow share link by @maryhipp in #7128
- feat(ui): make debug logger middleware configurable by @psychedelicious in #7124
- chore: bump version to v5.2.0 by @psychedelicious in #7136
Full Changelog: v5.1.1...v5.2.0