Skip to content

Commit 66c1852

Browse files
Add a tip for common error. (Comfy-Org#12414)
1 parent e5ae670 commit 66c1852

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

execution.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@ async def await_completion():
623623
logging.info("Memory summary: {}".format(comfy.model_management.debug_memory_summary()))
624624
logging.error("Got an OOM, unloading all loaded models.")
625625
comfy.model_management.unload_all_models()
626+
elif isinstance(ex, RuntimeError) and ("mat1 and mat2 shapes" in str(ex)) and "Sampler" in class_type:
627+
tips = "\n\nTIPS: If you have any \"Load CLIP\" or \"*CLIP Loader\" nodes in your workflow connected to this sampler node make sure the correct file(s) and type is selected."
626628

627629
error_details = {
628630
"node_id": real_node_id,

0 commit comments

Comments
 (0)