The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Add better error for when pixel_space VAE wrongly selected. (#17518)
comfyanonymousec2e349dfe5a
diff --git a/execution.py b/execution.pyindex a8918ada1..0d50df2fd 100644--- a/execution.py+++ b/execution.py@@ -650,6 +650,8 @@ async def execute(server: "ExecutionServer", dynprompt, caches, current_item, excomfy.model_management.unload_all_models()elif isinstance(ex, RuntimeError) and ("mat1 and mat2 shapes" in str(ex)) and "Sampler" in class_type: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."+ elif isinstance(ex, TypeError) and "Cannot handle this data type: (1, 1," in str(ex) and "|u1" in str(ex):+ tips = "\n\nTIPS: This can happen when 'pixel_space' is selected in the Load VAE node. Select the VAE that matches your model instead."error_details = {"node_id": real_node_id,