mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-19 19:13:02 +08:00
debug free mem
This commit is contained in:
parent
49597bfa3e
commit
21ebcada1d
@ -588,6 +588,7 @@ def minimum_inference_memory():
|
|||||||
|
|
||||||
def free_memory(memory_required, device, keep_loaded=[]):
|
def free_memory(memory_required, device, keep_loaded=[]):
|
||||||
logging.info("start to free mem")
|
logging.info("start to free mem")
|
||||||
|
import pdb; pdb.set_trace()
|
||||||
cleanup_models_gc()
|
cleanup_models_gc()
|
||||||
unloaded_model = []
|
unloaded_model = []
|
||||||
can_unload = []
|
can_unload = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user