ComfyUI-LatentGC_Aggressive

ComfyUI-LatentGC_Aggressive
★ 4

内存回收VRAM管理工作流节点低显存优化
ComfyUI-LatentGC_Aggressive:在工作流阶段间清理VRAM,清空缓存、运行GC并卸载模型,适合低显存场景
💡 在采样器或VFI前后放置以释放显存
🍴 2 Forks💻 Python🔄 2024-08-12
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/a1f1f564f19c
📄 README

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