0da13ac0e2
Updated the remaining context= controlnet code to use comfy.model_management.cast_to_device calls
Jedrzej Kosinski2025-08-05 13:43:52 -07:00
f980ae7c7b
Apply fix for ControlNet conditioning to match changes from ComfyUI 140ffc7fdc53e810030f060e421c1f528c2d2ab9
German Chaverri2025-08-05 11:00:08 -06:00
7fbcf03843
Values related to ad_params now obtained through transformer_options in get_control_inject, no longer requiring ADE to manually set them
Jedrzej Kosinski2025-01-29 09:16:39 -06:00
ab6526fa35
Fixed backwards compatibility for new KF scheduling behavior, changes "sigmas" to "sample_sigmas" to match incoming ComfyUI PR
Jedrzej Kosinski2025-01-05 15:32:51 -06:00
52b2751025
Increment ACN DinkLink version due to need for transformer_options in prepare_current_timestep function
Jedrzej Kosinski2025-01-04 00:36:21 -06:00
3ad082b691
Refactored SparseCtrlAdvanced to not save a reference to the actual ModelPatcher, just in case it's messing with memory management
Jedrzej Kosinski2024-12-01 20:35:32 -06:00
4618d8006f
Just in case make sure cleanup is called on motion model for SparseCtrl
Jedrzej Kosinski2024-12-01 20:06:38 -06:00
37b318debc
Refacotr SparseCtrl to depend on AnimateDiff-Evolved for AnimateDiffModel definition/creation; allows for code to not be duplicated and any feature that works for AD can be resued/exposed for SparseCtrl
Jedrzej Kosinski2024-12-01 19:46:47 -06:00
e5f7f5a281
Refactored DinkLink acn wrapper registration to not cause circular import
Jedrzej Kosinski2024-11-29 22:40:20 -06:00
c59f99efbc
Add ControlNetSD35Advanced, port over changes from vanilla ControlNet to ControlNetAdvanced to support ControlNetSD35
Jedrzej Kosinski2024-11-27 00:52:52 -06:00
dc91f47aed
Add middle_mult extra via Middle Weight Extras node
Jedrzej Kosinski2024-11-26 20:21:53 -06:00
8db35a7963
Clean up TimestepKeyframeGroup cloning so it does not keep on adding a useless default keyframe to clone each time it's called
Jedrzej Kosinski2024-11-26 19:05:51 -06:00
d255167dca
Fixed soft/custom weights not affecting flux by disabling applied_to optimization when needed, fixed missing transformer_options input into default_control_actions
Jedrzej Kosinski2024-11-26 00:02:42 -06:00
999763ce69
Add real_compression_ratio so can be adjusted to properly check for expected cond_hint size
Jedrzej Kosinski2024-11-25 21:52:51 -06:00
72f0e6dbac
Add initial CtrLoRA support, fix issue with vae not being set, add a way to disable multiplying compression_ratio by vae.downscale_ratio when not needed
Jedrzej Kosinski2024-11-25 20:33:53 -06:00
df899e8b7e
Make forward_inject_UNetModel a built-in diffusion_model wrapper instead to fix weird issue with ContextRef + ImageInjection
Jedrzej Kosinski2024-11-17 08:35:48 -06:00
a2430fb880
Add clarifying comment so I don't accidentally cause regression in the future with new memory management system
Jedrzej Kosinski2024-11-14 20:02:51 -06:00
285f41c809
Cleaned up some commented out code from control_lllite.py file
Jedrzej Kosinski2024-11-14 15:20:48 -06:00
326b26ed95
Simplified ControlLLLite implementation, since transformer_options are passed into get_control with ComfyUI rework
Jedrzej Kosinski2024-11-14 12:10:28 -06:00
b9c53b79c9
Fix from_vanilla call for ControlNetAdvanced so it does not break ComfyUI memory management system; parent model patcher has to be tracked properly now
Jedrzej Kosinski2024-11-14 11:49:56 -06:00
7f84e973d6
Converted sampler_sample_wrapper to a outer_sample_wrapper so that controlnet prerun can be ran properly
Jedrzej Kosinski2024-11-14 10:53:59 -06:00
52f8220260
Started to replace anc_sample_factory with acn_sampler_sample_wrapper WrapperHook, ReferenceCN now can respect individual conds
Jedrzej Kosinski2024-11-14 08:12:54 -06:00
820a591687
Replaced base Load Advanced ControlNet Model nodes with ones with cnet instead of control_net_name to leave more room for CN name
Jedrzej Kosinski2024-11-14 04:57:12 -06:00
828c270a85
Moved autosize to hidden props instead of optional to make use of AustinMroz's revised js, fixed outdated autosize values
Jedrzej Kosinski2024-11-14 04:13:38 -06:00
1d14382944
Updated Aoply Advanced ControlNet nodes to remove long unnecessaru model_optional fields, shifted some of the nodes.py code around to separate files to make deprecation cleaner
Jedrzej Kosinski2024-11-14 04:04:21 -06:00
3120c14e0a
Added checks for None control_net to produce more helpful error messages for users
Jedrzej Kosinski2024-11-14 03:48:42 -06:00
f42c902fd4
Fixed checks for special preprocessor input (ReferenceCN and RGB SparseCtrl), continued work on DinkLink
Jedrzej Kosinski2024-11-14 03:42:29 -06:00
74320a78e3
Replaced SparseModelPatcher with native ModelPatcher and callbacks
Jedrzej Kosinski2024-11-12 18:14:21 -06:00