InvokeAI/invokeai/app/invocations
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 Run python black 2023-07-28 09:46:44 -04:00
baseinvocation.py Add support for T2I-Adapter in node workflows (#4612) 2023-10-05 16:29:16 +11:00
collections.py feat: queued generation (#4502) 2023-09-20 15:09:24 +10:00
compel.py Merge branch 'main' into feat/ip-adapter 2023-09-15 13:15:25 -04:00
controlnet_image_processors.py fix: Handle cases where tile size > image size 2023-09-22 17:30:12 -04:00
cv.py Apply black, isort, flake8 2023-09-12 13:01:58 -04:00
facetools.py chore(facetools): bump node patch versions 2023-10-04 09:33:14 +11:00
image.py feat(nodes): provide board_id in image creation 2023-09-22 10:11:20 -04:00
infill.py add version to cv2 infill 2023-09-29 16:58:19 +02:00
ip_adapter.py fix(nodes): fix ip-adapter field positioning on workflow editor 2023-09-20 21:52:29 -04:00
latent.py Add support for T2I-Adapter in node workflows (#4612) 2023-10-05 16:29:16 +11:00
math.py Add 'Random Float' node <3 (#4581) 2023-09-26 05:57:44 +00:00
metadata.py Use metadata ip adapter (#4715) 2023-09-28 09:05:32 +00:00
model.py feat(nodes): add version to node schemas 2023-09-04 19:08:18 +10:00
noise.py feat(nodes): add version to node schemas 2023-09-04 19:08:18 +10:00
onnx.py feat(nodes): remove ui_type overrides for polymorphic fields 2023-09-21 10:00:17 +10:00
param_easing.py isort wip 2023-09-12 13:01:58 -04:00
primitives.py feat: move board logic to save_image node 2023-09-22 10:11:20 -04:00
prompt.py feat: queued generation (#4502) 2023-09-20 15:09:24 +10:00
sdxl.py feat(nodes): add version to node schemas 2023-09-04 19:08:18 +10:00
strings.py Prompts from file support nodes (#3964) 2023-09-13 08:06:38 +00:00
t2i_adapter.py Add support for T2I-Adapter in node workflows (#4612) 2023-10-05 16:29:16 +11:00
upscale.py Change version bump from patch to minor 2023-10-05 08:24:52 +11:00