Nodes/Eric UniPic3 Nodes/Eric UniPic3 Unload Model
ComfyUI Node

Eric UniPic3 Unload Model

Getting 58GB of VRAM back without restarting ComfyUI

By EricRollei·Created 7 months ago·Updated 7 months ago· 3
Eric UniPic3 Unload Model
  • trigger
  • status

The loader keeps the whole UniPic3 pipeline cached in VRAM so your second generation is fast instead of another 58GB shuffle. That's a great deal until you want to run anything else at all - then the card is full and ComfyUI starts thrashing. Eric UniPic3 Unload Model is the release valve: one node that drops the cached pipeline, deletes the transformer, text encoder and VAE from memory, runs garbage collection, and empties the CUDA cache.

How it works

It's an output node, which in ComfyUI means it executes when the graph reaches it rather than feeding data to other nodes. Its one input, trigger, accepts any type - wire anything into it and the unload fires after whatever you connected finishes. The typical pattern: run your Edit or Compose, take its image output into trigger, and the model is freed as the last step of the graph. The status output is just a string: "Pipeline unloaded successfully" when there was a pipeline to drop, "No pipeline was loaded" when there wasn't - handy breadcrumbs in the console.

When you actually need it

Only when the loader's keep_in_vram is on, which is the default. Set that to False and the pipeline is discarded after every run, no manual unload required - but you pay the full load time each time, so most people leave caching on and unload deliberately when switching to other work. The loader also evicts the old variant on its own when you switch, so you don't need this node for that either.

Honest note: this is the smallest node in the pack, and it's a band-aid. The 58GB footprint is why most people can't run the pack at all, and the README's future-work list - INT8, NF4, GGUF quantization - is where the real accessibility fix lives. Until those land, this node is your tool for coexisting with the model on a shared card.

Installing

Ships with Eric_UniPic3 - if the loader is there, this is too. No separate dependencies, no extra downloads. ComfyUI Manager (search "Eric UniPic3") or git clone https://github.com/EricRollei/Eric_UniPic3 into custom_nodes, and it shows up under the "Eric UniPic3" category.

CategoryEric UniPic3

Inputs (1)

NameTypeDefaultDescription
triggeropt*Connect any output here to trigger unload after that node completes

Outputs (1)

NameTypeDescription
statusSTRING