v4.0.2
🚨 v4 has some major changes. Please read the patch notes. 🚨
🚨 🚨 🚨 Yes - Those patch notes 👇 🚨 🚨 🚨
🎉 What's New in 4.0.2
This is a patch release includes these changes:
- 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
It also includes one notable feature:
- IP Adapter safetensor support
💻 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.2
Fixes
- 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
Features
- IP Adapter safetensor support
4.0.1
Fixes
- 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
💾 Installation and Upgrading
🚨 To install or upgrade to version 4.0, download the zip file from the release notes ("Assets" section), unzip it, and follow the installation instructions. For upgrades, select the same installation location.
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): add default coherence mode to generation slice migration by @psychedelicious in #6109
- docs: fix broken link by @psychedelicious in #6116
- fix(ui): cancel batch status button greyed out by @psychedelicious in #6121
- IP-Adapter Safetensor Support by @blessedcoolant in #6041
- feat(mm): include needed vs free in OOM by @psychedelicious in #6111
- add some test IDs for accordion targeting by @maryhipp in #6126
- fix(mm): do not rename model file when model record is renamed by @psychedelicious in #6113
- Update probe to always use cpu for loading models by @brandonrising in #6128
- feat(mm): restore missing models by @psychedelicious in #6118
- fix(ui): fix model name overflow by @psychedelicious in #6114
- feat(installer): remove extra GPU options by @psychedelicious in #6119
- fix(config): fix find_root to use venv parent if no CLI arg or env var by @psychedelicious in #6115
- docs: update 020_INSTALL_MANUAL.md, remove conda section by @psychedelicious in #6131
- fix: unicode errors during install or app startup by @psychedelicious in #6133
- chore: v4.0.2 by @psychedelicious in #6134
Full Changelog: v4.0.1...v4.0.2