Nodes/ComfyUI QwenScope/Clear CLIP Steering
ComfyUI Node

Clear CLIP Steering

Clear CLIP Steering — the cleanup node you will eventually need, promise

By Nynxz·Created 4 months ago·Updated 4 months ago· 0
Clear CLIP Steering
  • clip
  • clip
  • info

Clear CLIP Steering does one thing and does it well: it removes every QwenScope steering hook from a CLIP and gives you back a vanilla text encoder. If Steer CLIP is the node that installs hooks, this is the node that uninstalls them - and you will need it sooner than you think.

Here's the gotcha that makes this node essential. Steer CLIP installs forward hooks on the transformer layers inside your CLIP object, and those hooks persist on that object until something removes them. ComfyUI reuses CLIP objects across your graph - the same encoder feeds every CLIPTextEncode in the workflow. If you steer it once and keep generating, every subsequent encode still has the steering active, even in branches that were supposed to be unsteered. This node is the off switch.

When you'll actually use it

Two patterns, honestly. First, the discipline pattern: whenever you wire up a Steer CLIP branch for an experiment, drop a Clear CLIP Steering node in so the graph itself documents where steering ends. Second, the rescue pattern: you've been toggling steering strengths, something looks off, and you want to confirm the encoder is clean before debugging anything else. Run the prompt through a clear node and compare - if the output changed, your hooks were still live.

How it works

The node looks for the _qscope_steer_handles attribute that Steer CLIP stored on the CLIP, removes each registered hook handle, and resets the list. If there are no hooks, it's a no-op that just reports "removed 0 steering hooks" - harmless to run. The info string tells you how many hooks it actually removed.

The inputs and output

Just one input: clip - the CLIP you want cleaned. It passes the same CLIP back out (plus an info string), so you can thread the cleaned encoder straight into a CLIPTextEncode to prove the steer is gone. There are no knobs, no settings, nothing to misconfigure. It's the simplest node in the pack and possibly the most underrated.

Installing it

Same one-install deal as the rest of the pack: ComfyUI Manager → search "ComfyUI QwenScope", or

cd ComfyUI/custom_nodes
git clone https://github.com/Nynxz/ComfyUI-QwenScope

then restart. No extra dependencies beyond the pack's usual transformers, huggingface_hub, safetensors, Pillow, numpy.

Common issues

The one mistake people make is assuming steering "times out." It doesn't - if your steered CLIP is still in memory, the hooks are still on it, and re-running your workflow with different inputs still applies the old direction. If you're seeing steering effects you didn't ask for, the fix is exactly this node, or reloading the workflow fresh. A neat related gotcha: Train Lens (Contrastive) will fail with a NaN error if it captures residuals while old steering hooks are live, and its own error message tells you to run Clear CLIP Steering first.

CategoryQwenScope/Steer

Inputs (1)

NameTypeDefaultDescription
clipCLIP

Outputs (2)

NameTypeDescription
clipCLIP
infoSTRING