Skip to content

Alpha v0.21.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jan 01:54
· 333 commits to main since this release

This might be chaiNNer's biggest update ever! Sorry for how long it took, we spent a lot of time making sure this release had the polish we deemed necessary. There are a lot of big changes in this update, but here are some highlights: Better iterators, general optimizations, support for more PyTorch models, chain auto-organization, and much more. Here are the major changes in greater detail:

Better Iterators

This might not be the final step in our goal of getting iteration in chaiNNer to where we want to be, but it's certainly a step in the right direction. Iterators are no longer gigantic nodes with their own sub-flow editor in them. Now, they are single nodes that can be attached like normal, which makes working with iteration a whole lot easier. Not only that, but it also allows mixing and matching iterators and "collectors", so now you can do things like convert an image sequence to a video, or split a spritesheet to separate images.

However, only one iterator is actually allowed to be part of the same chain "lineage", so you still are not able to do things like match multiple iterators together or combine an image iterator and a model iterator. That is a lot more complex and will hopefully come in the future. Oh yeah, and all the iterator nodes have new names as well, so instead of "Image File Iterator", look for "Load Images".

General Optimizations

We spent some time working on optimizing a few aspects of chaiNNer and generally improving speed. From making PyTorch upscales faster to optimizing things like resizing to making the frontend use less CPU, you should notice a general speedup all around.

Support for more PyTorch models

Part of what made this release take a while was that we took a small break from working on chaiNNer to separate out our model support code into a new Python package called Spandrel. Doing so allowed us to more easily add support for a variety of new models (such as SPAN, Real-CUGAN, FBCNN, and more) and we even got some contributions from the community. Spandrel is now being used in AUTOMATIC1111's stable diffusion webui, and will most likely also be used in ComfyUI soon. If you want chaiNNer's automatic model support in your Python project, go check out Spandrel. To see a list of all the currently supported models, check here.

Other notable changes

  • Chains can now be auto-formatted/organized using Edit > Format Chain (or using ctrl+shift+f).
  • Upscale tiling is now even more seamless, using a blending technique to avoid hard seams with certain models like SCUNet.
  • Some general UI improvements and quality-of-life additions.
  • Many new nodes.

And now for the changelog:

Dependency Updates

PyTorch

Changes

New Nodes

Optimizations

Changes

Bug Fixes

Other/Dev Changes

Full Changelog: v0.20.2...v0.21.0