Nodes Browser

ComfyDeploy: How LatentGC Aggressive works in ComfyUI?

What is LatentGC Aggressive?

Simple latent-passthrough node for running a full VRAM cleanup between workflow stages.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for LatentGC Aggressive and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI LatentGC_Aggressive

Contains a single node for ComfyUI (https://github.com/comfyanonymous/ComfyUI) that on being hit empties cache, runs GC and unloads models from VRAM. Useful to put between different stages of the workflow in low VRAM scenarios. Suggested use is before/after sampler, before VFI, etc. The performance impact of unloading models from VRAM and, in some cases, forcing an immediate re-load for the next node use, appears negligible on this system.

Thanks to: https://github.com/ntdviet/comfyui-ext https://github.com/yolain/ComfyUI-Easy-Use