Skip to content

v4.0.1

Compare
Choose a tag to compare
@hipsterusername hipsterusername released this 02 Apr 14:47
· 4233 commits to main since this release

🚨 4.0.0 has some major changes. Please read the patch notes. 🚨

🚨 🚨 🚨 Yes - Those patch notes 👇 🚨 🚨 🚨

🎉 What's New in 4.0

💻 Simplified Installation, Updating and Configuration

We've simplified and streamlined installation, making it much faster and more reliable:

💖 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.0.0, 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

Many small bug fixes, resolved papercuts, and warm fuzzies. Shouting out just a few notable goodies from the community:

4.01 Fixes

  • Minor updates that resolve performance issues on the canvas.
  • Some installation/updating fixes to improve experience.

🎁 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.

Download Installer

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

New Contributors

Full Changelog: 3.7.0...v4.0.1