ComfyUI > Nodes > ComfyUI-RvTools_v2 > Pass Mask_v2

ComfyUI Node: Pass Mask_v2

Class Name

Pass Mask_v2 [RvTools]

Category
🫦 RvTools II/ Passer
Author
r-vage (Account age: 317days)
Extension
ComfyUI-RvTools_v2
Latest Updated
2026-03-27
Github Stars
0.02K

How to Install ComfyUI-RvTools_v2

Install this extension via the ComfyUI Manager by searching for ComfyUI-RvTools_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RvTools_v2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Pass Mask_v2 Description

Facilitates seamless mask data transfer in node workflows with optional VRAM purge for efficiency.

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_VRAM option 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.

Pass Mask_v2 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RvTools_v2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Pass Mask_v2