VRAM Debug

VRAM_Debug

Returns the inputs unchanged, they are only used as triggers, and performs comfy model management functions and garbage collection, reports free VRAM before and after the operations.

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (6)

NameTypeRequired
empty_cacheBOOLEANrequired
gc_collectBOOLEANrequired
unload_all_modelsBOOLEANrequired
any_input*optional
image_passIMAGEoptional
model_passMODELoptional

Outputs (5)

NameType
any_output*
image_passIMAGE
model_passMODEL
freemem_beforeINT
freemem_afterINT