Skip to content

InvokeAI v3.5.1

Compare
Choose a tag to compare
@Millu Millu released this 29 Dec 04:24
· 2768 commits to main since this release
358c1f5

InvokeAI is a leading creative engine built to empower professionals and enthusiasts alike. Generate and create stunning visual media using the latest AI-driven technologies. InvokeAI offers an industry-leading web interface and also serves as the foundation for multiple commercial products.

To learn more about InvokeAI, please visit our Documentation or join our Discord server!

🌟 What's New in 3.5.1

  • Fixed bug with multiple embeddings
  • Added Tiled Upscaling to Default Workflows (Beta)
  • Respect use of torch-sdp from config.yaml

3.5.0 Changes

Workflow Library

Until now, a workflow could only be associated with an image, or be downloaded as JSON.
The Workflow Library allows workflows to be saved independently to the database. The UI provides sorting and filtering options to manage them.

With the Workflow Library, we can now ship default workflows directly in the app. You’ll see a couple on the Default tab. As the InvokeAI application evolves we will keep these workflows up-to-date, and regularly add more.

Other Enhancements

  • More capable node updating
  • Better errors when your workflow doesn’t match your installed nodes
  • Community node packs auto-report their name, so if your workflow needs nodes you don’t have installed, you’ll see what’s missing
  • Custom field types for nodes
  • Tiled upscaling nodes (BETA)
  • Added many missing translation strings
  • Gallery auto-scroll

‼️ Things to Know:

Invoke might revert to CPU (NVIDA GPU only)

  • Some users have experienced torch reverting to the CPU rather than their GPU. To fix this follow these steps:
  1. Launch your invoke.bat / invoke.sh and select the option to open the developer console
  2. Run: pip install --force-reinstall torch==2.1.2 --index-url https://download.pytorch.org/whl/cu121
  3. If you run into an error with typing_extensions, run: pip install -U typing-extensions
  4. If there is an error with fsspec, run pip install -U fsspec==2023.5.0

Database Migrations

As the app evolves and our database usage gets a bit more complex, we need a way to safely update it. This release introduces a database migration utility and versions the database.

The first time you run v3.5.1, the migrator will set up the database versioning and, for this particular release, updates the images table to flag if an image has a workflow embedded or not. You’ll see a progress bar as it checks each image - it should be pretty quick.

The migration utility rolls back changes if anything goes wrong, is covered by our test suite and has proved itself with manual testing.

Custom Field Types in Nodes

Previously, node authors had to use built-in field types for inputs and outputs of their nodes. While this covered many use-cases, we recognized the need for “custom” field types.
This is now fully supported, and any pydantic model can be used as a field type.

💿 Installation and Upgrading:

To install version 3.5.0, please download the zip file at the bottom of the release notes (under "Assets"), unpack it, and then double-click to launch the script install.sh (Macintosh, Linux) or install.bat (Windows). Alternatively, you can open a command-line window and execute the installation script directly.

If you already have InvokeAI version 3.x installed, you can update by running invoke.sh / invoke.bat and selecting "Updated InvokeAI" to upgrade, or you can download and run the installer in your existing InvokeAI installation location.

🚨 Please ensure your generation queue has no pending items before upgrading. Pending generations may fail after an upgrade. 🚨

Download the installer: InvokeAI-installer-v3.5.1.zip

💻 Developer Changes

There are a number of important changes for contributors in this release.

Frontend/UI

The biggest change is that the frontend build is no longer included in main. If you run the app off a clone of the repo, you’ll need to build the frontend to use the UI. See the “Impact to Contributors” section on this PR #5253.

Other changes:

  • Moved from yarn to pnpm for package management
  • Updated many packages
  • Refactored all workflow schemas and types
  • Workflow migration logic implemented
  • Changes to release process

Backend Changes

This release includes feature-flagged changes to the model manager and a new database migration utility.

Model Manager

The Model Manager is partway through a redesign, to make it more capable and maintainable. The redesign will support a much better user experience for downloading, installing and managing models. The changes are in the repo, but implemented separately from the user-facing app.

⚙️ 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 is welcome. To get started as a contributor, please refer to How to Contribute or reach out to imic on Discord!

New Contributors

Full Changelog: v3.5.0...v3.5.1