π¨ v4 has some major changes. Please read the patch notes. π¨
Patch Nodes for v4.0.4
This patch release includes the following changes:
- Add fit bounding box to image when sending image to canvas
- Small handful of canvas bugs fixed
- Refiner models displayed in model manager
- Fix OOM on Windows (see this FAQ entry for more detail)
- Restore initial image recall for img2img
πΎ Installation and Updating
To install or update to v4.0.4, download the installer and follow the installation instructions. To update, select the same installation location.
π What's New in Invoke v4
π» Simplified Installation, Updating and Configuration
We've simplified and streamlined installation, making it much faster and more reliable:
- No configuration script - all config is in
invokeai.yaml
- No model installs during installation
- Internal "core" models are downloaded only when they are first requested
- Generation models are installed with the Model Manager UI
- π¨ No updater - you'll use the installer attached to these releases instead. Select your existing install location to perform an update. All of your user data is retained during the update.
π New Model Manager
The model manager is rewritten in v4.0.0, both frontend and backend. This builds a foundation for future model architectures and brings some exciting new user-facing features:
- All model installation happens via the UI (no configure script)
- Queued model downloads
- Per-model preview images
- Per-model default settings - choose a modelβs default VAE, Scheduler, CFG Scale, etc
- User-defined trigger phrases for concepts/LoRAs and models - access by typing the
<
key in any prompt box - API key support for model marketplaces
- π¨ Autoimport removed - use
Scan Folder
instead
#οΈβ£ Model Hashing
When you first run v4, it may take a few minutes to start up as it does a one-time hash of all of your model files.
Do not panic.
Hashes provide a stable identifier for a model that is the same across every platform.
π¨ If you donβt care about this, you can press Ctrl+C to interrupt the process and disable hashing by setting hashing_algorithm: random
setting in invokeai.yaml
.
π¨ Canvas Improvements
The canvas uses a new method for compositing called gradient denoising. This eliminates the need for multiple βpassesβ, greatly reducing generation time on the canvas. This method also provides substantially improved visual coherence between the masked regions and the rest of the image.
The compositing settings on canvas allow for control over the gradient denoising process.
Major research & experimentation for this novel denoising implementation was led by @dunkeroni, and @blessedcoolant was responsible for managing integration into the canvas UI.
π Known Issue
π¨ Inpainting models on Canvas sometimes kinda give up and output mush. We have a fix en-route, but it will need to wait for 4.1.0.
π Fixes and Enhancements
4.0.4
- Add fit bounding box to image when sending image to canvas
- Small handful of canvas bugs fixed
- Refiner models displayed in model manager
- Fix OOM on Windows (see this FAQ entry for more detail)
- Restore initial image recall for img2img
4.0.2
- Fix errors related to character encodings during install and startup
- UI error on first launch of v4, requiring reset of UI
- Cancel batch button not working
- Improvements to
Scan Folder
- FAQ to fix some models not migrating to v4
- Removed unused or wonky GPU options in installer
- Root dir detection via venv path
- Handful of cosmetic UI fixes
- IP Adapter safetensor support
4.0.1
- Minor updates that resolve performance issues on the canvas.
- Some installation/updating fixes to improve experience.
4.0.0
Many small bug fixes, resolved papercuts, and warm fuzzies. Shouting out just a few notable goodies from the community:
- Bulk downloads (download a selection of images or a whole board) @StefanTobler
- Canvas Brush Size Scroll can now be inverted @joshistoast
- Images in the Canvas Staging Area can now be discarded individually @joshistoast
- Numerous fixes and UI enhancements @joshistoast
- Numerous greybeard node things @dunkeroni
- Iterate nodes now iterate in order @cgi-joe
- Sane workflow sorting @clsn
- Image dimensions overlay in the gallery @rohinish404
- Localization fixes @rohinish404
- New translations B N, @Harvester62, @Pfannkuchensack, @Bethanielle, @Vasyanator, @GGSSKK, & @Sufi2425
- Updated
torch
anddiffusers
deps @Malrama - Docs updates @skunkworxdark, @gogurtenjoyer
- LoRA probe fix @skunkworxdark
π Bonus: Invoke Training (Beta)
As of v4.0.0, all references to training in the core invoke script now point to the Invoke Training Repo. Invoke Training offers a simple user interface for:
- Textual Inversion Training
- LoRA Training
- Dreambooth Training
- Pivotal Tuning Training
Learn more on the Invoke Training repo, as well as our YT video on getting started
Models don't show up after upgrading
Follow these steps. If you are still missing some models, please create an issue on GitHub or ask for help on discord.
π€ Developer Changes
v4.0.0 is versioned as a major release due to breaking changes:
- The internal nodes API has been refactored to provide a stable public API. π¨ Node authors should review the migration guide.
- The internal graph execution engine is drastically simplified, resulting in more efficient and performant processing. This carries on from the changes in v3.6.0 in which graphs are no longer stored in the database.
π€ Contributing
As a community-supported project, we rely on volunteers and enthusiasts for continued innovation and polish. Everything from minor documentation fixes to major feature additions are welcome. To get started as a contributor, please refer to How to Contribute or reach out in #dev-chat on Discord!
What's Changed
- fix(ui): discarding last single canvas image breaks canvas by @psychedelicious in #6135
- fix: ip adapter clip selection being broken by @blessedcoolant in #6138
- Fix IdealSizeInvocation by @JPPhoto in #6145
- [refactor] Infill Methods + Mosaic Infill by @blessedcoolant in #5998
- fix(ui): display refiner models in model manager by @psychedelicious in #6146
- Adjust free vram calculation for models that will be offloaded by @lstein in #6150
- ui: translations update from weblate by @weblate in #6142
- navigate to workflow tab when clicking load workflow by @chainchompa in #6149
- Fix misplaced lock call in VRAM management routines (minor) by @lstein in #6153
- feat: Unified Canvas Fit Image Size on Drop by @symant233 in #6136
- chore: v4.0.3 by @psychedelicious in #6154
- fix: Incorrect default clip vision opt in the node by @blessedcoolant in #6159
- fix(mm): premature insufficient VRAM reporting by @psychedelicious in #6156
- fix: "Use All" for linear image to image doesn't recall source image by @chainchompa in #6141
- fix(nodes): add WithBoard to public API by @psychedelicious in #6162
- chore: v4.0.4 by @psychedelicious in #6165
- ui: translations update from weblate by @weblate in #6166
New Contributors
- @symant233 made their first contribution in #6136
Full Changelog: v4.0.2...v4.0.4