github invoke-ai/InvokeAI v4.0.4

latest releases: v4.2.5post1, v4.2.5, v4.2.4...
2 months ago

🚨 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:

πŸ’– 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:

🎁 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

New Contributors

Full Changelog: v4.0.2...v4.0.4

Don't miss a new InvokeAI release

NewReleases is sending notifications on new releases.