WAN_VAE Multi-Switch [RvTools]:
The WAN_VAE Multi-Switch [RvTools] node is designed to efficiently manage and switch between multiple Variational Autoencoder (VAE) models within a workflow. This node is particularly beneficial for AI artists who work with complex models and need to dynamically select different VAEs based on specific requirements or conditions. By providing a streamlined method to switch between up to five different VAE inputs, this node enhances flexibility and control over the model selection process. Additionally, it includes a feature to purge VRAM, which helps in managing memory resources effectively, ensuring smoother performance and preventing potential memory-related issues. This capability is crucial for maintaining optimal performance, especially when working with resource-intensive models.
WAN_VAE Multi-Switch [RvTools] Input Parameters:
Purge_VRAM
The Purge_VRAM parameter is a boolean option that determines whether the node should clear the VRAM before executing the switch operation. When set to True, it triggers a process that collects garbage, empties the CUDA cache, and unloads all models to free up memory resources. This can be particularly useful when working with large models or when experiencing memory constraints. The default value is False, meaning VRAM purging is not performed unless explicitly specified.
input1
The input1 parameter is an optional input that accepts a VAE model. It is one of the potential inputs that the node can switch to, depending on the conditions set in the workflow. This parameter is designed to be a forced input, ensuring that a valid VAE model is provided when used.
input2
Similar to input1, the input2 parameter is an optional input for another VAE model. It allows for flexibility in model selection, enabling users to choose from multiple VAEs based on their specific needs.
input3
The input3 parameter serves as an additional optional input for a VAE model. It provides further options for model switching, enhancing the node's versatility in handling different VAE configurations.
input4
The input4 parameter is another optional input for a VAE model, offering more choices for dynamic model selection within the workflow.
input5
The input5 parameter is the final optional input for a VAE model, completing the set of inputs that the node can switch between. This allows for comprehensive model management and selection.
WAN_VAE Multi-Switch [RvTools] Output Parameters:
vae
The vae output parameter represents the selected VAE model from the available inputs. This output is crucial as it determines which VAE model will be used in subsequent processes within the workflow. The selection is based on the availability and order of the inputs, providing a flexible mechanism for model management.
WAN_VAE Multi-Switch [RvTools] Usage Tips:
- To optimize memory usage, consider setting
Purge_VRAMtoTruewhen switching between large VAE models, especially if you encounter memory-related issues. - Ensure that at least one of the input parameters (
input1toinput5) is provided with a valid VAE model to avoid execution errors.
WAN_VAE Multi-Switch [RvTools] Common Errors and Solutions:
Missing Input: Multi Switch WAN_VAE has no active Input
- Explanation: This error occurs when none of the input parameters (
input1toinput5) are provided with a valid VAE model. - Solution: Ensure that at least one of the input parameters is connected to a valid VAE model before executing the node.
