Visit ComfyUI Online for ready-to-use ComfyUI environment
Optimizes GPU memory usage by clearing cache for improved performance during image processing tasks.
The tri3d-clear-memory
node is designed to manage and optimize the memory usage of your GPU during image processing tasks. Its primary function is to clear the GPU memory cache, which can help prevent memory overflow issues and improve the performance of your system when handling large or complex image data. By freeing up memory, this node ensures that your GPU resources are efficiently utilized, allowing for smoother and more reliable execution of tasks. This is particularly beneficial in scenarios where multiple processes or large datasets are involved, as it helps maintain system stability and performance.
This parameter represents the image data that you are working with. It is the primary input for the node and is expected to be in the form of an image tensor. The node processes this input to manage memory without altering the image data itself.
This parameter controls the percentage of GPU memory to be freed. It is a floating-point value ranging from 0 to 1, where 0 means no memory is freed, and 1 means the maximum possible memory is cleared. The default value is set to 1, which ensures that the node attempts to free as much memory as possible. Adjusting this parameter allows you to balance between memory clearance and the need to retain certain data in memory for ongoing processes.
The output of this node is the same image data that was input. The node returns the image tensor unchanged, as its primary function is to manage memory rather than modify the image. This ensures that your workflow remains uninterrupted while benefiting from optimized memory usage.
tri3d-clear-memory
node when working with large datasets or multiple processes to prevent memory overflow and ensure smooth operation.free_mem_per_limit
parameter based on your specific needs; a lower value can be used if you need to retain more data in memory for subsequent operations.tri3d-clear-memory
node to free up GPU memory before running memory-intensive operations. Ensure that the free_mem_per_limit
is set appropriately to maximize memory clearance.free_mem_per_limit
is set too low, preventing sufficient memory from being freed.free_mem_per_limit
value closer to 1 to allow more memory to be cleared, ensuring better performance and stability.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.