Nodes/ComfyUI-ArchAi3d-Qwen/🧠 Memory Cleanup
ComfyUI Node

🧠 Memory Cleanup

Clear DRAM cache, VRAM, and CUDA cache. Use when switching workflows or freeing system RAM.

By amir84ferdosΒ·Created 10 months agoΒ·Updated 4 months agoΒ· 65
🧠 Memory Cleanup
    • memory_stats
    • trigger
    β—„unpin_all_vramtrueβ–Ί
    β—„clear_dram_cachetrueβ–Ί
    β—„clear_vramtrueβ–Ί
    β—„clear_cuda_cachetrueβ–Ί
    CategoryArchAi3d/Memory

    Inputs (4)

    NameTypeDefaultDescription
    unpin_all_vramBOOLEANtrueRemove all VRAM pins. Pinned models become eligible for auto-eviction again.
    clear_dram_cacheBOOLEANtrueRemove all models from DRAM cache. Forces disk reload on next use.
    clear_vramBOOLEANtrueUnload all models from GPU VRAM.
    clear_cuda_cacheBOOLEANtrueClear PyTorch CUDA cache to reclaim fragmented VRAM.

    Outputs (2)

    NameTypeDescription
    memory_statsSTRINGMemory status after cleanup
    trigger*Connect to next node to control execution order