Pass Mask_v2 [RvTools]:
The Pass Mask_v2 [RvTools] node is designed to facilitate the seamless transfer of mask data through a node-based workflow, ensuring that the mask is passed along without alteration. This node is particularly beneficial in scenarios where you need to maintain the integrity of mask data while performing operations that may require purging of VRAM to optimize memory usage. By incorporating a VRAM purge option, this node helps manage system resources efficiently, especially in environments with limited GPU memory. The primary function of this node is to act as a conduit for mask data, allowing it to be used in subsequent processes without modification, while also providing an optional mechanism to clear VRAM, thus enhancing performance and preventing potential memory bottlenecks.
Pass Mask_v2 [RvTools] Input Parameters:
mask
The mask parameter is the primary input for this node, representing the mask data that you wish to pass through the workflow. This parameter is crucial as it carries the mask information that will be used in subsequent nodes or processes. The mask data remains unchanged as it passes through this node, ensuring that the integrity of the mask is maintained throughout the workflow.
Purge_VRAM
The Purge_VRAM parameter is a boolean option that allows you to decide whether to clear the VRAM during the node's execution. When set to True, this option triggers a series of operations to free up GPU memory, which includes collecting garbage, emptying the CUDA cache, and unloading models. This can be particularly useful in workflows that are memory-intensive or when working with limited GPU resources. The default value for this parameter is False, meaning that VRAM purging is not performed unless explicitly enabled.
Pass Mask_v2 [RvTools] Output Parameters:
MASK
The output parameter MASK represents the mask data that has been passed through the node. This output is identical to the input mask, ensuring that the mask data remains unaltered. The primary purpose of this output is to provide a consistent and reliable way to transfer mask data to subsequent nodes in the workflow, maintaining the continuity and integrity of the mask information.
Pass Mask_v2 [RvTools] Usage Tips:
- Use the
Purge_VRAMoption when working with large datasets or complex workflows to prevent memory issues and optimize performance. - Ensure that the mask data is correctly formatted and validated before passing it through this node to avoid unexpected results in subsequent processes.
Pass Mask_v2 [RvTools] Common Errors and Solutions:
VRAM Purge Failure
- Explanation: If the VRAM purge process fails, it may be due to the absence of a compatible GPU or issues with the CUDA environment.
- Solution: Ensure that your system has a compatible GPU with CUDA support and that the necessary drivers and libraries are correctly installed.
Mask Data Not Passed
- Explanation: If the mask data is not being passed correctly, it could be due to incorrect input formatting or data corruption.
- Solution: Verify that the input mask data is correctly formatted and free from corruption before passing it through the node.
