69 Commits
Author SHA1 Message Date
Jedrzej Kosinski 599b71807d Added overlap-linear fuse method, marked some fuse methods as experimental to make the dropdown less overwhelming, made sigma-related fuse methods work with View Options 2025-03-08 23:36:52 -06:00
Jedrzej Kosinski 99525ac852 Refactored sliding_calc_cond_batch to extract prepare_control_objects/get_resized_cond as well as ContextRef implementation 2025-01-26 06:57:49 -06:00
Jedrzej Kosinski 93cafde180 Got MotionCtrl's camere control working, fixed frame_length affecting CameraCtrl Pose speed; still need to fix CameraCtrl Poses not adding to each other as expected 2024-12-29 14:42:54 -06:00
Jedrzej Kosinski faa5ec365a More MotionCtrl progress, added per_block_replace to AnimateDiff Keyframe, small refactoring to make this possible, fully deprecated AnimateDiff Loader [Legacy] node 2024-12-28 12:57:19 -06:00
Jedrzej Kosinski 1431497ff8 Progress on MotionCtrl support, fixed PIA nodes autosize not being stored in hidden 2024-12-27 17:52:30 -06:00
Jedrzej Kosinski 852fe3fc81 Add create_MotionModelPatcher to DinkLink, make eject function check if blocks variables are actually defined 2024-12-01 19:43:44 -06:00
Jedrzej Kosinski 95cfd12a81 Generalized AnimateDiffModel initialization so mm_state_dict can be used to determine if down/up blocks should be present and the attention block count, added init_kwargs input to AnimateDiffModel so some behavior can be adapted by unusual models 2024-11-29 01:33:49 -06:00
Jedrzej Kosinski 5ee8cf677e Pass transformer_options into VanillaTemporalModule and all subsequent layers, as well as mm_kwargs were applicable, so that behavior can be more easily extended in the future, both from ADE code and other node packs 2024-11-28 13:52:02 -06:00
Jedrzej Kosinski f2f9c90449 Added support for HelloMeme AnimateDiff model loading via simple key conversion 2024-11-12 16:13:47 -06:00
Jedrzej Kosinski a77460cfaf Updated emb_patch, some upgrades for ModelSamplingConfig 2024-09-07 03:06:53 -05:00
Jedrzej Kosinski 1a9d70ee4c Progress on FancyVideo support 2024-09-03 15:37:14 -05:00
Jedrzej Kosinski 32c352e20e Initial scaffolding for supporting FancyVideo, refactored load_motion_module code to manually parse load_state_dict load_result 2024-08-21 20:29:54 -05:00
Jedrzej Kosinski 6eb3f2ccb9 Fix regression after latest ADE update with float list/tensor scale multival due to forgetting to replace self.sub_idxs = subidxs when exploring if scale_mask creation should be moved down a layer 2024-08-18 23:03:57 -05:00
Jedrzej Kosinski 7eeed536d1 Fixed scale_masks param being None with CameraCtrl 2024-08-16 09:12:12 -05:00
Jedrzej Kosinski 541ece5915 cleanup conflicting type import 2024-08-16 08:42:43 -05:00
Jedrzej Kosinski 3a380d0a18 Added scale support to Per Block nodes 2024-08-16 08:35:40 -05:00
Jedrzej Kosinski 1a87cefb18 Initial Per-Block implementation - only effect works currently, still need to implement scale, fixed some Apply node sizes due to .js changes with documentation 2024-08-16 03:40:33 -05:00
Jedrzej Kosinski f2376ebe9b Rollback moving of scale_mask and cameractrl_effect, refactor so that set_scale replaces set_scale_multiplier and set_scale_mask where applicable 2024-08-15 23:44:12 -05:00
Jedrzej Kosinski 2a520db00c Moved scale_mask and cameractrl_effec to TemporalTransformerBlock 2024-08-15 23:01:56 -05:00
Jedrzej Kosinski e34c410ceb Preparing for Per-Block Effect/Scale, fixed cameractrl_effect using raw_scale_mask instead of instead of raw_cameractrl_effect 2024-08-15 22:36:31 -05:00
Jedrzej Kosinski 7d36d7176c start of work on context visualization, custom cfg simple variants 2024-07-09 12:44:27 -05:00
Jedrzej Kosinski 05550a52b8 Commented out debug code 2024-06-13 00:10:18 -05:00
Jedrzej Kosinski 0253cbc205 Refactored code to no longer cache pia conv_in, hopefully fixing all existing PIA issues 2024-06-08 22:33:04 -05:00
Jedrzej Kosinski 4a0e73efbc Actual fix for newest PIA issue 2024-06-08 11:45:21 -05:00
Jedrzej Kosinski 0b6cd320b8 Another attempt to fix rare issue with PIA injection 2024-06-08 11:37:00 -05:00
Jedrzej Kosinski 3863ec9dd2 Refactored groupnorm hack activation code to be less confusing 2024-06-08 02:48:08 -05:00
Jedrzej Kosinski 6ea41ba6cc Added initial PIA support 2024-06-07 09:24:14 -05:00
Jedrzej Kosinski 6ca21f2bb6 Added fallback mechanism for attention to work around pytorch's CUDA compiled limit for scaled_dot_product_attention 2024-04-23 02:22:10 -05:00
Jedrzej Kosinski 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 2024-04-21 06:54:59 -05:00
Jedrzej Kosinski 171b1f46fa Added cameractrl_multival to Apply AnimateDiff+CameraCtrl Model nodel 2024-04-21 04:38:52 -05:00
Jedrzej Kosinski 9d2d4e747b Got CameraCtrl working, fixed weird edge case causing AD device mismatches after switching models + prompts 2024-04-19 13:13:33 -05:00
Jedrzej Kosinski 45493cf8a9 Almost got CameraCtrl working, just need to compare with running diffusers impl side by side now to debug 2024-04-08 19:01:19 -05:00
Jedrzej Kosinski 6219ea438d More progress on CameraCtrl 2024-04-06 16:37:46 -05:00
Jedrzej Kosinski 7451bb58fa Progress on CameraCtrl support 2024-04-04 14:51:49 -05:00
Jedrzej Kosinski 14fdb9c6a2 Fixed EncoderOnlyTemporalModule not getting ejected 2024-03-17 15:11:17 -05:00
Jedrzej Kosinski 295e70e076 Fixed bug with ref in AnimateLCM-I2V continued to be used, exposed a proper way of replicating the bug or using just the img_encoder without the motion model, AnimateDiffModel changes to facilitate these features 2024-03-15 19:20:59 -05:00
Jedrzej Kosinski 70ebc0a396 Added initial AnimateLCM-I2V support 2024-03-14 06:54:48 -05:00
Jedrzej Kosinski d56db52d66 Renamed a few long vars, refactoring to support AnimateLCM-I2V model 2024-03-13 14:13:38 -05:00
Jedrzej Kosinski 72b0e04365 relative fuse_method only exposed for Standard Static method, added commented out view options version of relative fuse_method - not working as intended, I'll need to see if it's possible to make it work there later 2024-02-06 17:23:37 -06:00
Jedrzej Kosinski 5540ee6314 Finished adding support for AnimateLCM model, added lcm beta_schedules 2024-02-04 17:35:42 -06:00
Jedrzej Kosinski 3f8202a382 Initial work on supporting AnimateLCM 2024-02-03 14:01:37 -06:00
Jedrzej Kosinski 799b3548df Make sure view options not used when not needed 2024-01-26 22:56:06 -06:00
Jedrzej Kosinski 350d62fefc Added AnimateDiff Settings + Adjust PE nodes 2024-01-23 15:17:19 -06:00
Jedrzej Kosinski a8a8f730af Fixed fp8 support by using comfy.ops 2024-01-18 10:58:40 -06:00
Jedrzej Kosinski 7c14f61438 Fixed 1.0 scale not applying in ADKeyframes, changed guarantee_usage to guarantee_steps 2024-01-17 06:38:54 -06:00
Jedrzej Kosinski 51199d1c28 Beta schedule 'autoselect' is now default (and functional) 2024-01-16 16:57:47 -06:00
Jedrzej Kosinski dcfbee1454 Views, start of Context scheduling, use_on_equal_length for Contexts, 2024-01-13 10:28:59 -06:00
Jedrzej Kosinski eeff72f14b Implemented ADKeyframes 2024-01-07 07:41:57 -06:00
Jedrzej Kosinski 7c427884db Fix sub_idxs not getting reset after context options removed from node 2024-01-05 05:58:01 -06:00
Jedrzej Kosinski 39908c4bc2 More progress on Gen2 - in a functional state now 2024-01-05 04:16:40 -06:00