ComfyUI > Nodes > TrentNodes > Unload MiniCPM

ComfyUI Node: Unload MiniCPM

Class Name

UnloadMiniCPM

Category
Trent/VLM
Author
TrentHunter82 (Account age: 0days)
Extension
TrentNodes
Latest Updated
2026-03-20
Github Stars
0.03K

How to Install TrentNodes

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

Unload MiniCPM Description

Manually unloads MiniCPM from GPU to free VRAM, optimizing resource management for AI tasks.

Unload MiniCPM:

The UnloadMiniCPM node is designed to manually unload the MiniCPM model from your system's GPU memory, effectively freeing up VRAM resources. This node is particularly useful when you need to immediately release GPU memory without waiting for the automatic unload process, which typically occurs after 60 seconds of inactivity. By using this node, you can ensure that your system's resources are efficiently managed, allowing for smoother operation and the ability to quickly switch between tasks that require different models or processes. This capability is essential for AI artists who work with resource-intensive applications and need to optimize their workflow by managing memory usage proactively.

Unload MiniCPM Input Parameters:

trigger

The trigger parameter is an optional input that serves as a mechanism to initiate the unloading process of the MiniCPM model. It is designed to be connected to any output, acting as a signal to execute the unload function. This parameter does not have specific minimum, maximum, or default values, as its primary role is to act as a trigger rather than a configurable setting. By connecting any output to this parameter, you can manually control when the model is unloaded, providing flexibility and control over memory management.

Unload MiniCPM Output Parameters:

status

The status output parameter provides a confirmation message indicating the successful unloading of the MiniCPM model. The output is a string that reads "MiniCPM model unloaded," which serves as a straightforward confirmation that the model has been successfully removed from the GPU memory. This output is crucial for users to verify that the unloading process has been completed, ensuring that the system's resources are now available for other tasks.

Unload MiniCPM Usage Tips:

  • Use the UnloadMiniCPM node when you need to quickly free up GPU memory, especially if you are switching between different models or tasks that require significant VRAM resources.
  • Connect any output to the trigger parameter to manually initiate the unloading process, allowing you to manage memory usage proactively and avoid potential slowdowns or crashes due to insufficient resources.

Unload MiniCPM Common Errors and Solutions:

"Failed to unload MiniCPM model"

  • Explanation: This error may occur if there is an issue with the unloading process, such as the model not being loaded in the first place or a problem with the GPU memory management.
  • Solution: Ensure that the MiniCPM model is currently loaded before attempting to unload it. Check for any other processes that might be using the GPU memory and try again. If the problem persists, consider restarting your system to clear any lingering memory issues.

"Trigger not connected"

  • Explanation: This error indicates that the trigger parameter has not been connected to any output, which is necessary to initiate the unloading process.
  • Solution: Connect any output to the trigger parameter to ensure that the unloading process can be initiated. This connection acts as a signal to execute the unload function, so it is essential for the node's operation.

Unload MiniCPM Related Nodes

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

Unload MiniCPM