ComfyUI Node
Hunyuan 3 Force Unload (Nuclear)
A ComfyUI node in HunyuanImage3 with 8 inputs and 3 outputs.
Hunyuan 3 Force Unload (Nuclear)
- trigger
- cleared
- memory_report
- unload_signal
◄first_run_onlyfalse►
◄clear_all_modelstrue►
◄aggressive_gctrue►
◄reset_cuda_allocatortrue►
◄clear_comfy_cachetrue►
◄nuke_orphaned_tensorsfalse►
◄nuke_ram_tensorsfalse►
CategoryHunyuanImage3
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| first_run_only | BOOLEAN | false | Only run on FIRST execution, then auto-skip. Perfect for cleaning up cross-tab pollution while keeping Hunyuan loaded for successive runs. |
| clear_all_models | BOOLEAN | true | Clear Hunyuan model cache |
| aggressive_gc | BOOLEAN | true | Run aggressive garbage collection (3 passes) |
| reset_cuda_allocator | BOOLEAN | true | Reset CUDA memory allocator (may help after OOM) |
| clear_comfy_cache | BOOLEAN | true | Clear ComfyUI's internal model cache (affects all models!) |
| nuke_orphaned_tensors | BOOLEAN | false | Hunt and destroy orphaned Hunyuan CUDA tensors. Safe for downstream models (scoped to Hunyuan only). Use after OOM when VRAM is stuck. |
| nuke_ram_tensors | BOOLEAN | false | Hunt and destroy orphaned Hunyuan CPU tensors in RAM. Safe for downstream models (scoped to Hunyuan only). Use when system RAM is full of leaked model weights. |
| triggeropt | * | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| cleared | BOOLEAN | — |
| memory_report | STRING | — |
| unload_signal | * | — |