Skip to content

Can't run workflow when a node input is connected to an output that is a superset of the possible selection #11125

@LoupLabelle

Description

@LoupLabelle

Custom Node Testing

Expected Behavior

When linking KSampler Config (rgthree)'s scheduler to KSampler (Efficient)'s scheduler, then running the workflow, the workflow runs.

Actual Behavior

An error message apprears with:

Prompt execution failed

Prompt outputs failed validation: Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'AYS SD1', 'AYS SDXL', 'AYS SVD', 'GITS'])
KSampler (Efficient):
    - Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'AYS SD1', 'AYS SDXL', 'AYS SVD', 'GITS'])

Steps to Reproduce

The versions impacted are rgtree: [1.0.2506230015] and efficiency-nodes: 1.0.7

With rgthree and impact-pack installed, and from the default workflow:

  1. add a KSampler Config (rgthree) node;
  2. add a KSampler (Efficient) node;
  3. move the connections from the default KSampler to the one we just added and connect it to the image output;
  4. connect the config node's scheduler to the new KSampler;
  5. press run.

Debug Logs

2025-07-04T09:51:09.621990 -  >> To allow unsafe loading for specific trusted legacy models (e.g., older .pt),
2025-07-04T09:51:09.622006 -  >> add their base filenames (one per line) to this file.
2025-07-04T09:51:09.622055 - [Impact Pack/Subpack] Created empty whitelist file: /home/<user>/local-installation/ComfyUI/user/default/ComfyUI-Impact-Subpack/model-whitelist.txt
2025-07-04T09:51:09.931771 - [Impact Subpack] ultralytics_bbox: /home/<user>/local-installation/ComfyUI/models/ultralytics/bbox
2025-07-04T09:51:09.931841 - [Impact Subpack] ultralytics_segm: /home/<user>/local-installation/ComfyUI/models/ultralytics/segm
2025-07-04T09:51:10.360503 - [34mWAS Node Suite: [0mOpenCV Python FFMPEG support is enabled[0m2025-07-04T09:51:10.360530 -
2025-07-04T09:51:10.360557 - [34mWAS Node Suite [93mWarning: [0m`ffmpeg_bin_path` is not set in `/home/<user>/local-installation/ComfyUI/custom_nodes/was-node-suite-comfyui/was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.[0m2025-07-04T09:51:10.360569 -
2025-07-04T09:51:10.530311 - [34mWAS Node Suite: [0mFinished.[0m [32mLoaded[0m [0m220[0m [32mnodes successfully.[0m2025-07-04T09:51:10.530335 -
2025-07-04T09:51:10.530357 -
        [3m[93m"Art is the freedom to create, explore, and inspire."[0m[3m - Unknown[0m
2025-07-04T09:51:10.530369 -
2025-07-04T09:51:10.533736 - ### Loading: ComfyUI-Impact-Pack (V8.17.1)2025-07-04T09:51:10.533754 -
2025-07-04T09:51:10.604315 - [Impact Pack] Wildcards loading done.2025-07-04T09:51:10.604340 -
2025-07-04T09:51:10.733998 -
2025-07-04T09:51:10.734037 - [92m[rgthree-comfy] Loaded 47 extraordinary nodes. 🎉[0m2025-07-04T09:51:10.734059 -
2025-07-04T09:51:10.734074 -
2025-07-04T09:51:10.736661 - ### Loading: ComfyUI-Manager (V3.33.6)
2025-07-04T09:51:10.736903 - [ComfyUI-Manager] network_mode: public
2025-07-04T09:51:10.759154 - ### ComfyUI Version: v0.3.43-22-g27870ec3 | Released on '2025-07-04'
2025-07-04T09:51:10.763148 -
Import times for custom nodes:
2025-07-04T09:51:10.763195 -    0.0 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/websocket_image_save.py
2025-07-04T09:51:10.763221 -    0.0 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/sd-dynamic-thresholding
2025-07-04T09:51:10.763243 -    0.0 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/comfyui-manager
2025-07-04T09:51:10.763261 -    0.0 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/efficiency-nodes-comfyui
2025-07-04T09:51:10.763279 -    0.1 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/comfyui-impact-pack
2025-07-04T09:51:10.763296 -    0.1 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/rgthree-comfy
2025-07-04T09:51:10.763313 -    0.3 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/ComfyUI-Impact-Subpack
2025-07-04T09:51:10.763330 -    0.6 seconds: /home/<user>/local-installation/ComfyUI/custom_nodes/was-node-suite-comfyui
2025-07-04T09:51:10.763347 -
2025-07-04T09:51:10.829853 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-07-04T09:51:10.833410 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-07-04T09:51:11.009658 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-07-04T09:51:11.052012 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-07-04T09:51:11.106956 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-07-04T09:51:11.112472 - Context impl SQLiteImpl.
2025-07-04T09:51:11.112524 - Will assume non-transactional DDL.
2025-07-04T09:51:11.112989 - No target revision found.
2025-07-04T09:51:11.119765 - Starting server

2025-07-04T09:51:11.119895 - To see the GUI go to: http://127.0.0.1:8188
2025-07-04T09:51:13.549995 - FETCH ComfyRegistry Data: 5/902025-07-04T09:51:13.550020 -
2025-07-04T09:51:16.541788 - FETCH ComfyRegistry Data: 10/902025-07-04T09:51:16.541857 -
2025-07-04T09:51:19.539908 - FETCH ComfyRegistry Data: 15/902025-07-04T09:51:19.539930 -
2025-07-04T09:51:22.539306 - FETCH ComfyRegistry Data: 20/902025-07-04T09:51:22.539330 -
2025-07-04T09:51:25.497008 - FETCH ComfyRegistry Data: 25/902025-07-04T09:51:25.497033 -
2025-07-04T09:51:28.524494 - FETCH ComfyRegistry Data: 30/902025-07-04T09:51:28.524522 -
2025-07-04T09:51:31.521533 - FETCH ComfyRegistry Data: 35/902025-07-04T09:51:31.521560 -
2025-07-04T09:51:34.484684 - FETCH ComfyRegistry Data: 40/902025-07-04T09:51:34.484709 -
2025-07-04T09:51:37.852655 - FETCH ComfyRegistry Data: 45/902025-07-04T09:51:37.852680 -
2025-07-04T09:51:40.802803 - FETCH ComfyRegistry Data: 50/902025-07-04T09:51:40.802830 -
2025-07-04T09:51:43.781125 - FETCH ComfyRegistry Data: 55/902025-07-04T09:51:43.781153 -
2025-07-04T09:51:47.384198 - FETCH ComfyRegistry Data: 60/902025-07-04T09:51:47.384224 -
2025-07-04T09:51:50.526101 - FETCH ComfyRegistry Data: 65/902025-07-04T09:51:50.526127 -
2025-07-04T09:51:53.622166 - FETCH ComfyRegistry Data: 70/902025-07-04T09:51:53.622192 -
2025-07-04T09:51:56.692996 - FETCH ComfyRegistry Data: 75/902025-07-04T09:51:56.693022 -
2025-07-04T09:51:59.814080 - FETCH ComfyRegistry Data: 80/902025-07-04T09:51:59.814106 -
2025-07-04T09:52:02.840097 - FETCH ComfyRegistry Data: 85/902025-07-04T09:52:02.840123 -
2025-07-04T09:52:05.892848 - FETCH ComfyRegistry Data: 90/902025-07-04T09:52:05.892874 -
2025-07-04T09:52:06.392987 - FETCH ComfyRegistry Data [DONE]2025-07-04T09:52:06.393019 -
2025-07-04T09:52:06.461510 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-07-04T09:52:06.468028 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-07-04T09:52:06.468044 - 2025-07-04T09:52:06.518113 -  [DONE]2025-07-04T09:52:06.518140 -
2025-07-04T09:52:06.546403 - [ComfyUI-Manager] All startup tasks have been completed.
2025-07-04T10:29:44.337908 - got prompt
2025-07-04T10:29:44.338350 - Failed to validate prompt for output 11:
2025-07-04T10:29:44.338387 - * (prompt):
2025-07-04T10:29:44.338411 -   - Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'AYS SD1', 'AYS SDXL', 'AYS SVD', 'GITS'])
2025-07-04T10:29:44.338435 - * KSampler (Efficient) 11:
2025-07-04T10:29:44.338454 -   - Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'AYS SD1', 'AYS SDXL', 'AYS SVD', 'GITS'])
2025-07-04T10:29:44.338473 - Output will be ignored
2025-07-04T10:29:44.338501 - Failed to validate prompt for output 9:
2025-07-04T10:29:44.338532 - Output will be ignored
2025-07-04T10:29:44.338575 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': "Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'AYS SD1', 'AYS SDXL', 'AYS SVD', 'GITS'])", 'extra_info': {}}

Other

Reposted from Comfy-Org/ComfyUI_frontend#4347 at request of contributor

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUser is reporting a bug. This should be tested.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions