Register Model as LoRA Hook ππ π
Hooking an entire checkpoint in as if it were a LoRA
- model
- clip
- MODEL
- CLIP
- HOOKS
The README's own line for this pack's LoRA Hooks feature is "Maskable and Schedulable SD LoRA (and Models as LoRA) for both AnimateDiff and StableDiffusion usage via LoRA Hooks." This node is that parenthetical: instead of registering a .safetensors LoRA file as a hook, you register an entire checkpoint, and its weight difference gets applied the way a LoRA's would - gated behind the same masking and scheduling machinery as ADE_RegisterLoraHook.
What it's for
Use it when you want a second checkpoint's stylistic influence available as a hookable, schedulable effect, rather than swapping checkpoints outright or baking a full merge ahead of time. Because it plugs into the same HOOKS system as a file-based LoRA hook, that influence can be masked to a region, scheduled to only affect part of the timeline, or attached to specific conditioning - all the flexibility the pack gives regular LoRA hooks, applied to a whole checkpoint instead of a small file.
Worth knowing going in: this is a heavier operation than registering a LoRA file. Computing a hookable difference against a full checkpoint means loading that checkpoint's entire weight set, not a few megabytes of LoRA delta - expect it to take longer to build the graph and use meaningfully more memory than the plain ADE_RegisterLoraHook.
Inputs and outputs
Required: model and clip (your base model/clip, same as any LoRA loader), ckpt_name (a dropdown of your checkpoint files - this is the model being hooked in), strength_model and strength_clip (both default 1, range β20 to 20).
Three outputs: MODEL and CLIP - the hooked versions (route your unhooked base model/clip to anything that shouldn't carry this effect) - and HOOKS, the real payoff, feeding into an attach node like ADE_AttachLoraHookToCLIP or ADE_AttachLoraHookToConditioning to actually gate where the effect fires.
How to install it
ComfyUI Manager: search AnimateDiff Evolved, confirm the author is Kosinkadink, install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
You need the checkpoint you're hooking in already present in your normal checkpoints folder, same as any checkpoint loader. No AnimateDiff-specific download tied to this node itself.
Common issues & troubleshooting
ckpt_name dropdown doesn't show your file. Check it landed in the standard checkpoints folder and restart ComfyUI rather than refreshing the browser - dropdowns built from disk scans don't hot-reload.
Noticeably slower to build the graph, or higher VRAM/RAM use than expected. Expected - this loads a full second checkpoint's worth of weights to compute the hook, unlike a LoRA file that's a small fraction of that size.
Effect looks like a full checkpoint swap rather than a subtle influence. At strength_model/strength_clip of 1.0, this can be a very strong effect - you're hooking in an entire model's worth of weight difference, not a small LoRA's. Try well below 1.0 first and work upward rather than starting at full strength.
HOOKS output does nothing on its own. Correct - it's inert until it reaches an attach node (ADE_AttachLoraHookToCLIP/ADE_AttachLoraHookToConditioning) downstream. This node is only the registration step.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | β | |
| clip | CLIP | β | |
| ckpt_name | COMBO | 0 options: | |
| strength_model | FLOAT | 1.00-20β20 | β |
| strength_clip | FLOAT | 1.00-20β20 | β |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | β |
| CLIP | CLIP | β |
| HOOKS | HOOKS | β |