A ComfyUI custom node that can be added after any node to clean up VRAM and memory. Extracted from the original LayerStyle repository.
https://github.com/T8mars/comfyui-purgevram
git clone https://github.com/T8mars/comfyui-purgevram
comfy node install purgevram