NoOp
The ComfyDL node that does literally nothing, and that's the point
- any_input
CdlNoOp takes any input you give it and throws it away. No computation, no output, nothing. It's Python's pass and assembly's NOP made flesh. You will look at it and wonder why it exists - and then you'll find yourself reaching for it while debugging some sprawling ComfyDL graph and quietly be grateful it's there.
ComfyDL is a 106-node educational pack that ports the Dive into Deep Learning textbook into ComfyUI, so a node that does nothing might seem out of place among all the CNNs and attention mechanisms. It isn't. Every graph-building tool eventually needs a black hole, and this is ComfyDL's.
What it actually does
One input - any_input, typed as the wildcard *, meaning it accepts literally anything: a cdlTensor, a cdlModel, an IMAGE, a string. The node discards it and returns nothing. No outputs at all.
That wildcard input is the whole trick. Because it's optional and accepts any type, you can hang it off almost any wire in the graph without ComfyUI complaining about type mismatches.
Three reasons you'll actually use it
- Silencing a branch without deleting it. You've got a subgraph you're not ready to remove but don't want running - or you want to keep the code around while you test the rest. Instead of cutting wires, run the output into NoOp. The branch is still there, still connected, just harmless.
- As a debug sink. Stuck on why a node isn't re-running? Wire its output into NoOp. It forces the upstream node to stay in the execution path, which makes cache-and-execution issues easier to reason about than ripping nodes out and losing your layout.
- As a placeholder during construction. Building a workflow bottom-up and not sure what consumes a particular tensor yet? Park it in a NoOp so it's clearly "dangling by design" rather than a wiring accident.
Installing ComfyDL
It's one pack, and it installs light - the only extra dependency in requirements.txt is matplotlib:
cd ComfyUI/custom_nodes
git clone https://github.com/Cynthia-lxx/ComfyDL
cd ComfyDL && pip install -r requirements.txt
Restart ComfyUI; the node lives under ComfyDL → Misc (display name "NoOp"). ComfyUI Manager users can search "ComfyDL" instead. No model downloads anywhere in this pack.
Any gotchas?
Honestly, the biggest one is expectations. It returns nothing, so you can't chain anything off it - it's a terminal node. If you try to wire a NoOp into something downstream you'll find it simply has no sockets. And because it has no outputs, it won't show up in the graph's "what runs when" logic the way a Preview node does; if you're using it to debug execution order, remember that the thing keeping your branch alive is the input wire, not anything NoOp does with it.
If all you need is a dead-end sink in a vanilla ComfyUI workflow, the built-in Reroute or a note node handles some of that job. But when you're inside the ComfyDL universe - where most types are its own cdlTensor/cdlModel and won't connect to stock nodes - a wildcard sink that accepts anything is genuinely useful. It's the rare node whose entire value is in being forgettable.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| any_inputopt | * | — |
Outputs (0)
No outputs