ComfyUI > Nodes > Comfy_HunyuanImage3 > Hunyuan Instruct Unload

ComfyUI Node: Hunyuan Instruct Unload

Class Name

HunyuanInstructUnload

Category
Hunyuan/Instruct
Author
EricRollei (Account age: 1544days)
Extension
Comfy_HunyuanImage3
Latest Updated
2026-02-21
Github Stars
0.05K

How to Install Comfy_HunyuanImage3

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

Hunyuan Instruct Unload Description

Efficiently unloads the Hunyuan Instruct model to free VRAM and optimize system performance.

Hunyuan Instruct Unload:

The HunyuanInstructUnload node is designed to efficiently manage your system's resources by unloading the Hunyuan Instruct model from memory when it is no longer needed. This is particularly useful in scenarios where you need to free up VRAM (Video Random Access Memory) for other tasks or processes, ensuring that your system remains responsive and capable of handling multiple operations. By using this node, you can optimize the performance of your workflow, especially in environments with limited VRAM resources. The node provides a straightforward mechanism to release memory, which can be crucial for maintaining the efficiency and speed of your AI art generation processes.

Hunyuan Instruct Unload Input Parameters:

enabled

This parameter is a boolean toggle that determines whether the unload operation should be executed. When set to True, the node will proceed to unload the model from memory, freeing up VRAM. If set to False, the node will bypass the unload process, allowing the model to remain loaded for subsequent operations. This is particularly useful if you plan to use the model multiple times in a session and want to avoid the overhead of reloading it. The default value is True, and it is accompanied by a tooltip that explains its functionality, making it user-friendly even for those with limited technical knowledge.

trigger

This optional parameter acts as a control mechanism to initiate the unload process. It is designed to accept any input, but its default value is None. The presence of this parameter allows for more complex workflows where the unload operation can be triggered by specific events or conditions within your workflow. This flexibility can be particularly beneficial in dynamic environments where the timing of resource management is crucial.

Hunyuan Instruct Unload Output Parameters:

status

The output parameter status provides feedback on the execution of the unload operation. It returns a string that indicates whether the unload was successful or if it was skipped due to the enabled parameter being set to False. This output is essential for monitoring and debugging your workflow, as it allows you to verify that the node has performed its intended function and that resources have been managed as expected.

Hunyuan Instruct Unload Usage Tips:

  • Use the enabled parameter to control when the model should be unloaded, especially if you are working with limited VRAM and need to manage resources efficiently.
  • Consider using the trigger parameter to automate the unload process based on specific conditions or events in your workflow, enhancing the flexibility and responsiveness of your system.

Hunyuan Instruct Unload Common Errors and Solutions:

"Unload skipped (disabled)"

  • Explanation: This message indicates that the unload operation was not performed because the enabled parameter was set to False.
  • Solution: If you intended to unload the model, ensure that the enabled parameter is set to True. If you want to keep the model loaded for multiple uses, this message can be safely ignored.

"Could not clear CUDA cache after error"

  • Explanation: This warning occurs when the system attempts to clear the CUDA cache but encounters an issue, possibly due to a lack of available resources or a system-level restriction.
  • Solution: Check your system's VRAM usage and ensure that there are no other processes consuming excessive resources. Restarting your system or updating your CUDA drivers may also help resolve this issue.

Hunyuan Instruct Unload Related Nodes

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

Hunyuan Instruct Unload