a6c94002a7
Register AnimateDiffModel and AnimateDiffInfo on DinkLink
Jedrzej Kosinski2024-11-29 22:37:02 -06:00
28b841f083
Fixed special model features not being changed to use attachment from refactored MotionModelPatchers
Jedrzej Kosinski2024-11-29 02:04:40 -06:00
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
Jedrzej Kosinski2024-11-29 01:33:49 -06:00
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
Jedrzej Kosinski2024-11-28 13:52:02 -06:00
0a2d1291c9
Refactored MotionModelPatcher into MotionModelAttachment so that no custom ModelPatcher model is required; no more mismatches between ComfyUI and ADE ModelPatcher features. Also made Scale Ref Image and VAE Encode node use batched vae encoding
Jedrzej Kosinski2024-11-27 23:31:55 -06:00
32a06f1e15
Match changes in ComfyUI PR that remove opt_ prefix on optional comfy.hook function params
Jedrzej Kosinski2024-11-21 15:50:47 -06:00
066bb23b43
Clean up perform_image_injection, as backwards compatible code no longer needed
Jedrzej Kosinski2024-11-17 09:01:40 -06:00
054418df0e
Replace apply_model_factory with special_model_apply_model_wrapper that uses built-in ComfyUI wrapper for apply_model
Jedrzej Kosinski2024-11-17 08:59:41 -06:00
844b4e4488
Make diffusion_model_groupnormed hack use built-in diffusion_model wrapper instead to fix weird issue with ContextRef + ImageInjection
Jedrzej Kosinski2024-11-17 08:35:45 -06:00
68ccced6f7
Added support for hooks from CLIP to be applied to resulting conds to respect ComfyUI expected behavior
Jedrzej Kosinski2024-11-16 17:38:43 -06:00
d70fd110b8
Modified comfy.hooks calls to match ComfyUI changes
Jedrzej Kosinski2024-11-16 16:40:49 -06:00
f64d67466f
Add proper parent reference to MotionModelPatcher.clone() to work properly with new memory management
Jedrzej Kosinski2024-11-14 21:59:58 -06:00
48079783a2
Use DinkLink to get ACN wrapper for ContextRef and ControlNet conversion purposes
Jedrzej Kosinski2024-11-14 12:10:26 -06:00
815eede845
Make context_extras an optional param on Set Context Extras node
Jedrzej Kosinski2024-11-14 03:05:37 -06:00
f2f9c90449
Added support for HelloMeme AnimateDiff model loading via simple key conversion
Jedrzej Kosinski2024-11-12 16:13:47 -06:00
c088d80a98
Made Prompt Scheduling work with schedule_clip, fixed progress bar advancing too quick
Jedrzej Kosinski2024-11-12 13:58:20 -06:00
006ac043ef
Commented out NoiseCalibration and FancyVideo from user's view so can be safely merged into main, will need to get working properly later
Jedrzej Kosinski2024-11-12 09:55:42 -06:00
31955647a1
Moved autosize param from optional to hidden for all nodes
Jedrzej Kosinski2024-11-12 09:48:28 -06:00
bac7a818bb
Deprecated most of nodes_conditioning nodes since they exist in vanilla ComgyUI
Jedrzej Kosinski2024-11-12 09:28:49 -06:00
f32a382238
Refactored nodes_conditioning.py to use new built-in ComfyUI hook features (will deprecate almost all these nodes soon after testing)
Jedrzej Kosinski2024-11-12 09:06:48 -06:00
0fb102e4c0
Modified FunctionInjectionHolder to work more smoothily with new ComfyUI memory management system
Jedrzej Kosinski2024-11-11 07:30:05 -06:00
959fd3fd45
Match changes in patch_hooks_improved_memory ComfyUI branch
Jedrzej Kosinski2024-11-02 22:21:45 -05:00
3e93f152b0
Removed no longer needed code from sampling.py, removed ContextRefInjector as upcoming ComfyUI/ACN changes will make its use obsolete
Jedrzej Kosinski2024-10-08 17:48:47 -05:00
1698f9f4aa
Fixed device mismatch issue in perform_image_injection (Image Injection) code after code refactor
Jedrzej Kosinski2024-10-07 11:00:24 -05:00
b960317e42
Refactored outer_sample_wrapper to work with my changes in in-progress ComfyUI branch
Kosinkadink2024-09-27 12:15:47 +09:00
10e6b0bbae
Made Visualize Context Options nodes work after the refactor
Kosinkadink2024-09-24 21:49:35 +09:00
8c3c948a2c
Updated gen1 nodes and deprecated nodes to use new ModelPatcher system properly
Kosinkadink2024-09-24 16:03:38 +09:00
f003299708
Adapted sliding_calc_cond_batch and forward_timestep_embed to use new ModelPatcher wrappers/patches, removed no-longer used code, removed model_name from InjectionParams
Kosinkadink2024-09-24 14:05:46 +09:00
15f9dd5b34
Allow for autosize to be specified as hidden input
Austin Mroz2024-09-22 04:03:19 -05:00
a1b03d6851
Ported Gen1 nodes to use upcoming ComfyUI features, refactored some code to match ComfyUI changes
Kosinkadink2024-09-22 16:38:57 +09:00
3e3d29729f
Fixed FreeInit for new implementation
Kosinkadink2024-09-21 21:48:24 +09:00
e6a9638cef
Started porting over code to use upcoming ModelPatcher features in ComfyUI to get rid of a bunch of hacky code (and to enable hookable patches)
Kosinkadink2024-09-21 16:33:05 +09:00
9bfb5a8c9b
Fix print_schedule throwing error in cases where prompt schedule is extending prompts after the last provided index
Kosinkadink2024-09-19 07:50:17 +09:00
a77460cfaf
Updated emb_patch, some upgrades for ModelSamplingConfig
Jedrzej Kosinski2024-09-07 03:06:53 -05:00
6a1d498ce0
Started work on NoiseCalibration implementation (pain)
Jedrzej Kosinski2024-09-01 12:34:07 -05:00
0837d2b197
Adjust ADEAUTOSIZE since after description feature was added, it works differently and most adjustments are no longer necessary (and their presence makes the nodes too wide)
Jedrzej Kosinski2024-09-01 09:31:53 -05:00
09a0830a93
Fixed Prompt Scheduling node (no latents version) from not working due to missing comma
Jedrzej Kosinski2024-08-28 04:42:12 -05:00
ae7ae379cd
In Create Raw Sigma Schedule, renamed lcm_zsnr to zsnr and changed logic to allow applying zsnr for non-lcm
Jedrzej Kosinski2024-08-23 04:43:47 -05:00
ff07c13452
Refactored patching code to work with latest ComfyUI - NOT backwards compatible with previous ComfyUI versions, sadly
Jedrzej Kosinski2024-08-20 01:26:47 -05:00
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
Jedrzej Kosinski2024-08-18 23:03:57 -05:00
fb904a326c
Merge PR #455 from Kosinkadink/develop - Per-Block Effect/Scale control
Jedrzej Kosinski2024-08-16 09:18:56 -05:00
8c76a9ccf4
Added per_block input to Apply AnimateDiff+CameraCtrl Model
Jedrzej Kosinski2024-08-16 09:18:02 -05:00
7eeed536d1
Fixed scale_masks param being None with CameraCtrl
Jedrzej Kosinski2024-08-16 09:12:12 -05:00
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
Jedrzej Kosinski2024-08-16 03:40:33 -05:00
f2376ebe9b
Rollback moving of scale_mask and cameractrl_effect, refactor so that set_scale replaces set_scale_multiplier and set_scale_mask where applicable
Jedrzej Kosinski2024-08-15 23:44:12 -05:00
2a520db00c
Moved scale_mask and cameractrl_effec to TemporalTransformerBlock
Jedrzej Kosinski2024-08-15 23:01:56 -05:00
e34c410ceb
Preparing for Per-Block Effect/Scale, fixed cameractrl_effect using raw_scale_mask instead of instead of raw_cameractrl_effect
Jedrzej Kosinski2024-08-15 22:36:31 -05:00