Nodes/AnimateDiff Evolved/Adjust Weight [Allβ—†Add] πŸŽ­πŸ…πŸ…“
ComfyUI Node Runs on cloud

Adjust Weight [Allβ—†Add] πŸŽ­πŸ…πŸ…“

A flat offset dial for the motion module's weights

By KosinkadinkΒ·Created 3 years agoΒ·Updated 8 days agoΒ· 3,520
Adjust Weight [Allβ—†Add] πŸŽ­πŸ…πŸ…“
  • prev_weight_adjust
  • WEIGHT_ADJUST
β—„all_ADD0.0000β–Ί
β—„print_adjustmentfalseβ–Ί

Displayed as Adjust Weight [Allβ—†Add], this is the simplest of the pack's weight-adjustment nodes: it adds a single flat number to every weight in the motion module, uniformly, across the board. "All" means every weight gets the same treatment; "Add" means it's addition, not multiplication or scaling.

This isn't the node you reach for to fix "motion is too weak or too strong" - that's scale_multival on an Apply node, which works at sampling time and is far easier to reason about. This node changes the module's actual weights before anything runs, which is a blunter and less predictable kind of adjustment. It exists for the deep-tuning end of the pack, alongside other weight-adjust nodes not covered here that presumably target specific weight subsets rather than everything.

How it works

You feed this node's output into ADE_AnimateDiffSettings' weight_adjust input, which in turn feeds a loader's ad_settings input. Before the motion module is applied to your model, every one of its weights gets all_ADD added to it. Because motion modules are trained weights with a specific learned distribution, adding a constant offset to all of them is a fairly crude intervention - small values might shift overall motion character subtly, larger values are more likely to just break the module's learned behavior than improve anything.

The inputs and outputs that matter

Required: all_ADD (float, range βˆ’2 to 2, step 0.000001 - that tiny step size is a strong hint you're meant to use small values, not push toward the extremes) and print_adjustment (boolean, default false - turn it on to get the adjustment logged to console, useful for confirming the node is actually doing something before you commit to a full render).

Optional: prev_weight_adjust, letting you chain multiple weight-adjust nodes together if the pack has others targeting different weight subsets. Output is WEIGHT_ADJUST, which only fits ADE_AnimateDiffSettings' weight_adjust input.

How to install it

Standard for the pack - ComfyUI Manager, search AnimateDiff Evolved by Kosinkadink, or:

cd ComfyUI/custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved

No model download tied to this node specifically - it modifies whatever motion module you've already got loaded elsewhere in the graph.

Common issues & troubleshooting

Wired it in and nothing seems different. Enable print_adjustment first to confirm the node is actually running and see what value it's applying - that isolates whether the problem is this node not being wired correctly versus the effect just being too subtle to notice at your current all_ADD value.

Pushed all_ADD to the extremes and output got worse, not better. That tracks with how blunt this adjustment is - a flat additive offset across every weight in a trained module tends to degrade coherence rather than improve it once you're far from zero. If you're trying to tune motion strength, scale_multival on the Apply node is almost always the better tool; treat this node as a last-resort experiment, not a primary dial.

There isn't much documented community troubleshooting specific to this node - it's a narrow, advanced corner of the pack that most workflows never need.

CategoryAnimate Diff πŸŽ­πŸ…πŸ…“/ad settings/weight adjust

Inputs (3)

NameTypeDefaultDescription
all_ADDFLOAT0.0000-2–2β€”
print_adjustmentBOOLEANfalseβ€”
prev_weight_adjustoptWEIGHT_ADJUSTβ€”

Outputs (1)

NameTypeDescription
WEIGHT_ADJUSTWEIGHT_ADJUSTβ€”