comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
55.82k stars 5.89k forks source link

[ONNXRuntimeError] : 1 : FAIL #4972

Closed Gamebropro closed 3 weeks ago

Gamebropro commented 1 month ago

Your question

ComfyUI Error Report

Error Details

Stack Trace

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 200, in tag
    tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 214, in wait_for_async
    loop.run_until_complete(run_async())

  File "asyncio\base_events.py", line 654, in run_until_complete

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 58, in tag
    model = InferenceSession(name, providers=defaults["ortProviders"])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 383, in __init__
    self._create_inference_session(providers, provider_options, disabled_optimizers)

  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 424, in _create_inference_session
    sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Information

Logs

2024-09-19 01:12:12,839 - root - INFO - Total VRAM 4096 MB, total RAM 16294 MB
2024-09-19 01:12:12,839 - root - INFO - pytorch version: 2.4.1+cu124
2024-09-19 01:12:12,841 - root - INFO - Set vram state to: HIGH_VRAM
2024-09-19 01:12:12,841 - root - INFO - Device: cuda:0 NVIDIA GeForce GTX 1650 SUPER : native
2024-09-19 01:12:13,692 - root - INFO - Using pytorch cross attention
2024-09-19 01:12:14,786 - root - INFO - [Prompt Server] web root: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\web
2024-09-19 01:12:17,736 - root - INFO - Total VRAM 4096 MB, total RAM 16294 MB
2024-09-19 01:12:17,736 - root - INFO - pytorch version: 2.4.1+cu124
2024-09-19 01:12:17,737 - root - INFO - Set vram state to: HIGH_VRAM
2024-09-19 01:12:17,737 - root - INFO - Device: cuda:0 NVIDIA GeForce GTX 1650 SUPER : native
2024-09-19 01:12:18,798 - root - WARNING - Traceback (most recent call last):
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Fooocus_KSampler\__init__.py", line 1, in <module>
    from .sampler.nodes import KSamplerWithRefiner
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Fooocus_KSampler\sampler\nodes.py", line 7, in <module>
    from .Fooocus import core
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Fooocus_KSampler\sampler\Fooocus\core.py", line 15, in <module>
    from .patch import patch_all
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Fooocus_KSampler\sampler\Fooocus\patch.py", line 6, in <module>
    from comfy.samplers import model_management, lcm, math
ImportError: cannot import name 'lcm' from 'comfy.samplers' (D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py)

2024-09-19 01:12:18,798 - root - WARNING - Cannot import D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Fooocus_KSampler module for custom nodes: cannot import name 'lcm' from 'comfy.samplers' (D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py)
2024-09-19 01:12:18,803 - root - WARNING - Traceback (most recent call last):
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID\__init__.py", line 1, in <module>
    from .InstantID import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID\InstantID.py", line 13, in <module>
    from insightface.app import FaceAnalysis
ModuleNotFoundError: No module named 'insightface'

2024-09-19 01:12:18,803 - root - WARNING - Cannot import D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID module for custom nodes: No module named 'insightface'
2024-09-19 01:12:22,549 - root - INFO - 
Import times for custom nodes:
2024-09-19 01:12:22,549 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\sd-dynamic-thresholding
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ADV_CLIP_emb
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\stability-ComfyUI-nodes
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-YOLO
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds (IMPORT FAILED): D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds (IMPORT FAILED): D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Fooocus_KSampler
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-animatediff
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
2024-09-19 01:12:22,550 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-QualityOfLifeSuit_Omar92
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Frame-Interpolation
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-segment-anything-2
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials
2024-09-19 01:12:22,551 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-09-19 01:12:22,552 - root - INFO -    0.0 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2024-09-19 01:12:22,552 - root - INFO -    0.1 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
2024-09-19 01:12:22,552 - root - INFO -    0.1 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
2024-09-19 01:12:22,552 - root - INFO -    0.1 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes
2024-09-19 01:12:22,552 - root - INFO -    0.1 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-tbox
2024-09-19 01:12:22,552 - root - INFO -    0.2 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
2024-09-19 01:12:22,552 - root - INFO -    0.2 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2
2024-09-19 01:12:22,552 - root - INFO -    0.3 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-tensorops
2024-09-19 01:12:22,552 - root - INFO -    0.3 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
2024-09-19 01:12:22,552 - root - INFO -    0.4 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-09-19 01:12:22,552 - root - INFO -    0.4 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-fastblend
2024-09-19 01:12:22,552 - root - INFO -    0.7 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\eden_comfy_pipelines
2024-09-19 01:12:22,552 - root - INFO -    0.8 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle
2024-09-19 01:12:22,553 - root - INFO -    0.9 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use
2024-09-19 01:12:22,553 - root - INFO -    2.1 seconds: D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui
2024-09-19 01:12:22,553 - root - INFO - 
2024-09-19 01:12:22,568 - root - INFO - Starting server

2024-09-19 01:12:22,568 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-09-19 01:13:19,206 - root - INFO - got prompt
2024-09-19 01:13:19,213 - root - ERROR - Failed to validate prompt for output 9:
2024-09-19 01:13:19,213 - root - ERROR - * CheckpointLoaderSimple 4:
2024-09-19 01:13:19,213 - root - ERROR -   - Value not in list: ckpt_name: 'aniverse_v50.safetensors' not in []
2024-09-19 01:13:19,213 - root - ERROR - Output will be ignored
2024-09-19 01:13:50,895 - root - ERROR - !!! Exception during processing !!! [ONNXRuntimeError] : 1 : FAIL : Load model from D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\models\wd-vit-tagger-v3.onnx failed:D:\a\_work\1\s\onnxruntime\core/graph/model_load_utils.h:56 onnxruntime::model_load_utils::ValidateOpsetForDomain ONNX Runtime only *guarantees* support for models stamped with official released onnx opset versions. Opset 4 is under development and support for this is limited. The operator schemas and or other functionality may change before next ONNX release and in this case ONNX Runtime will not guarantee backward compatibility. Current official support for domain ai.onnx.ml is till opset 3.

2024-09-19 01:13:50,934 - root - ERROR - Traceback (most recent call last):
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 200, in tag
    tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 214, in wait_for_async
    loop.run_until_complete(run_async())
  File "asyncio\base_events.py", line 654, in run_until_complete
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 58, in tag
    model = InferenceSession(name, providers=defaults["ortProviders"])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 383, in __init__
    self._create_inference_session(providers, provider_options, disabled_optimizers)
  File "D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 424, in _create_inference_session
    sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from D:\SD WEB UI\api\NEW COMFY\ComfyUI_windows_portable 0.2.2 CU 124\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\models\wd-vit-tagger-v3.onnx failed:D:\a\_work\1\s\onnxruntime\core/graph/model_load_utils.h:56 onnxruntime::model_load_utils::ValidateOpsetForDomain ONNX Runtime only *guarantees* support for models stamped with official released onnx opset versions. Opset 4 is under development and support for this is limited. The operator schemas and or other functionality may change before next ONNX release and in this case ONNX Runtime will not guarantee backward compatibility. Current official support for domain ai.onnx.ml is till opset 3.

2024-09-19 01:13:50,937 - root - INFO - Prompt executed in 31.72 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":18,"last_link_id":21,"nodes":[{"id":6,"type":"CLIPTextEncode","pos":{"0":415,"1":190},"size":{"0":422.84503173828125,"1":164.31304931640625},"flags":{},"order":11,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":12},{"name":"text","type":"STRING","link":17,"widget":{"name":"text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[4],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"],"color":"#572e1a","bgcolor":"#6b422e"},{"id":8,"type":"VAEDecode","pos":{"0":1350,"1":190},"size":{"0":210,"1":46},"flags":{},"order":13,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":7},{"name":"vae","type":"VAE","link":8}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[9],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"},"color":"#2e571a","bgcolor":"#426b2e"},{"id":14,"type":"Note","pos":{"0":-439,"1":812},"size":{"0":329.46337890625,"1":274.3728942871094},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["WD14 Tagger is used to be able automatically create the prompt for your image!\n\nNote: The necessary models will be automatically downloaded and cached when you click on the queue prompt.\n\nThe \"exclude_tages\" section functions like a negative prompt, write the word \"realistic and photorealistic\" in it to exclude them from consideration when analyzing the image."],"color":"#57431a","bgcolor":"#6b572e"},{"id":15,"type":"Note","pos":{"0":-49,"1":909},"size":{"0":413.01593017578125,"1":167.3745574951172},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["The \"String Function\" node takes the prompt generated by the WD14 Tagger and adds it to your desired prompt.\n\nIn the \"text_b\" section, write the name of the LoRA model, and in the \"text_c\" section, you can write your enhancer prompt."],"color":"#57431a","bgcolor":"#6b572e"},{"id":18,"type":"Note","pos":{"0":407,"1":801},"size":{"0":335.2889404296875,"1":104.19551849365234},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["The \"Image Scale to Total Pixels\" node make ensure that your image is resized consistently and appropriately according to SDXL model needs."],"color":"#57431a","bgcolor":"#6b572e"},{"id":16,"type":"ImageScaleToTotalPixels","pos":{"0":411,"1":666},"size":{"0":315,"1":82},"flags":{},"order":6,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":20}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[18],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ImageScaleToTotalPixels"},"widgets_values":["lanczos",1],"color":"#1a5757","bgcolor":"#2e6b6b"},{"id":7,"type":"CLIPTextEncode","pos":{"0":415,"1":408},"size":{"0":425.27801513671875,"1":180.6060791015625},"flags":{},"order":10,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":13}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[6],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["realistic, bad anatomy, deformed body part, low quality, worst quality, blur"],"color":"#572e1a","bgcolor":"#6b422e"},{"id":9,"type":"SaveImage","pos":{"0":1600,"1":190},"size":{"0":463.090087890625,"1":388.25579833984375},"flags":{},"order":14,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":9}],"outputs":[],"properties":{"Node name for S&R":"SaveImage"},"widgets_values":["ComfyUIpapertest"],"color":"#1a5757","bgcolor":"#2e6b6b"},{"id":17,"type":"VAEEncode","pos":{"0":845,"1":680},"size":{"0":178.91940307617188,"1":46},"flags":{},"order":9,"mode":0,"inputs":[{"name":"pixels","type":"IMAGE","link":18},{"name":"vae","type":"VAE","link":21}],"outputs":[{"name":"LATENT","type":"LATENT","links":[19],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEEncode"},"color":"#2e571a","bgcolor":"#426b2e"},{"id":13,"type":"StringFunction|pysssss","pos":{"0":-55,"1":433},"size":{"0":425.3783264160156,"1":417.0511169433594},"flags":{},"order":8,"mode":0,"inputs":[{"name":"text_a","type":"STRING","link":16,"widget":{"name":"text_a"}}],"outputs":[{"name":"STRING","type":"STRING","links":[17],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"StringFunction|pysssss"},"widgets_values":["append","yes","","PaperCutout style","high quality, detailed, papercutout style"]},{"id":12,"type":"LoadImage","pos":{"0":-912,"1":433},"size":{"0":424.58551025390625,"1":358.7901916503906},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[15,20],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["download.jpeg","image"],"color":"#1a5757","bgcolor":"#2e6b6b"},{"id":4,"type":"CheckpointLoaderSimple","pos":{"0":-432,"1":190},"size":{"0":365.5859680175781,"1":98},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[10],"slot_index":0},{"name":"CLIP","type":"CLIP","links":[11],"slot_index":1},{"name":"VAE","type":"VAE","links":[8,21],"slot_index":2}],"properties":{"Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["aniverse_v50.safetensors"],"color":"#571a1a","bgcolor":"#6b2e2e"},{"id":10,"type":"LoraLoader","pos":{"0":-22,"1":190},"size":{"0":392.79486083984375,"1":126},"flags":{},"order":7,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":10},{"name":"clip","type":"CLIP","link":11}],"outputs":[{"name":"MODEL","type":"MODEL","links":[14],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[12,13],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"LoraLoader"},"widgets_values":["Detail Booster_v1.safetensors",0.8,1],"color":"#571a1a","bgcolor":"#6b2e2e"},{"id":3,"type":"KSampler","pos":{"0":1000,"1":190},"size":{"0":315,"1":474},"flags":{},"order":12,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":14},{"name":"positive","type":"CONDITIONING","link":4},{"name":"negative","type":"CONDITIONING","link":6},{"name":"latent_image","type":"LATENT","link":19}],"outputs":[{"name":"LATENT","type":"LATENT","links":[7],"slot_index":0}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[138980626536793,"randomize",20,7.4,"heun","karras",0.6],"color":"#57571a","bgcolor":"#6b6b2e"},{"id":11,"type":"WD14Tagger|pysssss","pos":{"0":-446,"1":433},"size":{"0":344.3951416015625,"1":329.532470703125},"flags":{},"order":5,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":15,"slot_index":0}],"outputs":[{"name":"STRING","type":"STRING","links":[16],"slot_index":0,"shape":6}],"properties":{"Node name for S&R":"WD14Tagger|pysssss"},"widgets_values":["wd-vit-tagger-v3",0.35,0.85,false,false,"realistic, photorealistic,"]}],"links":[[4,6,0,3,1,"CONDITIONING"],[6,7,0,3,2,"CONDITIONING"],[7,3,0,8,0,"LATENT"],[8,4,2,8,1,"VAE"],[9,8,0,9,0,"IMAGE"],[10,4,0,10,0,"MODEL"],[11,4,1,10,1,"CLIP"],[12,10,1,6,0,"CLIP"],[13,10,1,7,0,"CLIP"],[14,10,0,3,0,"MODEL"],[15,12,0,11,0,"IMAGE"],[16,11,0,13,0,"STRING"],[17,13,0,6,1,"STRING"],[18,16,0,17,0,"IMAGE"],[19,17,0,3,3,"LATENT"],[20,12,0,16,0,"IMAGE"],[21,4,2,17,1,"VAE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.6830134553650712,"offset":[972.2427144389343,-136.65576896001144]}},"version":0.4}

Additional Context

(Please add any additional context or steps to reproduce the error here)

Logs

No response

Other

No response

Clusters commented 3 weeks ago

You can try this fix here https://github.com/comfyanonymous/ComfyUI/issues/3716

However, I'm not sure why this linked issue got closed. The issue itself isn't discovered or fixed.

ltdrdata commented 3 weeks ago

This issue is related to the dependencies of custom nodes. Please refer to the comment above.