Nodes/Allma Nodes/Allma Bypasser (false = bypass)
ComfyUI Node

Allma Bypasser (false = bypass)

Step over a stage without ripping it out of the graph

By OliveiraNickolas·Created 24 days ago·Updated 22 days ago· 0
Allma Bypasser (false = bypass)
  • values
    enabledtrue
    on_1true
    on_2true
    on_3true
    on_4true
    on_5true
    on_6true
    on_7true
    on_8true
    on_9true
    on_10true

    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_1on_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 (12)

    NameTypeDefaultDescription
    enabledBOOLEANtrueMaster switch. Flipping it sets every branch toggle at once; each branch can still be set on its own afterwards.
    valuesCOMFY_AUTOGROW_V3
    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.

    Outputs (0)

    No outputs