Nodes/ComfyUI-RvTools_v2/WAN_Model Multi-Switch
ComfyUI Node

WAN_Model Multi-Switch

Five Wan models, pick the one that's connected

By r-vage·Created about a year ago·Updated 5 months ago· 23
WAN_Model Multi-Switch
  • input1
  • input2
  • input3
  • input4
  • input5
  • model
Purge_VRAMfalse

Wan 2.2 gives you real model-choice problems. 27B MoE vs. 5B dense. Full precision vs. GGUF quant. And since Wan 2.2 is the last open Wan, most people end up running a couple of variants side by side - a fast 5B for iteration, a chunky 14B/27B for final renders. This node is the switch that lets you keep them all wired up and choose by bypassing.

The WAN_Model Multi-Switch takes up to five WANVIDEOMODEL inputs and returns the first one that isn't None. That's it. No widget, no menu - you pick by bypassing inputs. The README's rule is the whole strategy: put the models that can be bypassed in the first slots, and the always-on default last. Why? The check runs input1 → input5, and an always-enabled loader in slot 1 is never None - it would win every single time and every slot after it would be ignored. Bypassable options first, permanent default last, and bypassing slot 1 hands control to slot 2, and so on.

The switch also has a required Purge_VRAM toggle (default off), and unlike most settings knobs here, it actually earns its place. Switching between a 14B and a 5B while the old model is still resident is exactly how you OOM a 24GB card mid-generation. Ticking Purge_VRAM makes the switch unload all models from VRAM before passing the new one through - empty CUDA cache, unload_all_models, soft cache clear. It's a sledgehammer (everything reloads cold on the next run), but it's a sledgehammer with a job.

Output is model, which feeds the WanVideoWrapper sampler. The WANVIDEOMODEL type itself - the wrapped Wan model object with all its two-pass machinery - comes from Kijai's WanVideoWrapper, not from this pack.

Installing it

Ships in ComfyUI-RvTools_v2 (Manager → search ComfyUI-RvTools_v2, or clone https://github.com/r-vage/ComfyUI-RvTools_v2 into custom_nodes and restart). But the WANVIDEOMODEL sockets only exist if ComfyUI-WanVideoWrapper is installed too - it's the implicit dependency for every WAN-type node in this pack, and it's not in RvTools' own requirements list. The switch itself needs no model downloads.

The pack is unmaintained - README points to ComfyUI_Eclipse. The [RvTools] suffix is from v2's rename release after v1's repo vanished.

Common issues

  • Sockets are dark / node won't load - WanVideoWrapper missing. Install it first.
  • "Missing Input: Multi Switch WAN_Model has no active Input" - all five slots bypassed or empty. Keep the default wired in the last slot.
  • OOM when switching - that's what Purge_VRAM is for. Flip it on; the alternative is manually unloading models.
Category🫦 RvTools II/ Multi-Switches (WVW)

Inputs (6)

NameTypeDefaultDescription
Purge_VRAMBOOLEANfalse
input1optWANVIDEOMODEL
input2optWANVIDEOMODEL
input3optWANVIDEOMODEL
input4optWANVIDEOMODEL
input5optWANVIDEOMODEL

Outputs (1)

NameTypeDescription
modelWANVIDEOMODEL