Ryan Dick
|
ff950bc5cd
|
Add support for mask weights, and only mask the tokens associated with the prompts (not eh entire 77-token embedding).
|
2024-03-07 14:30:51 -05:00 |
|
Ryan Dick
|
969982b789
|
Fixup some details of densediffusion for testing.
|
2024-03-06 19:03:26 -05:00 |
|
Ryan Dick
|
b8cbff828b
|
wip
|
2024-03-06 10:52:35 -05:00 |
|
Ryan Dick
|
d3a40c5b2b
|
Rough hacky implementation of DenseDiffusion.
|
2024-03-05 18:10:01 -05:00 |
|
Ryan Dick
|
41e1a9f202
|
Use the correct device / dtype for RegionalPromptData calculations.
|
2024-03-05 15:19:58 -05:00 |
|
Ryan Dick
|
bcfb43e5f0
|
(minor) Remove commented code.
|
2024-03-05 09:12:17 -05:00 |
|
Ryan Dick
|
a665f20fb5
|
Add positive_self_attn_mask_score and self_attn_adjustment_end_step_percent to the prompt nodes.
|
2024-03-04 15:34:26 -05:00 |
|
Ryan Dick
|
d313e5eb70
|
Remove AddConditioningMaskInvocaton.
|
2024-03-04 14:11:38 -05:00 |
|
Ryan Dick
|
5fad379192
|
Add ability to control regional prompt region weights.
|
2024-03-03 12:55:07 -05:00 |
|
Ryan Dick
|
ad18429fe3
|
Very experimentation with various regional prompting tuning params.
|
2024-03-02 17:43:21 -05:00 |
|
Ryan Dick
|
942efa011e
|
Implement (very slow) self-attention regional masking.
|
2024-03-01 18:43:32 -05:00 |
|
Ryan Dick
|
ffc4ebb14c
|
Merge branch 'ryan/remove-attention-map-saving' into ryan/regional-conditioning
|
2024-03-01 11:33:50 -05:00 |
|
Ryan Dick
|
5b3adf0740
|
Remove unused code for attention map saving.
|
2024-02-29 23:42:37 -05:00 |
|
Ryan Dick
|
a5c94fba43
|
Delete unused functions from shared_invokeai_diffusion.py.
|
2024-02-29 23:41:15 -05:00 |
|
Ryan Dick
|
3e14bd6c45
|
Remove unused constructor declared with typo in name: __int__.
|
2024-02-29 22:42:59 -05:00 |
|
Ryan Dick
|
8721926f14
|
Merge sequential conditioning and cac conditioning logic to eliminate a bunch of duplication.
|
2024-02-29 22:42:59 -05:00 |
|
Ryan Dick
|
7d9671014b
|
Remove use of **kwargs in do_unet_step(...), where full parameter list is known and supported.
|
2024-02-29 22:42:59 -05:00 |
|
Ryan Dick
|
4a1acd4db9
|
Fix avoid storing extra conditioning info in two places.
|
2024-02-29 22:42:59 -05:00 |
|
psychedelicious
|
dd9daf8efb
|
chore: ruff
|
2024-03-01 10:42:33 +11:00 |
|
psychedelicious
|
05fb485d33
|
feat(nodes): move ConditioningFieldData to conditioning_data.py
|
2024-03-01 10:42:33 +11:00 |
|
Ryan Dick
|
8989a6cdc6
|
Get multi-prompt attention working simultaneously with IP-adapter.
|
2024-02-29 14:54:13 -05:00 |
|
Ryan Dick
|
e132afb705
|
Make regional prompting work with sequential conditioning.
|
2024-02-28 21:21:50 -05:00 |
|
Ryan Dick
|
5f49e7ae26
|
Move regional prompt concatenation further up the stack. This solves a number of issues.
|
2024-02-28 20:11:47 -05:00 |
|
Ryan Dick
|
53ebca58ff
|
Rename ConditioningData to TextConditioningData.
|
2024-02-28 13:53:56 -05:00 |
|
Ryan Dick
|
ee1b3157ce
|
Split ip_adapter_conditioning out from ConditioningData.
|
2024-02-28 13:49:02 -05:00 |
|
Ryan Dick
|
e7ec13f209
|
Remove scheduler_args from ConditioningData structure.
|
2024-02-28 12:15:39 -05:00 |
|
Ryan Dick
|
cad3e5dbd7
|
Remove dead code related to an old symmetry feature.
|
2024-02-28 11:29:52 -05:00 |
|
Ryan Dick
|
845c4e93ae
|
Update various comments related to regional prompting, and delete duplicate _preprocess_regional_prompt_mask(...) function.
|
2024-02-28 10:20:22 -05:00 |
|
Ryan Dick
|
54971afe44
|
Add symmetric support for regional negative text prompts.
|
2024-02-27 20:05:02 -05:00 |
|
Ryan Dick
|
cfba51aed5
|
Removed unused function: _prepare_text_embeddings(...)
|
2024-02-27 19:23:20 -05:00 |
|
Ryan Dick
|
2966c8de2c
|
Handle conditioned and unconditioned text conditioning in the same way for regional prompt attention.
|
2024-02-27 18:16:01 -05:00 |
|
Ryan Dick
|
b0fcbe552e
|
Tidy invocation interfaces for RectangleMaskInvocation and AddConditioningMaskInvocation.
|
2024-02-26 17:34:37 -05:00 |
|
Ryan Dick
|
d132fb4818
|
Get RegionalPromptAttnProcessor2_0 working with a ton of hacks.
|
2024-02-17 19:56:37 -05:00 |
|
Ryan Dick
|
2d5d370f38
|
Route masks into the RegionalPromptAttnProcessor2_0 processors.
|
2024-02-16 19:35:24 -05:00 |
|
Ryan Dick
|
caa690e24d
|
Add concatenation of multiple text conditioning tensors, and patching of RegionalPromptAttnProcessor2_0 into the UNet.
|
2024-02-16 17:09:06 -05:00 |
|
Ryan Dick
|
ba4788007f
|
Initialize a RegionalPromptAttnProcessor2_0 class by copying AttnProcessor2_0 from diffusers.
|
2024-02-15 17:52:44 -05:00 |
|
Ryan Dick
|
ef51005881
|
Remove unused code for attention map saving.
|
2024-02-15 17:28:55 -05:00 |
|
Ryan Dick
|
7b0326d7f7
|
Delete unused functions from shared_invokeai_diffusion.py.
|
2024-02-15 17:22:37 -05:00 |
|
Ryan Dick
|
f590b39f88
|
Add support for a list of ConditioningFields in DenoiseLatents.
|
2024-02-15 14:41:54 -05:00 |
|
Ryan Dick
|
382fa57f3b
|
Remove unused constructor declared with typo in name: __int__.
|
2024-02-14 18:18:58 -05:00 |
|
Ryan Dick
|
ee3abc171d
|
Merge sequential conditioning and cac conditioning logic to eliminate a bunch of duplication.
|
2024-02-14 18:17:46 -05:00 |
|
Ryan Dick
|
e866e3b19f
|
Remove use of **kwargs in do_unet_step(...), where full parameter list is known and supported.
|
2024-02-14 17:37:32 -05:00 |
|
Ryan Dick
|
16e574825c
|
Fix avoid storing extra conditioning info in two places.
|
2024-02-14 15:34:15 -05:00 |
|
Wubbbi
|
73a077956b
|
Why did my IDE change the comment?
|
2024-02-01 20:40:28 -05:00 |
|
Wubbbi
|
5e1e50bd47
|
Fix hopefully last import
|
2024-02-01 20:40:28 -05:00 |
|
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 |
|
psychedelicious
|
6494e8e551
|
chore: ruff format
|
2023-11-11 10:55:40 +11:00 |
|
psychedelicious
|
513fceac82
|
chore: ruff check - fix pycodestyle
|
2023-11-11 10:55:33 +11:00 |
|
psychedelicious
|
99a8ebe3a0
|
chore: ruff check - fix flake8-bugbear
|
2023-11-11 10:55:28 +11:00 |
|
Kent Keirsey
|
67f2616d5a
|
Merge branch 'main' into revert-4923-revert-4914-feat/mix-cnet-t2iadapter
|
2023-11-06 07:34:51 -08:00 |
|