InvokeAI/invokeai/app/invocations
Damian Stewart 0beb08686c
Add CFG Rescale option for supporting zero-terminal SNR models (#4335)
* add support for CFG rescale

* fix typo

* move rescale position and tweak docs

* move input position

* implement suggestions from github and discord

* cleanup unused code

* add back dropped FieldDescription

* fix(ui): revert unrelated UI changes

* chore(nodes): bump denoise_latents version 1.4.0 -> 1.5.0

* feat(nodes): add cfg_rescale_multiplier to metadata node

* feat(ui): add cfg rescale multiplier to linear UI

- add param to state
- update graph builders
- add UI under advanced
- add metadata handling & recall
- regen types

* chore: black

* fix(backend): make `StableDiffusionGeneratorPipeline._rescale_cfg()` staticmethod

This doesn't need access to class.

* feat(backend): add docstring for `_rescale_cfg()` method

* feat(ui): update cfg rescale mult translation string

---------

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2023-11-30 20:55:20 +11:00
..
custom_nodes fix(nodes): fix loading node pack display 2023-11-29 10:49:31 +11:00
__init__.py resolve which paths can be None 2023-11-28 09:30:49 +11:00
baseinvocation.py fix(nodes): remove extraneous del 2023-11-29 10:49:31 +11:00
collections.py feat(ui): add support for custom field types 2023-11-29 10:49:31 +11:00
compel.py fix(backend): apply clip skip after lora 2023-11-14 11:30:15 +11:00
controlnet_image_processors.py fix(nodes): bump version of nodes post-pydantic v2 2023-11-16 11:14:26 +11:00
cv.py fix(nodes): bump version of nodes post-pydantic v2 2023-11-16 11:14:26 +11:00
facetools.py fix(nodes): bump version of nodes post-pydantic v2 2023-11-16 11:14:26 +11:00
image.py fix(nodes,ui): fix missed/canvas temp images in gallery 2023-11-17 07:32:04 +11:00
infill.py feat(ui): add support for custom field types 2023-11-29 10:49:31 +11:00
ip_adapter.py feat(ui): add support for custom field types 2023-11-29 10:49:31 +11:00
latent.py Add CFG Rescale option for supporting zero-terminal SNR models (#4335) 2023-11-30 20:55:20 +11:00
math.py chore: ruff check - fix pycodestyle 2023-11-11 10:55:33 +11:00
metadata.py Add CFG Rescale option for supporting zero-terminal SNR models (#4335) 2023-11-30 20:55:20 +11:00
model.py feat(ui): add support for custom field types 2023-11-29 10:49:31 +11:00
noise.py feat(ui): add support for custom field types 2023-11-29 10:49:31 +11:00
onnx.py fix(nodes): bump version of nodes post-pydantic v2 2023-11-16 11:14:26 +11:00
param_easing.py chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
primitives.py feat(ui): add support for custom field types 2023-11-29 10:49:31 +11:00
prompt.py Update prompt.py 2023-11-29 23:40:10 +11:00
sdxl.py fix(nodes): create app/shared/ module to prevent circular imports 2023-11-09 16:41:55 +11:00
strings.py Prompts from file support nodes (#3964) 2023-09-13 08:06:38 +00:00
t2i_adapter.py feat(ui): add support for custom field types 2023-11-29 10:49:31 +11:00
upscale.py fix(backend): remove inaccurate comments in upscale.py 2023-11-28 07:58:22 +11:00