Nodes/ComfyUI-RvTools_v2/Pipe-Line Switch
ComfyUI Node

Pipe-Line Switch

Pick which pipeline rides through

By r-vage·Created about a year ago·Updated 5 months ago· 23
Pipe-Line Switch
  • input1
  • input2
  • PIPE_LINE
Input1

Pipe-Line Switch is a two-way selector for PIPE_LINE connections: an Input widget (an INT, 1 or 2) decides whether input1 or input2 comes out the other side. It's the pipeline-flavored member of the pack's big switch family, and if you've ever used Comfyroll's image switch you already know the drill - the author says outright in the README that the switches here are adapted from it.

The thing it switches is the PIPE_LINE type - that's the pipeline format used by the Efficiency nodes pack, where one connection carries the whole shebang (model, clip, VAE, positive, negative, latent, loader settings). So the practical use is: two complete alternative pipelines (say, a Flux setup and an SDXL setup, or a "detailed" and a "fast" recipe) both feeding in, one switch deciding which one actually flows to your sampler. Combined with bypassed groups, that's how you build a workflow that switches whole model setups without unplugging anything.

Here's the behavior that trips people up, straight from the README: when this node is bypassed, it sends whatever is connected to input1. Bypass is the ComfyUI "soft disable" - the node is skipped and its output becomes a pass-through. The author deliberately made bypass fall through to input 1, so your workflow's "default" pipeline should go on input1 and the alternative on input2. If you bypass and get the wrong pipeline, that's the design, not a bug.

Install. ComfyUI Manager → search "RvTools" → install ComfyUI-RvTools_v2 and restart, or:

cd ComfyUI/custom_nodes
git clone https://github.com/r-vage/ComfyUI-RvTools_v2
# restart ComfyUI afterwards

No models, no keys - pure graph utility. Manual clones: pip install -r requirements.txt (opencv-python, pynvml, piexif, Pillow, pilgram).

The catches. The PIPE_LINE type is the Efficiency pack's format, so you need the nodes that speak that type (usually the Efficiency loader / pipe nodes) for this switch to be useful. This isn't an RvTools pipe - an RvTools pipe and an Efficiency PIPE_LINE are different types and won't wire together. Second, note this node is not flagged deprecated - it's in the current Switches category - but the pack around it is unmaintained, with the README pointing to ComfyUI_Eclipse as the successor. It still works today and is genuinely handy if you run Efficiency-style pipelines and want a quick A/B switch that survives being bypassed. One small thing: the widget is literally named Input (capital I), which throws people off in searches - it's just the 1-or-2 selector.

Category🫦 RvTools II/ Switches

Inputs (3)

NameTypeDefaultDescription
InputINT11–2
input1optPIPE_LINE
input2optPIPE_LINE

Outputs (1)

NameTypeDescription
PIPE_LINEPIPE_LINE