Sign In

VRAM and RAM CLEANUP custom_node

4

27

3

Updated: Nov 28, 2025

toolramvram

Verified:

Other

Type

Workflows

Stats

27

0

Reviews

Published

Nov 28, 2025

Base Model

Other

Hash

AutoV2
F31B9131C3

This is a custom node designed to completely unload RAM and VRAM after generation.

I wrote it because I use the ComfyUi version on the server, and I need to free up memory periodically to avoid overloading the service manually

  1. Download the  file with the .zip extension

  2. Unzip it

  3. Place file with the .py extension in the /custom_nodes/ folder

  4. Rerun your ComfyUi

  5. Use the node before saving the generation.

On some versions of comfi, it doesn't unload RAM.

I'll try to fix it in the next patch