The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
correct OOM format (#13950)
apophisaeadb7acaab7
diff --git a/execution.py b/execution.pyindex f37d0360d..4c7de2e84 100644--- a/execution.py+++ b/execution.py@@ -626,7 +626,7 @@ async def execute(server, dynprompt, caches, current_item, extra_data, executed,if comfy.model_management.is_oom(ex):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."- logging.info("Memory summary: {}".format(comfy.model_management.debug_memory_summary()))+ logging.info("Memory summary:\n{}".format(comfy.model_management.debug_memory_summary()))logging.error("Got an OOM, unloading all loaded models.")comfy.model_management.unload_all_models()elif isinstance(ex, RuntimeError) and ("mat1 and mat2 shapes" in str(ex)) and "Sampler" in class_type: