Alpha v0.21.0 #2451
joeyballentine
announced in
Announcements
Alpha v0.21.0
#2451
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
And now for the changelog:
Dependency Updates
PyTorch
Changes
New Nodes
Optimizations
resize
#2390, Fix resize for non-C-style arrays #2394Changes
defaultNodes
#2276, Mixed iterator and non-iterator inputs/outputs #2280, Improved index output types of iterator nodes #2286, Add "Defer errors" option to applicable iterators #2442, Rename "Defer errors" to "Stop on first error" #2449Bug Fixes
/run/individual
by @RunDevelopment in Filter events in/run/individual
#2320nodrag
for view image button #2339/run/individual
by @RunDevelopment in Fixed race condition in/run/individual
#2410Other/Dev Changes
lint:fix
#2301, Apply ruff fixes on save #2303, Allow unsafe ruff fixes #2302, Enable ruff UP rules #2300, Enable ruff Pylint rules #2304, Update ruff to 0.1.4 #2306, Enable ruff Flake, Naming, RUF, & B rules #2305, Add ruff flake8 comprehensions and future-annotations rules #2308, Enable ruff numpy rules #2314, Enable 2 ruff rules to enforce type hints #2315, Update Ruff to 0.1.11 #2435inputSize
in save files by @RunDevelopment in RemoveinputSize
in save files #2273settings.json
by @RunDevelopment in Migrate VSCodesettings.json
#2399Full Changelog: v0.20.2...v0.21.0
This discussion was created from the release Alpha v0.21.0.
Beta Was this translation helpful? Give feedback.
All reactions