Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-obvpm > Clean VRAM (obvpm)

ComfyUI Node: Clean VRAM (obvpm)

Class Name

CleanVRAM (obvpm)

Category
obvpm/misc
Author
chanon (Account age: 5883days)
Extension
comfyui-obvpm
Latest Updated
2026-09-17
Github Stars
0.04K

How to Install comfyui-obvpm

Install this extension via the ComfyUI Manager by searching for comfyui-obvpm
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-obvpm 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

Clean VRAM (obvpm) Description

Optimize memory usage for AI art generation by unloading models and releasing VRAM efficiently.

CleanVRAM (obvpm):

The CleanVRAM node is designed to optimize memory usage during complex AI art generation processes by unloading all loaded models and releasing cached VRAM. This node is particularly useful when working with large models or sequences that cannot fit into memory simultaneously. By strategically placing this node between stages of your workflow, such as after a long sampling process, you can ensure that memory is freed up for subsequent operations. The primary benefit of using CleanVRAM is its ability to manage memory efficiently, preventing out-of-memory errors and ensuring smoother execution of tasks. The trade-off is the time taken to reload models when they are needed again, but this is often more efficient than running out of memory. This node acts as a passthrough, meaning it does not alter the input data but ensures that the cleanup process is executed in the correct order.

CleanVRAM (obvpm) Input Parameters:

anything

This parameter represents any input data that you want to pass through the node. Its primary function is to serve as a placeholder to ensure that the cleanup process is executed in the correct order within your workflow. The input data itself remains unchanged, and the node does not impose any specific requirements or constraints on the type of data you provide. This flexibility allows you to use the node in various contexts without worrying about compatibility issues. The parameter does not have minimum, maximum, or default values, as it is designed to accept any data type.

CleanVRAM (obvpm) Output Parameters:

output

The output parameter of the CleanVRAM node is the same as the input parameter, meaning the data you provide as input is returned unchanged. The significance of this output lies in its role in maintaining the execution order of your workflow. By wiring the output onward, you ensure that the cleanup process occurs before any subsequent operations that require additional memory. This approach helps prevent memory-related issues and allows for more efficient use of resources during complex tasks.

CleanVRAM (obvpm) Usage Tips:

  • Place the CleanVRAM node between stages of your workflow where memory usage is high, such as after a long sampling process, to free up VRAM for subsequent operations.
  • Consider the trade-off between the time taken to reload models and the risk of running out of memory. Use the node in scenarios where the reload time is less costly than potential memory issues.

CleanVRAM (obvpm) Common Errors and Solutions:

"obvpm: unloaded all models and released cached VRAM"

  • Explanation: This message indicates that the node has successfully executed its function of unloading models and freeing VRAM.
  • Solution: No action is needed as this is a confirmation of successful operation.

"MemoryError: Unable to allocate memory"

  • Explanation: This error may occur if the node is not placed correctly in the workflow, leading to insufficient memory for subsequent operations.
  • Solution: Ensure that the CleanVRAM node is strategically placed between stages that require significant memory, and consider adjusting the workflow to optimize memory usage.

Clean VRAM (obvpm) Related Nodes

Go back to the extension to check out more related nodes.
comfyui-obvpm
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.

Clean VRAM (obvpm)