ComfyUI > Nodes > ComfyUI Level Pixel > Unload Model [LP]

ComfyUI Node: Unload Model [LP]

Class Name

ModelUnloader|LP

Category
LevelPixel/Unloaders
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

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

Efficiently unloads unneeded models to optimize system resources and prevent memory overload.

Unload Model [LP]| Unload Model [LP]:

The ModelUnloader| Unload Model [LP] node is designed to efficiently manage the unloading of models within your AI art workflow. Its primary purpose is to free up system resources by removing models that are no longer needed, thereby optimizing performance and preventing memory overload. This node is particularly beneficial in scenarios where multiple models are loaded simultaneously, and you need to ensure that only the necessary models remain active. By utilizing this node, you can maintain a streamlined and efficient workflow, ensuring that your system's memory is used effectively. The node operates by identifying the specified model to unload and executing a series of memory management tasks to ensure that resources are freed up appropriately.

Unload Model [LP]| Unload Model [LP] Input Parameters:

source

The source parameter is a required input that specifies the origin or identifier of the model you wish to manage. It acts as a reference point for the node to determine which model is currently loaded and needs to be considered for unloading. This parameter is crucial as it helps the node identify the correct model in the loaded models list, ensuring that the unloading process targets the intended model. There are no specific minimum, maximum, or default values for this parameter, as it is dependent on the models currently in use within your workflow.

model for unload

The model for unload parameter is an optional input that allows you to specify a particular model to be unloaded. This parameter provides flexibility by enabling you to directly indicate which model should be removed from memory, rather than relying solely on the source parameter. If provided, the node will prioritize unloading the specified model, ensuring that your system resources are managed according to your specific needs. Similar to the source parameter, there are no predefined values for this input, as it is contingent on the models available in your environment.

Unload Model [LP]| Unload Model [LP] Output Parameters:

source

The source output parameter returns the original input value of the source parameter. This output serves as a confirmation that the node has processed the specified model and completed the unloading operation. By returning the source, the node provides a straightforward way to verify that the intended model was targeted during the unloading process, allowing you to track the flow of models within your workflow.

Unload Model [LP]| Unload Model [LP] Usage Tips:

  • Ensure that the source parameter accurately reflects the model you intend to manage, as this will guide the node in identifying the correct model for unloading.
  • Utilize the model for unload parameter when you have specific models that need to be removed from memory, providing a more targeted approach to resource management.

Unload Model [LP]| Unload Model [LP] Common Errors and Solutions:

Unable to clear cache

  • Explanation: This error occurs when the node attempts to clear the system cache but encounters an issue, possibly due to system restrictions or insufficient permissions.
  • Solution: Ensure that your system has the necessary permissions to perform cache clearing operations. You may need to run your application with elevated privileges or check for any system settings that might be preventing cache clearance.

Model not found in loaded models

  • Explanation: This error indicates that the specified model in the source or model for unload parameter is not present in the list of currently loaded models.
  • Solution: Verify that the model you are trying to unload is indeed loaded and that the source or model for unload parameter accurately references the model. Double-check the model identifiers to ensure they match those in your workflow.

Unload Model [LP] Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Level Pixel
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 Model [LP]