WAN_Model Switch
The two-way gate for Wan checkpoints
- input1
- input2
- model
The five-slot WAN_Model Multi-Switch is the flexible one. This is the small one: exactly two WANVIDEOMODEL inputs, an Input widget that picks 1 or 2, and a model output. Same family, simpler shape - and honestly, for most people two is enough. Fast 5B for iteration vs. full 14B for final renders covers the Wan 2.2 use case better than any five-way setup ever will.
Mechanic's the same as every switch in this pack: Input = 1 passes input1, 2 passes input2. The README's bypass trick applies too - leave it enabled with the widget at 2, and bypassing the node (or a group containing it) forwards input1 via ComfyUI's core pass-through. So input2 is your always-on model and input1 is the alternate you reach by bypassing. That pattern exists because Wan generations take minutes: being able to flip between model branches by bypassing a group, rather than re-plugging a fat model cable and waiting on a reload, is the difference between iterating and grinding.
The differentiator from the plain Vae Switch is the required Purge_VRAM toggle (default off), and here it genuinely matters. Wan models are huge. If you switch from a 14B to a 5B while the 14B is still resident, you can OOM a mid-range card before the new model even loads. Purge_VRAM makes the switch unload everything - CUDA cache, all models, soft cache - before handing the new model downstream. Blunt instrument, but switching models is exactly the situation where it's warranted. Expect the next run to be slower while it reloads cold; that's the trade.
Both inputs are forced-input WANVIDEOMODEL sockets (no typed model names here - you wire actual wrapped model objects from WanVideoWrapper loaders). Output model goes into the WanVideoWrapper sampler.
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. No models, no keys. The WANVIDEOMODEL type only exists if ComfyUI-WanVideoWrapper is also installed - the implicit dependency for every WAN node in this pack, absent from RvTools' own requirements.
The pack is unmaintained; the README points at ComfyUI_Eclipse. The [RvTools] suffix is from v2's rename after v1's repo vanished.
Common issues
- No WANVIDEOMODEL sockets - WanVideoWrapper isn't installed. It's not optional for this node.
- Nothing comes out - the selected slot isn't wired. Both inputs are optional in the schema, but an unwired slot passes
Noneand downstream errors. Keep both wired. - Slow run right after switching with Purge_VRAM on - expected. Everything reloads from disk; that's the price of not OOMing.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| Input | INT | 11–2 | — |
| Purge_VRAM | BOOLEAN | false | — |
| input1opt | WANVIDEOMODEL | — | |
| input2opt | WANVIDEOMODEL | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| model | WANVIDEOMODEL | — |