psychedelicious
57533657f9
feat(nodes): remove siglip from flux_redux, dl it jit when needed if we cannot find it
...
This follows the same pattern for IP Adapter w/ its CLIP Vision model. The SigLIP model is unlikely to ever change and we don't want to force the user to select it anywhere. Hardcoding it is safe and makes the UX much nicer.
The alternative is a model dropdown that will likely only ever have one valid choice in it.
2025-03-11 11:17:19 +11:00
psychedelicious
59a8c0d441
feat(app): less janky custom node loading
...
- We don't need to copy the init file. Just crawl the custom nodes dir for modules and import them all. Dunno why I didn't do this initially.
- Pass the logger in as an arg. There was a race condition where if we got the logger directly in the load_custom_nodes function, the config would not have been loaded fully yet and we'd end up with the wrong custom nodes path!
- Remove permissions-setting logic, I do not believe it is relevant for custom nodes
- Minor cleanup of the utility
2025-03-08 09:42:13 +11:00
Jonathan
518a7c941f
Changed version of FluxDenoiseInvocation
...
A Redux field was added but the node version wasn't updated.
2025-03-07 07:33:31 +11:00
psychedelicious
cf0cbaf0ae
chore: ruff (more)
2025-03-06 10:57:54 +11:00
psychedelicious
ac6fc6eccb
chore: ruff
2025-03-06 10:57:54 +11:00
Ryan Dick
b6b21dbcbf
Add model selecton fields to the FluxReduxInvocation.
2025-03-06 10:31:17 +11:00
Ryan Dick
4c02ba908a
Add support for FLUX Redux masks.
2025-03-06 10:31:17 +11:00
Ryan Dick
82293ae3b2
Add helpful error messages when FLUX Redux starter models are not installed.
2025-03-06 10:31:17 +11:00
Ryan Dick
f1fde792ee
Get FLUX Redux working: model loading and inference.
2025-03-06 10:31:17 +11:00
Ryan Dick
34959ef573
Add SigLIP model type and probing.
2025-03-06 10:31:17 +11:00
Billy
f2689598c0
Formatting
2025-03-06 09:11:00 +11:00
Jonathan
081b931edf
Update util.py
...
Changed string to a literal
2025-03-05 14:39:17 +11:00
Jonathan
8cd7035494
Fixed validation of begin and end steps
...
Fixed logic to match the error message - begin should be <= end.
2025-03-05 14:39:17 +11:00
Ryan Dick
b9f9d1c152
Increase the VAE decode memory estimates. to account for memory reserved by the memory allocator, but not allocated, and to generally be more conservative.
2025-02-28 17:18:57 -05:00
skunkworxdark
36a3fba8cb
Update metadata_linked.py
...
Fix input type of default_value on MetadataToFloatInvocation
2025-02-27 04:55:29 -05:00
psychedelicious
4e8ce4abab
feat(app): more detailed messages when loading custom nodes
2025-02-27 12:39:37 +11:00
psychedelicious
d40f2fa37c
feat(app): improved custom load loading ordering
...
Previously, custom node loading occurred _during module imports_. A consequence of this is that when a custom node import fails (e.g. its type clobbers an existing node), the app fails to start up.
In fact, any time we import basically anything from the app, we trigger custom node imports! Not good.
This logic is now in its own function, called as the API app starts up.
If a custom node load fails for any reason, it no longer prevents the app from starting up.
One other bonus we get from this is that we can now ensure custom nodes are loaded _after_ core nodes.
Any clobbering that may occur while loading custom nodes is now guaranteed to be a custom node clobbering a core node's type - and not the other way round.
2025-02-27 12:39:37 +11:00
psychedelicious
933f4f6857
feat(app): improve error messages when registering invocations and they clobber
2025-02-27 12:39:37 +11:00
psychedelicious
f499b2db7b
feat(app): add get_invocation_for_type method to BaseInvocation
2025-02-27 12:39:37 +11:00
psychedelicious
706aaf7460
tidy(app): remove unused variable
2025-02-27 12:39:37 +11:00
psychedelicious
4a706d00bb
feat(app): use generic for append_list util
2025-02-27 12:28:00 +11:00
psychedelicious
3f0e3192f6
chore(app): mark metadata_field_extractor as deprecated
2025-02-27 12:28:00 +11:00
psychedelicious
c65147e2ff
feat(app): adopt @skunkworxdark's popular metadata nodes
...
Thank you!
2025-02-27 12:28:00 +11:00
psychedelicious
1c14e257a3
feat(app): do not pull PIL image from disk in image primitive
2025-02-27 12:19:27 +11:00
psychedelicious
7003bcad62
feat(nodes): add image generator node
2025-02-26 18:25:23 +11:00
Billy Lisner
1439da5e88
Make ruff gods happy
2025-02-13 19:24:01 +11:00
Billy Lisner
69a504710f
More detailed error messages
2025-02-13 19:24:01 +11:00
Billy Lisner
ba39331594
Make ruff happy
2025-02-13 19:24:01 +11:00
Billy Lisner
8ee9509eec
Add Metadata Field Extractor
2025-02-13 19:24:01 +11:00
Maxim Evtush
df793c898f
Update denoise_latents.py
2025-02-11 20:03:11 +11:00
dunkeroni
9e6f3e9338
image channel multiply node loads as RGBA now
2025-02-11 18:32:56 +11:00
skunkworxdark
dfb9e300d4
typegen + Suggested changes (fix typo + remove asserts)
2025-02-04 21:37:04 +11:00
skunkworxdark
d7f80fc299
Update invokeai/app/invocations/flux_lora_loader.py
...
good catch
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com >
2025-02-04 21:37:04 +11:00
skunkworxdark
c9b1eb2d83
update to include T5EncoderField lora changes
2025-02-04 21:37:04 +11:00
skunkworxdark
13d505a621
Fix github test errors
...
Fix errors with typegen and py3.10 macos-default github tests
2025-02-04 21:37:04 +11:00
skunkworxdark
6674d95dae
fix typegen error
...
fix typegen error
2025-02-04 21:37:04 +11:00
skunkworxdark
71690715db
fix typegen
...
fix typegen
2025-02-04 21:37:04 +11:00
skunkworxdark
641489c2f8
fix typegen error
...
fix typegen
2025-02-04 21:37:04 +11:00
skunkworxdark
5f0bd2e1db
Fix typegen issue
...
Fix typegen issue
2025-02-04 21:37:04 +11:00
skunkworxdark
98b8ab0147
LoRA Loader optional LoRA Collection
...
Update the LoRA Loaders to make the Lora Collection Optional
2025-02-04 21:37:04 +11:00
psychedelicious
8fc5d3dd20
chore(nodes): bump versions of changed nodes
2025-02-04 12:06:17 +11:00
dunkeroni
9c7bac693b
fix image adjust hue handling
2025-02-04 12:06:17 +11:00
dunkeroni
cc27730cb4
fix: image channel invocations respect alpha
2025-02-04 12:06:17 +11:00
dunkeroni
58255ab7ba
add adjust image filter to canvas
2025-02-04 12:06:17 +11:00
Ryan Dick
285313b282
Fix T5EncoderField initialization in SD3 model loader.
2025-01-29 09:27:52 -05:00
Ryan Dick
5357d6e08e
Rename ConcatenatedLoRALayer to MergedLayerPatch. And other minor cleanup.
2025-01-28 14:51:35 +00:00
Ryan Dick
7fef569e38
Update frontend graph building logic to support FLUX LoRAs that modify the T5 encoder weights.
2025-01-28 14:51:35 +00:00
Ryan Dick
f4a0b78a8d
Update FLUX invocations to support LoRAs that modify the T5 text encoder.
2025-01-28 14:51:35 +00:00
Ryan Dick
b681132da4
Update InvertTensorMaskInvocation to handle mask tensors with dim 2 or 3.
2025-01-24 22:04:46 +00:00
Ryan Dick
f60a5a5015
Update SegmentAnythingInvocation invocations to return masks with a channel dimension of size 1. This is the convention used by other nodes that produce a MaskOutput.
2025-01-24 22:04:10 +00:00