Skip to content

Commit aeadb7a

Browse files
authored
correct OOM format (Comfy-Org#13950)
1 parent f48d2a0 commit aeadb7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ async def await_completion():
626626

627627
if comfy.model_management.is_oom(ex):
628628
tips = "This error means you ran out of memory on your GPU.\n\nTIPS: If the workflow worked before you might have accidentally set the batch_size to a large number."
629-
logging.info("Memory summary: {}".format(comfy.model_management.debug_memory_summary()))
629+
logging.info("Memory summary:\n{}".format(comfy.model_management.debug_memory_summary()))
630630
logging.error("Got an OOM, unloading all loaded models.")
631631
comfy.model_management.unload_all_models()
632632
elif isinstance(ex, RuntimeError) and ("mat1 and mat2 shapes" in str(ex)) and "Sampler" in class_type:

0 commit comments

Comments
 (0)