Nodes/Allma Nodes/Allma Bypasser
ComfyUI Node

Allma Bypasser

Step over a stage without ripping it out of the graph

By OliveiraNickolas·Created about a month ago·Updated 7 days ago· 1
Allma Bypasser
  • values
  • fallback
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
◄enabledtrue►
◄solonone►
◄on_1true►
◄on_2true►
◄on_3true►
◄on_4true►
◄on_5true►
◄on_6true►
◄on_7true►
◄on_8true►
◄on_9true►
◄on_10true►
◄on_11true►
◄on_12true►
◄on_13true►
◄on_14true►
◄on_15true►
◄on_16true►
◄on_17true►
◄on_18true►
◄on_19true►
◄on_20true►
◄on_21true►
◄on_22true►
◄on_23true►
◄on_24true►
◄on_25true►

Some stages of a pipeline you want to remove for a run; some you want to skip. The difference sounds academic until you have an upscaler in the middle of a chain that still needs to hand its frames on to the next node. Delete it and the chain breaks. Bypass it and it stays in place, its input passing straight through to its output. Allma Bypasser (false = bypass) is the Ctrl+B version of its sibling Allma Muter - same slots, same master switch, but branches it switches off are bypassed rather than muted.

How it works

Point it at the stages you want to step over: wire any output into a slot and a toggle appears for it. Flip that toggle off and the node it points at is bypassed - exactly as Ctrl+B does - so its input flows through to whatever came after. The master enabled switch sets every branch at once; each branch keeps its own on_1 … on_10 toggle on top.

The mechanics are inherited from the Muter, and they matter. Nothing passes through this node: the real wire still runs straight from the source to whatever consumes it, and the bypass state is applied in the browser before the graph is queued. That's also why the toggles can only be driven by a literal boolean - a primitive or a promoted subgraph input - because a value computed by another node doesn't exist until the graph is already running. The last clicked state is used instead. And because the node has no outputs, it never executes; it's pruned before the run, which is what you want for a control surface.

Muter vs Bypasser, concretely

This is the decision you'll actually make:

  • Mute - the branch disappears. Whatever it fed sees an unconnected input. Use it for a reference image you're leaving out of this run, where the whole point is that the branch is not there.
  • Bypass - the branch stays wired, but inert. The chain around it stays whole. Use it for an upscaler or a refinement pass in the middle of a pipeline that has to keep flowing.

When in doubt, think about whether the downstream node can tolerate an unconnected input. If it can, muting is cleaner; if the chain has to remain intact, bypass.

Install

cd ComfyUI/custom_nodes
git clone https://github.com/OliveiraNickolas/AllmaNodes

Restart, no pip install, no backend, no model files - it's a pure graph utility under Allma/logic. Fair warning for a pack this new: there's no community battle history yet, so the failure mode to watch is your own graph - if you bypass a node that also feeds an output node through another wire, the output node can still drag it back in. Check the branch's full path before you rely on the toggle.

CategoryAllma/logic

Inputs (28)

NameTypeDefaultDescription
enabledBOOLEANtrueMaster switch. Flipping it sets every branch toggle at once; each branch can still be set on its own afterwards.
valuesCOMFY_AUTOGROW_V3—
solooptCOMBOnoneSwitch on one branch and only that one. Flipping any toggle by hand clears it.
on_1optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_2optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_3optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_4optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_5optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_6optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_7optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_8optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_9optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_10optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_11optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_12optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_13optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_14optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_15optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_16optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_17optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_18optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_19optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_20optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_21optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_22optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_23optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_24optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.
on_25optBOOLEANtrueThis branch on its own. A wire here must come from a literal boolean — it is read before the graph runs.

Outputs (26)

NameTypeDescription
fallback*—
1BOOLEANWhether this branch's switch is on.
2BOOLEANWhether this branch's switch is on.
3BOOLEANWhether this branch's switch is on.
4BOOLEANWhether this branch's switch is on.
5BOOLEANWhether this branch's switch is on.
6BOOLEANWhether this branch's switch is on.
7BOOLEANWhether this branch's switch is on.
8BOOLEANWhether this branch's switch is on.
9BOOLEANWhether this branch's switch is on.
10BOOLEANWhether this branch's switch is on.
11BOOLEANWhether this branch's switch is on.
12BOOLEANWhether this branch's switch is on.
13BOOLEANWhether this branch's switch is on.
14BOOLEANWhether this branch's switch is on.
15BOOLEANWhether this branch's switch is on.
16BOOLEANWhether this branch's switch is on.
17BOOLEANWhether this branch's switch is on.
18BOOLEANWhether this branch's switch is on.
19BOOLEANWhether this branch's switch is on.
20BOOLEANWhether this branch's switch is on.
21BOOLEANWhether this branch's switch is on.
22BOOLEANWhether this branch's switch is on.
23BOOLEANWhether this branch's switch is on.
24BOOLEANWhether this branch's switch is on.
25BOOLEANWhether this branch's switch is on.