b2d8a07696
Made ksampler_get_injections use sigmas consistent with custom_ksampler_get_injections
Jedrzej Kosinski2024-06-17 02:17:01 -05:00
3153f92519
Multival Scaled Mask node now accepts lists of floats for min_float_val and max_float_val, fixed Multival Dynamic throwing error if float_val list length less than mask length, simplified linear_conversion function
Jedrzej Kosinski2024-06-17 01:13:47 -05:00
af2e29e33e
Moved/renamed resize_source from Image Injection Options to resize_image on Image Injection node
Jedrzej Kosinski2024-06-16 05:13:42 -05:00
706a98ddee
Move groupnorm injection as wrapper around diffusion_model.forward function to minimize 'leaking' of groupnorm hack, remove no longer necessary mentions of groupnorm uninjector
Jedrzej Kosinski2024-06-16 04:44:35 -05:00
f26f78e6e2
Added Multival to Mask node, exposed Multival Dynamic [Float List] node in case people were unaware the Multival Dynamic node can have float widget converted to input to accept a list of floats
Jedrzej Kosinski2024-06-16 01:49:11 -05:00
bde85b272e
Fixed v1 motion models not working with image injection
Jedrzej Kosinski2024-06-16 01:29:17 -05:00
947626bc0d
First working implementation of Image Injection feature
Jedrzej Kosinski2024-06-15 23:46:58 -05:00
ee1ad61051
Add logger info about PIA vae encoding, use 16 batch size for encoding to potentially avoid issues for some users
Jedrzej Kosinski2024-06-10 23:21:52 -05:00
0253cbc205
Refactored code to no longer cache pia conv_in, hopefully fixing all existing PIA issues
Jedrzej Kosinski2024-06-08 22:33:04 -05:00
c65a40ad8f
Fix LoRA Hook Keyfrmae Interpolation node only doing linear interpolation of percents - otherwise, percents don't get scaled as expected if non-linear interpolation selected
Jedrzej Kosinski2024-05-14 03:49:54 -05:00
b693c68173
Merge PR #369 from Kosinkadink/develop - fix lora scheduling when used without masking
Jedrzej Kosinski2024-05-08 16:25:33 -05:00
c711dc1e7a
Fixed lora scheduling not working as intended if no lora masking is used
Jedrzej Kosinski2024-05-08 16:19:27 -05:00
c6d63009ca
Make position_batched GLIGEN account for too few position_params_batch
Jedrzej Kosinski2024-05-01 14:22:17 -05:00
e233e4d397
Added position_batched gligen_type to support both vanilla gligen positions and special per-frame gligen positions
Jedrzej Kosinski2024-05-01 12:49:56 -05:00
4aee1498cf
Merge PR #330 from Kosinkadink/develop - SD LoRA masking and scheduling
Jedrzej Kosinski2024-04-30 09:18:35 -05:00
0a7ebbf7bd
Made all Combine LoRA Hook nodes act as a passthrough if only one hook provided instead of throwing an error
Jedrzej Kosinski2024-04-30 08:55:26 -05:00
fccdb43ea7
Add sampler_post_cfg_function support for lora hooks
Jedrzej Kosinski2024-04-30 02:18:03 -05:00
5da9bfda92
Register Model as LoRA Hook (with clip, not the Model Only version) now works properly thanks to the previous refactor of Model as LoRA Hook code
Jedrzej Kosinski2024-04-28 11:56:42 -05:00
78880ad398
Fixed Model as Hooked LoRA from allowing model_sampling keys to be patches
Jedrzej Kosinski2024-04-28 11:08:29 -05:00
33d8a98d77
Refactored Registered Model As LoRA Hook to work as a normal lora via weight diff instead of hooked_replace, completely removed hooked_replace code
Jedrzej Kosinski2024-04-28 10:43:01 -05:00
b1893ca36c
Fixed default_conds behavior at CFG=1.0, start of LoRA scheduling work
Jedrzej Kosinski2024-04-28 06:09:28 -05:00
005d49a0b2
Moved LoraHook stuff into conditioning.py from utilts_motion.py
Jedrzej Kosinski2024-04-28 05:06:15 -05:00
df81a94c84
More cleanup, prepared scaffolding for tracking which modules use lowvram weight_function and bias_function
Jedrzej Kosinski2024-04-27 18:23:02 -05:00
2b6c1bf475
Added support for Timesteps Conditioning, masks are now optional (so the other parts of the nodes can be used without masks), renaming and reorganizing nodes
Jedrzej Kosinski2024-04-26 10:27:10 -05:00
eaf58bc460
Fixed sliding context - accidentally indented the combining code when refactored sliding_calc_conds_batch, making the function return immediately after the first context is sampled
Jedrzej Kosinski2024-04-26 07:41:43 -05:00
44a097d803
Added masked conditioning nodes to make masking/combining/applying hooks much easier, including Set Unmasked Conds with supporting code that makes specific conds apply to the areas where no masks were applied automatically
Jedrzej Kosinski2024-04-25 19:08:11 -05:00
89b33022b6
Refactored sampling code to fully mirror calc_conds_batch, fixed only the top layer (last) Control object being checked if it is compatible with sliding context
Jedrzej Kosinski2024-04-24 07:12:30 -05:00
c3f61c6790
Merge PR #357 from Kosinkadink/pag_support - PerturbedAttentionGuidance support w/ context
Jedrzej Kosinski2024-04-23 06:34:27 -05:00
adb296bb81
Added sliding context support for cfg_function so that PerturbedAttentionGuidance works as expected
Jedrzej Kosinski2024-04-23 06:22:14 -05:00
fa08393388
Fixed git merging mistake that happened at some point
Jedrzej Kosinski2024-04-23 03:03:33 -05:00
6ca21f2bb6
Added fallback mechanism for attention to work around pytorch's CUDA compiled limit for scaled_dot_product_attention
Jedrzej Kosinski2024-04-23 02:22:10 -05:00
078db70d7e
Added node to control original_pose_width/height. In original implementation, this was supposed to match up to the source video used to extract features, not sure what should be used for artificially-generated coordinates. Future me's problem.
Jedrzej Kosinski2024-04-22 13:47:31 -05:00
eb8e7c0b7a
Reworked nodes_cameractrl.py to use CAMERACTRL_POSES inputs and outputs for everything
Jedrzej Kosinski2024-04-22 10:51:07 -05:00
a97a4e2e4e
Use internal view_options for CameraPoseEncoder to overcome 16 max context_length, made rearrange_hidden_shapes irrelevant by figuring out the proper rearrange inside CameraPoseEncoder's forward
Jedrzej Kosinski2024-04-21 06:54:59 -05:00
078465a98e
Added AnimateDiff+CameraCtrl Keyframe node to allow scheduling of cameractrl_multival in addition to the normal AD multivals, moved pose nodes into submenu in CameraCtrl
Jedrzej Kosinski2024-04-21 05:09:56 -05:00
9d2d4e747b
Got CameraCtrl working, fixed weird edge case causing AD device mismatches after switching models + prompts
Jedrzej Kosinski2024-04-19 13:13:33 -05:00
45493cf8a9
Almost got CameraCtrl working, just need to compare with running diffusers impl side by side now to debug
Jedrzej Kosinski2024-04-08 19:01:19 -05:00