InvokeAI/invokeai/app/util
Ryan Dick 78377469db
Add support for T2I-Adapter in node workflows (#4612)
* Bump diffusers to 0.21.2.

* Add T2IAdapterInvocation boilerplate.

* Add T2I-Adapter model to model-management.

* (minor) Tidy prepare_control_image(...).

* Add logic to run the T2I-Adapter models at the start of the DenoiseLatentsInvocation.

* Add logic for applying T2I-Adapter weights and accumulating.

* Add T2IAdapter to MODEL_CLASSES map.

* yarn typegen

* Add model probes for T2I-Adapter models.

* Add all of the frontend boilerplate required to use T2I-Adapter in the nodes editor.

* Add T2IAdapterModel.convert_if_required(...).

* Fix errors in T2I-Adapter input image sizing logic.

* Fix bug with handling of multiple T2I-Adapters.

* black / flake8

* Fix typo

* yarn build

* Add num_channels param to prepare_control_image(...).

* Link to upstream diffusers bugfix PR that currently requires a workaround.

* feat: Add Color Map Preprocessor

Needed for the color T2I Adapter

* feat: Add Color Map Preprocessor to Linear UI

* Revert "feat: Add Color Map Preprocessor"

This reverts commit a1119a00bf.

* Revert "feat: Add Color Map Preprocessor to Linear UI"

This reverts commit bd8a9b82d8.

* Fix T2I-Adapter field rendering in workflow editor.

* yarn build, yarn typegen

---------

Co-authored-by: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com>
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2023-10-05 16:29:16 +11:00
..
__init__.py feat(nodes): add list_images endpoint 2023-04-09 13:48:44 +10:00
controlnet_utils.py Add support for T2I-Adapter in node workflows (#4612) 2023-10-05 16:29:16 +11:00
metadata.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
metaenum.py feat(nodes): address feedback 2023-05-24 11:30:47 -04:00
misc.py feat: queued generation (#4502) 2023-09-20 15:09:24 +10:00
model_exclude_null.py isort wip 2023-09-12 13:01:58 -04:00
step_callback.py fix: canvas not working on queue 2023-09-20 09:57:10 -04:00
thumbnails.py isort wip 2023-09-12 13:01:58 -04:00