95e26b9b79
Made code work with new ComfyUI changes (device var removed from ControlBase)
Jedrzej Kosinski2024-10-23 21:57:39 -05:00
7d25e4bafb
Ported ContextRef adain support to work with uuids, reorganized the ContextRef-related code in BankStyle classes
Jedrzej Kosinski2024-10-11 09:43:06 -05:00
37a3b26986
Progress on using uuids of conds instead of depending on execution order for ContextRef
Jedrzej Kosinski2024-10-08 16:43:27 -05:00
f778bb2a70
Modified code to accept transformer_options to match ComfyUI's get_control change and removed need to a terribly ugly hack that was required before to get the cond_or_uncond; now can just be gotten from transformer_options
Kosinkadink2024-09-25 20:50:20 +09:00
786f9dd27f
Applied changes to context_ref support code to work with upcoming ComfyUI ModelPatcher changes/ADE
Kosinkadink2024-09-24 16:05:56 +09:00
74d0c56ab3
Merge PR #170 from Kosinkadink/develop - fix fp8 support for SparseCtrl
Jedrzej Kosinski2024-08-30 08:35:40 -05:00
ce72ce674f
Add single cond version of Apply Advanced ControlNet node
Jedrzej Kosinski2024-08-30 05:04:17 -05:00
a9e9ec7b92
Fix inconsistent variable name causing reference before assignment error
Jedrzej Kosinski2024-08-30 03:28:01 -05:00
d3ceadbaba
Attempted to add masking support for flux controlnet (not working yet, but logic is partway there
Jedrzej Kosinski2024-08-29 09:57:23 -05:00
49609d318f
Refactored cn weights to separate out input, middle, and output blocks, improved soft weight behavior to generalize math to be architecture agnostic (for the most part)
Jedrzej Kosinski2024-08-24 07:31:26 -05:00
1807cd64e4
Updated ControlNetAdvanced to work with Flux controlnet, beginning of rework of weights
Jedrzej Kosinski2024-08-24 00:43:21 -05:00
45e56c3003
Fixed the "doesn't match the broadcast shape" issue in ControlNet++ (Multi) when there are two or more Inputs due to insufficient memory
zhiselfly2024-08-23 21:41:11 +08:00
1b3cb5f48c
Merge PR #163 from Kosinkadink/develop - SparseCtrl lowvram fix for newest ComfyUI
Jedrzej Kosinski2024-08-20 05:14:24 -05:00
2303845a02
Added a value for future ContextRef version compatibility checks
Jedrzej Kosinski2024-08-08 02:50:04 -05:00
800af8f69f
Added support for ContextRef mode_replace and tune_replace, fixed orig_forware_timestep_embed not being properly restored for ContextRef adain, ReferenceCN options are schedulable in the backed (no nodes added yet)
Jedrzej Kosinski2024-08-07 02:40:36 -05:00
6b77eab348
Renamed Interpolation to Interp. in node names to let the nodes be visually smaller
Jedrzej Kosinski2024-08-06 20:06:21 -05:00
47d0115912
Remove current_device from ModelPatcher init to match latest ComfyUI, fix pyproject.tomp license field
Jedrzej Kosinski2024-08-06 17:28:56 -05:00
d4a0a11347
Added keyframe support for ContextRef, small changes to timestep keyframe code, initial ContextRef version check
Jedrzej Kosinski2024-08-06 05:28:06 -05:00
15308a39f3
Added offloading for stored cached_n value to avoid OOMs when a lot of conds are present + higher resolutions
Jedrzej Kosinski2024-08-04 22:35:46 -05:00
17b70c421a
Add additional type check in len wrapper hack to prevent issues with Tensors in list
Jedrzej Kosinski2024-08-04 21:08:43 -05:00
c4aa684cb3
Fixed TimestepKeyframes being evaluated each time get_control is run instead of just once per step (technically could change results of some workflows, but now works as intended)
Jedrzej Kosinski2024-08-04 16:23:45 -05:00
2af647de56
Added adain support for ContextRef, fixed ref_weight less than 1.0 index error
Jedrzej Kosinski2024-08-02 17:04:22 -05:00
f25e35f1fe
Fixed READ_WRITE state for ContextRef behaving like READ state instead
Jedrzej Kosinski2024-07-31 21:04:52 -05:00
f1916a4a0b
Added ability to READ and WRITE ContextRef in one go, for the purposes of adding a sliding reference window
Jedrzej Kosinski2024-07-31 06:32:21 -05:00
413c95edcc
Modified ControlRef to keep track of one cond at a time - ensured by AnimateDiff-Evolved
Jedrzej Kosinski2024-07-28 19:11:23 -05:00
cdabf60fca
Automatic conversion of vanilla ControlNets to Advanced-ControlNet equivalents when context_options are detected, extracting refcn's sample wrapper to its own function, refactoring of ControlLLLite code to work without a model_optional input
Jedrzej Kosinski2024-07-19 18:17:24 -05:00
82a5735596
Added autosize param to some nodes, renamed timestep_keyframe to tk_optional on Load Advanced ControlNet nodes
Jedrzej Kosinski2024-07-15 21:37:03 -05:00
fa48109769
Support 'none' type in Load ControlNet++ Model (Single) node to reproduce vanilla ComfyUI results (no type is assigned), more cleanup
Jedrzej Kosinski2024-07-15 02:42:11 -05:00
c11df190ad
ControlNet++ ProMax support, added Load ControlNet++ Model (Single) node in cases where multi-support is not needed, removed requirements.txt singe it was empty since the day ACN was created
Jedrzej Kosinski2024-07-15 00:31:27 -05:00
3572107bda
Previous progress on using vanilla ComfyUI controlnet support
Jedrzej Kosinski2024-07-14 22:44:12 -05:00
55da9bb2d1
Initial progress on initial support of ControlNet++ model
Jedrzej Kosinski2024-07-08 20:09:20 -05:00
96d957e9ec
Fixed get_calc_pow to work the same as before (only current difference would be with SDXL T2IAdapter models with custom/soft weights), automatically resize T2IAdapter control tensors to match batch_size to make my life easier
Jedrzej Kosinski2024-06-27 17:43:21 -05:00
4646bb3a2b
Reverse T2IAdapter weights to account for ComfyUI changes (means SDXL T2IAdapter softweights have breaking changes due to extra middle weight)
Jedrzej Kosinski2024-06-27 13:51:18 -05:00
bc528228c7
Make 1 mask input work with T2IAdapter (some ComfyUI optimization caused feature regression at some point)
Jedrzej Kosinski2024-06-27 12:46:06 -05:00
59e7d1a7af
Make require_vae something for me to work on in the future for SparseCtrl and ReferenceCN
Jedrzej Kosinski2024-06-27 12:24:18 -05:00
e800d52acf
Made all controlnets works with upcoming ComfyUI changes, started work on making latent preprocs obsolete, still need to make control weights apply the same way as before
Jedrzej Kosinski2024-06-27 05:03:10 -05:00
e6085cc111
Change what I previously called latent_format to model_latent_format to avoid conflicts with upcoming ComfyUI changes
Jedrzej Kosinski2024-06-27 00:46:55 -05:00
2c1e9f6cdd
Add workaround for outdated Steerable-Motion workflows to not throw errors (for my own peace of mind)
Jedrzej Kosinski2024-06-13 07:54:03 -05:00
576426a734
Renamed extras to cn_extras to differentiate from potential extras on AnimateDiff in the future (which would be called ad_extras there)
Jedrzej Kosinski2024-05-29 01:37:56 -05:00
949e1acf7e
Turned context_aware into a dropdown in case I add other context_aware types in future, renamed sparse_mask_strength to sparse_mask_mult
Jedrzej Kosinski2024-05-29 01:23:21 -05:00
5ef18991ee
Refactored SparseMethod code to have a common get_indexes func, with _get_indexes the one that is abstract
Jedrzej Kosinski2024-05-29 01:00:54 -05:00