Skip to content

Failed to export the model with torch.export. #120

@monstari

Description

@monstari

ComfyUI Error Report

Error Details

  • Node ID: 53
  • Node Type: STATIC_TRT_MODEL_CONVERSION
  • Exception Type: torch.onnx._internal.exporter._errors.TorchExportError
  • Exception Message: Failed to export the model with torch.export. �[96mThis is step 1/3�[0m of exporting the model to ONNX. Next steps:
  • Modify the model code for torch.export.export to succeed. Refer to https://pytorch.org/docs/stable/generated/exportdb/index.html for more information.
  • Debug torch.export.export and submit a PR to PyTorch.
  • Create an issue in the PyTorch GitHub repository against the �[96mtorch.export�[0m component and attach the full error stack as well as reproduction scripts.

Exception summary

<class 'torch._dynamo.exc.UserError'>: Detected mismatch between the structure of inputs and dynamic_shapes: inputs[3] is a <class 'tuple'>, but dynamic_shapes[3] is a <class 'dict'>
For more information about this error, see: https://pytorch.org/docs/main/generated/exportdb/index.html#dynamic-shapes-validation

The error above occurred when calling torch.export.export. If you would like to view some more information about this error, and get a list of all other errors that may occur in your export call, you can replace your export() call with draft_export().

(Refer to the full stack trace above for more information.)

Stack Trace

  File "/home/rtl-2/ComfyUI/execution.py", line 498, in execute
    output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/rtl-2/ComfyUI/execution.py", line 316, in get_output_data
    return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/rtl-2/ComfyUI/execution.py", line 290, in _async_map_node_over_list
    await process_inputs(input_dict, i)

  File "/home/rtl-2/ComfyUI/execution.py", line 278, in process_inputs
    result = f(**inputs)
             ^^^^^^^^^^^

  File "/home/rtl-2/ComfyUI/custom_nodes/comfyui_tensorrt/tensorrt_convert.py", line 627, in convert
    return super()._convert(
           ^^^^^^^^^^^^^^^^^

  File "/home/rtl-2/ComfyUI/custom_nodes/comfyui_tensorrt/tensorrt_convert.py", line 282, in _convert
    torch.onnx.export(

  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/__init__.py", line 296, in export
    return _compat.export_compat(
           ^^^^^^^^^^^^^^^^^^^^^^

  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_compat.py", line 143, in export_compat
    onnx_program = _core.export(
                   ^^^^^^^^^^^^^

  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_flags.py", line 23, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^

  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_core.py", line 1385, in export
    raise _errors.TorchExportError(

System Information

  • ComfyUI Version: 0.3.67
  • Arguments: main.py
  • OS: posix
  • Python Version: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0]
  • Embedded Python: false
  • PyTorch Version: 2.9.0+cu128

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 25296044032
    • VRAM Free: 24160501760
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2025-11-03T19:18:09.103864 - [START] Security scan2025-11-03T19:18:09.103892 - 
2025-11-03T19:18:09.122721 - [ComfyUI-Manager] Using uv as Python module for pip operations.
2025-11-03T19:18:09.165479 - [DONE] Security scan2025-11-03T19:18:09.165491 - 
2025-11-03T19:18:09.186853 - ## ComfyUI-Manager: installing dependencies done.2025-11-03T19:18:09.186880 - 
2025-11-03T19:18:09.186894 - ** ComfyUI startup time:2025-11-03T19:18:09.186903 -  2025-11-03T19:18:09.186912 - 2025-11-03 19:18:09.1862025-11-03T19:18:09.186919 - 
2025-11-03T19:18:09.186930 - ** Platform:2025-11-03T19:18:09.186937 -  2025-11-03T19:18:09.186944 - Linux2025-11-03T19:18:09.186951 - 
2025-11-03T19:18:09.186959 - ** Python version:2025-11-03T19:18:09.186966 -  2025-11-03T19:18:09.186973 - 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0]2025-11-03T19:18:09.186980 - 
2025-11-03T19:18:09.186988 - ** Python executable:2025-11-03T19:18:09.186994 -  2025-11-03T19:18:09.187001 - /home/rtl-2/venv/bin/python2025-11-03T19:18:09.187007 - 
2025-11-03T19:18:09.187015 - ** ComfyUI Path:2025-11-03T19:18:09.187021 -  2025-11-03T19:18:09.187028 - /home/rtl-2/ComfyUI2025-11-03T19:18:09.187035 - 
2025-11-03T19:18:09.187042 - ** ComfyUI Base Folder Path:2025-11-03T19:18:09.187049 -  2025-11-03T19:18:09.187059 - /home/rtl-2/ComfyUI2025-11-03T19:18:09.187065 - 
2025-11-03T19:18:09.187073 - ** User directory:2025-11-03T19:18:09.187080 -  2025-11-03T19:18:09.187086 - /home/rtl-2/ComfyUI/user2025-11-03T19:18:09.187092 - 
2025-11-03T19:18:09.187100 - ** ComfyUI-Manager config path:2025-11-03T19:18:09.187106 -  2025-11-03T19:18:09.187113 - /home/rtl-2/ComfyUI/user/default/ComfyUI-Manager/config.ini2025-11-03T19:18:09.187119 - 
2025-11-03T19:18:09.187129 - ** Log path:2025-11-03T19:18:09.187138 -  2025-11-03T19:18:09.187146 - /home/rtl-2/ComfyUI/user/comfyui.log2025-11-03T19:18:09.187152 - 
2025-11-03T19:18:09.231583 - 
Prestartup times for custom nodes:
2025-11-03T19:18:09.231688 -    0.2 seconds: /home/rtl-2/ComfyUI/custom_nodes/comfyui-manager
2025-11-03T19:18:09.231712 - 
2025-11-03T19:18:10.043586 - Checkpoint files will always be loaded safely.
2025-11-03T19:18:10.196666 - Total VRAM 24124 MB, total RAM 31195 MB
2025-11-03T19:18:10.196748 - pytorch version: 2.9.0+cu128
2025-11-03T19:18:10.196936 - Set vram state to: NORMAL_VRAM
2025-11-03T19:18:10.197114 - Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
2025-11-03T19:18:10.205289 - working around nvidia conv3d memory bug.
2025-11-03T19:18:10.854645 - Using pytorch attention
2025-11-03T19:18:11.633469 - Python version: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0]
2025-11-03T19:18:11.633529 - ComfyUI version: 0.3.67
2025-11-03T19:18:11.635739 - ComfyUI frontend version: 1.28.8
2025-11-03T19:18:11.636042 - [Prompt Server] web root: /home/rtl-2/venv/lib/python3.12/site-packages/comfyui_frontend_package/static
2025-11-03T19:18:12.318306 - ### Loading: ComfyUI-Manager (V3.37)
2025-11-03T19:18:12.318647 - [ComfyUI-Manager] network_mode: public
2025-11-03T19:18:12.346803 - ### ComfyUI Revision: 4133 [f2bb3230] *DETACHED | Released on '2025-10-28'
2025-11-03T19:18:12.536443 - WIDEN logging configured: level=INFO, memory_logs=False, diagnostics=False
2025-11-03T19:18:12.538853 - ==================================================2025-11-03T19:18:12.538884 - 
2025-11-03T19:18:12.538899 - LOADING DONUTWIDENMERGECLIP VERSION 7.0 - FULL ZERO-ACCUMULATION - BUGFIXED2025-11-03T19:18:12.538909 - 
2025-11-03T19:18:12.538920 - ==================================================2025-11-03T19:18:12.538929 - 
2025-11-03T19:18:12.540216 - [DonutHotReload] Stopped any existing file watching on import2025-11-03T19:18:12.540235 - 
2025-11-03T19:18:12.547908 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-11-03T19:18:12.559870 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-11-03T19:18:12.651625 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-11-03T19:18:12.734791 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-11-03T19:18:12.755742 - ### MagCache for SDXL: CheckpointLoaderSimple patched to inject model name. ###2025-11-03T19:18:12.755841 - 
2025-11-03T19:18:12.755858 - ### MagCache for SDXL loaded ###2025-11-03T19:18:12.755872 - 
2025-11-03T19:18:12.759886 - 
Import times for custom nodes:
2025-11-03T19:18:12.760102 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/websocket_image_save.py
2025-11-03T19:18:12.760131 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/comfyui-sampler-lcm-alternative
2025-11-03T19:18:12.760155 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/sd-perturbed-attention
2025-11-03T19:18:12.760177 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/ComfyUI-TorchCompileSpeed
2025-11-03T19:18:12.760198 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/ComfyUI-Magcache-for-SDXL
2025-11-03T19:18:12.760218 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/wavespeed
2025-11-03T19:18:12.760238 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/comfyui-kjnodes
2025-11-03T19:18:12.760257 -    0.0 seconds: /home/rtl-2/ComfyUI/custom_nodes/comfyui_tensorrt
2025-11-03T19:18:12.760276 -    0.1 seconds: /home/rtl-2/ComfyUI/custom_nodes/teacache
2025-11-03T19:18:12.760295 -    0.2 seconds: /home/rtl-2/ComfyUI/custom_nodes/comfyui-manager
2025-11-03T19:18:12.760402 -    0.2 seconds: /home/rtl-2/ComfyUI/custom_nodes/donutnodes
2025-11-03T19:18:12.760424 - 
2025-11-03T19:18:12.776148 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-11-03T19:18:13.077075 - Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: /home/rtl-2/miniconda3/envs/facefusion/lib/python3.12/lib-dynload/_sqlite3.cpython-312-x86_64-linux-gnu.so: undefined symbol: sqlite3_deserialize
2025-11-03T19:18:13.084815 - Starting server

2025-11-03T19:18:13.085189 - To see the GUI go to: http://127.0.0.1:8188
2025-11-03T19:18:16.435031 - FETCH ComfyRegistry Data: 5/1042025-11-03T19:18:16.435066 - 
2025-11-03T19:18:19.923337 - got prompt
2025-11-03T19:18:20.008831 - input_blocks.1.0.skip_connection.weight down_blocks.0.resnets.0.conv_shortcut.weight
2025-11-03T19:18:20.008919 - input_blocks.1.0.skip_connection.bias down_blocks.0.resnets.0.conv_shortcut.bias
2025-11-03T19:18:20.008943 - input_blocks.2.0.skip_connection.weight down_blocks.0.resnets.1.conv_shortcut.weight
2025-11-03T19:18:20.008959 - input_blocks.2.0.skip_connection.bias down_blocks.0.resnets.1.conv_shortcut.bias
2025-11-03T19:18:20.008987 - input_blocks.5.0.skip_connection.weight down_blocks.1.resnets.1.conv_shortcut.weight
2025-11-03T19:18:20.009002 - input_blocks.5.0.skip_connection.bias down_blocks.1.resnets.1.conv_shortcut.bias
2025-11-03T19:18:20.009064 - input_blocks.8.0.skip_connection.weight down_blocks.2.resnets.1.conv_shortcut.weight
2025-11-03T19:18:20.009077 - input_blocks.8.0.skip_connection.bias down_blocks.2.resnets.1.conv_shortcut.bias
2025-11-03T19:18:20.009124 - input_blocks.9.0.op.weight down_blocks.2.downsamplers.0.conv.weight
2025-11-03T19:18:20.009137 - input_blocks.9.0.op.bias down_blocks.2.downsamplers.0.conv.bias
2025-11-03T19:18:20.009189 - middle_block.0.skip_connection.weight mid_block.resnets.0.conv_shortcut.weight
2025-11-03T19:18:20.009203 - middle_block.0.skip_connection.bias mid_block.resnets.0.conv_shortcut.bias
2025-11-03T19:18:20.009218 - middle_block.2.skip_connection.weight mid_block.resnets.1.conv_shortcut.weight
2025-11-03T19:18:20.009233 - middle_block.2.skip_connection.bias mid_block.resnets.1.conv_shortcut.bias
2025-11-03T19:18:20.009396 - output_blocks.8.1.conv.weight up_blocks.2.upsamplers.0.conv.weight
2025-11-03T19:18:20.009411 - output_blocks.8.1.conv.bias up_blocks.2.upsamplers.0.conv.bias
2025-11-03T19:18:20.009427 - label_emb.0.0.bias class_embedding.linear_1.bias
2025-11-03T19:18:20.009448 - label_emb.0.2.bias class_embedding.linear_2.bias
2025-11-03T19:18:20.009463 - label_emb.0.0.weight class_embedding.linear_1.weight
2025-11-03T19:18:20.009477 - label_emb.0.2.weight class_embedding.linear_2.weight
2025-11-03T19:18:20.039703 - model weight dtype torch.float16, manual cast: None
2025-11-03T19:18:20.040314 - model_type EPS
2025-11-03T19:18:20.478029 - FETCH ComfyRegistry Data: 10/1042025-11-03T19:18:20.478101 - 
2025-11-03T19:18:21.592558 - Requested to load SDXLClipModel
2025-11-03T19:18:21.601009 - loaded completely 9.5367431640625e+25 1560.802734375 True
2025-11-03T19:18:21.603446 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
2025-11-03T19:18:21.636993 - clip missing: ['text_projection.weight']
2025-11-03T19:18:21.867128 - Using pytorch attention in VAE
2025-11-03T19:18:21.867728 - Using pytorch attention in VAE
2025-11-03T19:18:21.957119 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-11-03T19:18:22.698753 - Requested to load SDXL
2025-11-03T19:18:23.323074 - loaded completely 9.5367431640625e+25 4897.0483474731445 True
2025-11-03T19:18:23.433137 - /home/rtl-2/ComfyUI/custom_nodes/comfyui_tensorrt/tensorrt_convert.py:282: UserWarning: # 'dynamic_axes' is not recommended when dynamo=True, and may lead to 'torch._dynamo.exc.UserError: Constraints violated.' Supply the 'dynamic_shapes' argument instead if export is unsuccessful.
  torch.onnx.export(
2025-11-03T19:18:23.433750 - W1103 19:18:23.433000 57122 torch/onnx/_internal/exporter/_compat.py:114] Setting ONNX exporter to use operator set version 18 because the requested opset_version 17 is a lower version than we have implementations for. Automatic version conversion will be performed, which may not be successful at converting to the requested version. If version conversion is unsuccessful, the opset version of the exported model will be kept at 18. Please consider setting opset_version >=18 to leverage latest ONNX features
2025-11-03T19:18:24.026830 - !!! Exception during processing !!! Failed to export the model with torch.export. �[96mThis is step 1/3�[0m of exporting the model to ONNX. Next steps:
- Modify the model code for `torch.export.export` to succeed. Refer to https://pytorch.org/docs/stable/generated/exportdb/index.html for more information.
- Debug `torch.export.export` and submit a PR to PyTorch.
- Create an issue in the PyTorch GitHub repository against the �[96m*torch.export*�[0m component and attach the full error stack as well as reproduction scripts.

## Exception summary

<class 'torch._dynamo.exc.UserError'>: Detected mismatch between the structure of `inputs` and `dynamic_shapes`: `inputs[3]` is a <class 'tuple'>, but `dynamic_shapes[3]` is a <class 'dict'>
For more information about this error, see: https://pytorch.org/docs/main/generated/exportdb/index.html#dynamic-shapes-validation

The error above occurred when calling torch.export.export. If you would like to view some more information about this error, and get a list of all other errors that may occur in your export call, you can replace your `export()` call with `draft_export()`.

(Refer to the full stack trace above for more information.)
2025-11-03T19:18:24.029163 - Traceback (most recent call last):
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_capture_strategies.py", line 118, in __call__
    exported_program = self._capture(model, args, kwargs, dynamic_shapes)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_capture_strategies.py", line 225, in _capture
    raise exc from None
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_capture_strategies.py", line 210, in _capture
    return torch.export.export(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/__init__.py", line 311, in export
    raise e
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/__init__.py", line 277, in export
    return _export(
           ^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/_trace.py", line 1163, in wrapper
    raise e
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/_trace.py", line 1129, in wrapper
    ep = fn(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/exported_program.py", line 124, in wrapper
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/_trace.py", line 2255, in _export
    ep = _export_for_training(
         ^^^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/_trace.py", line 1163, in wrapper
    raise e
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/_trace.py", line 1129, in wrapper
    ep = fn(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/exported_program.py", line 124, in wrapper
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/_trace.py", line 2071, in _export_for_training
    export_artifact = export_func(
                      ^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/_trace.py", line 1957, in _non_strict_export
    ) = make_fake_inputs(
        ^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/_export/non_strict_utils.py", line 356, in make_fake_inputs
    _check_dynamic_shapes(combined_args, dynamic_shapes)
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/dynamic_shapes.py", line 1031, in _check_dynamic_shapes
    _tree_map_with_path(check_shape, combined_args, dynamic_shapes, tree_name="inputs")
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/dynamic_shapes.py", line 686, in _tree_map_with_path
    _compare(tree_spec, other_tree_spec, [])
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/dynamic_shapes.py", line 677, in _compare
    _compare(
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/dynamic_shapes.py", line 652, in _compare
    raise_mismatch_error(
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/export/dynamic_shapes.py", line 634, in raise_mismatch_error
    raise UserError(
torch._dynamo.exc.UserError: Detected mismatch between the structure of `inputs` and `dynamic_shapes`: `inputs[3]` is a <class 'tuple'>, but `dynamic_shapes[3]` is a <class 'dict'>
For more information about this error, see: https://pytorch.org/docs/main/generated/exportdb/index.html#dynamic-shapes-validation

The error above occurred when calling torch.export.export. If you would like to view some more information about this error, and get a list of all other errors that may occur in your export call, you can replace your `export()` call with `draft_export()`.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/rtl-2/ComfyUI/execution.py", line 498, in execute
    output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/ComfyUI/execution.py", line 316, in get_output_data
    return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/ComfyUI/execution.py", line 290, in _async_map_node_over_list
    await process_inputs(input_dict, i)
  File "/home/rtl-2/ComfyUI/execution.py", line 278, in process_inputs
    result = f(**inputs)
             ^^^^^^^^^^^
  File "/home/rtl-2/ComfyUI/custom_nodes/comfyui_tensorrt/tensorrt_convert.py", line 627, in convert
    return super()._convert(
           ^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/ComfyUI/custom_nodes/comfyui_tensorrt/tensorrt_convert.py", line 282, in _convert
    torch.onnx.export(
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/__init__.py", line 296, in export
    return _compat.export_compat(
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_compat.py", line 143, in export_compat
    onnx_program = _core.export(
                   ^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_flags.py", line 23, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/rtl-2/venv/lib/python3.12/site-packages/torch/onnx/_internal/exporter/_core.py", line 1385, in export
    raise _errors.TorchExportError(
torch.onnx._internal.exporter._errors.TorchExportError: Failed to export the model with torch.export. �[96mThis is step 1/3�[0m of exporting the model to ONNX. Next steps:
- Modify the model code for `torch.export.export` to succeed. Refer to https://pytorch.org/docs/stable/generated/exportdb/index.html for more information.
- Debug `torch.export.export` and submit a PR to PyTorch.
- Create an issue in the PyTorch GitHub repository against the �[96m*torch.export*�[0m component and attach the full error stack as well as reproduction scripts.

## Exception summary

<class 'torch._dynamo.exc.UserError'>: Detected mismatch between the structure of `inputs` and `dynamic_shapes`: `inputs[3]` is a <class 'tuple'>, but `dynamic_shapes[3]` is a <class 'dict'>
For more information about this error, see: https://pytorch.org/docs/main/generated/exportdb/index.html#dynamic-shapes-validation

The error above occurred when calling torch.export.export. If you would like to view some more information about this error, and get a list of all other errors that may occur in your export call, you can replace your `export()` call with `draft_export()`.

(Refer to the full stack trace above for more information.)

2025-11-03T19:18:24.030251 - Prompt executed in 4.11 seconds

Attached Workflow

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

{"id":"c6dec905-fa45-4cf1-9826-f7fa27eb139c","revision":0,"last_node_id":54,"last_link_id":128,"nodes":[{"id":3,"type":"Reroute","pos":[915.8761137623814,-165.81215754801119],"size":[75,26],"flags":{},"order":5,"mode":0,"inputs":[{"name":"","type":"*","link":75}],"outputs":[{"name":"","type":"CLIP","links":[4,5]}],"properties":{"showOutputText":false,"horizontal":false},"color":"#432","bgcolor":"#653"},{"id":4,"type":"Reroute","pos":[920.3820091443812,-103.47136678401104],"size":[75,26],"flags":{},"order":6,"mode":0,"inputs":[{"name":"","type":"*","link":76}],"outputs":[{"name":"","type":"VAE","links":[11]}],"properties":{"showOutputText":false,"horizontal":false},"color":"#322","bgcolor":"#533"},{"id":10,"type":"VAEDecode","pos":[2127.2067322787143,-381.237283506383],"size":[140,46],"flags":{},"order":22,"mode":4,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":34},{"localized_name":"vae","name":"vae","type":"VAE","link":11}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[13]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"VAEDecode"},"widgets_values":[],"color":"#322","bgcolor":"#533"},{"id":1,"type":"CheckpointLoaderSimple","pos":[595.8727772413167,-108.51462364943677],"size":[270,98],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"ckpt_name","name":"ckpt_name","type":"COMBO","widget":{"name":"ckpt_name"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[]},{"localized_name":"VAE","name":"VAE","type":"VAE","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["cyberrealisticXL_v70.safetensors"],"color":"#323","bgcolor":"#535"},{"id":6,"type":"CLIPTextEncode","pos":[1166.1059444252453,65.93923228494522],"size":[281.21565961137264,153.0082356603299],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":5},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[29,31]}],"title":"Negative","properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"CLIPTextEncode"},"widgets_values":["out of frame, lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature"],"color":"#432","bgcolor":"#653"},{"id":28,"type":"FreSca","pos":[1749.946716772126,-712.6260581367927],"size":[270,106],"flags":{},"order":19,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":100},{"localized_name":"scale_low","name":"scale_low","type":"FLOAT","widget":{"name":"scale_low"},"link":null},{"localized_name":"scale_high","name":"scale_high","type":"FLOAT","widget":{"name":"scale_high"},"link":null},{"localized_name":"freq_cutoff","name":"freq_cutoff","type":"INT","widget":{"name":"freq_cutoff"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[123]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"FreSca"},"widgets_values":[1,1.25,20],"color":"#323","bgcolor":"#535"},{"id":38,"type":"ApplyFBCacheOnModel","pos":[1078.4042073508958,-734.4590612603912],"size":[315,154],"flags":{},"order":14,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":122},{"localized_name":"object_to_patch","name":"object_to_patch","type":"STRING","widget":{"name":"object_to_patch"},"link":null},{"localized_name":"residual_diff_threshold","name":"residual_diff_threshold","type":"FLOAT","widget":{"name":"residual_diff_threshold"},"link":null},{"localized_name":"start","name":"start","type":"FLOAT","widget":{"name":"start"},"link":null},{"localized_name":"end","name":"end","type":"FLOAT","widget":{"name":"end"},"link":null},{"localized_name":"max_consecutive_cache_hits","name":"max_consecutive_cache_hits","type":"INT","widget":{"name":"max_consecutive_cache_hits"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[107]}],"properties":{"cnr_id":"wavespeed","ver":"1.1.8","Node name for S&R":"ApplyFBCacheOnModel"},"widgets_values":["diffusion_model",0.25,0.35,1,-1],"color":"#323","bgcolor":"#535"},{"id":13,"type":"LoraLoaderModelOnly","pos":[1141.1796202742062,-273.8604108153932],"size":[270,82],"flags":{},"order":7,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":38},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[39]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["sd_xl_turbo_lora_v1-128dim.safetensors",1],"color":"#323","bgcolor":"#535"},{"id":11,"type":"PreviewImage","pos":[2303.50950555786,-374.7107935066487],"size":[603.008148781058,622.3011476466143],"flags":{},"order":23,"mode":4,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":13}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":45,"type":"DonutSDXLTeaCache","pos":[1103.1785843700047,-965.4088264805448],"size":[270,178],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":107},{"localized_name":"cache_threshold","name":"cache_threshold","type":"FLOAT","widget":{"name":"cache_threshold"},"link":null},{"localized_name":"start_percent","name":"start_percent","type":"FLOAT","widget":{"name":"start_percent"},"link":null},{"localized_name":"end_percent","name":"end_percent","type":"FLOAT","widget":{"name":"end_percent"},"link":null},{"localized_name":"cache_device","name":"cache_device","type":"COMBO","widget":{"name":"cache_device"},"link":null},{"localized_name":"enable","name":"enable","type":"BOOLEAN","widget":{"name":"enable"},"link":null},{"localized_name":"cache_mode","name":"cache_mode","type":"COMBO","widget":{"name":"cache_mode"},"link":null}],"outputs":[{"localized_name":"model","name":"model","type":"MODEL","links":[120]}],"properties":{"cnr_id":"donutnodes","ver":"1.0.29","Node name for S&R":"DonutSDXLTeaCache"},"widgets_values":[7,0.4,1,"cuda",true,"conservative"],"color":"#323","bgcolor":"#535"},{"id":33,"type":"ModelPatchTorchSettings","pos":[1106.2222413990712,-513.8047857767539],"size":[307.443359375,58],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":79},{"localized_name":"enable_fp16_accumulation","name":"enable_fp16_accumulation","type":"BOOLEAN","widget":{"name":"enable_fp16_accumulation"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[122]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"1.1.8","Node name for S&R":"ModelPatchTorchSettings"},"widgets_values":[true],"color":"#323","bgcolor":"#535"},{"id":18,"type":"NormalizedAttentionGuidance","pos":[1454.2987126055643,-525.0791114024977],"size":[254.24148437499994,198],"flags":{},"order":17,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":98},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":31},{"localized_name":"scale","name":"scale","type":"FLOAT","widget":{"name":"scale"},"link":null},{"localized_name":"tau","name":"tau","type":"FLOAT","widget":{"name":"tau"},"link":null},{"localized_name":"alpha","name":"alpha","type":"FLOAT","widget":{"name":"alpha"},"link":null},{"localized_name":"sigma_start","name":"sigma_start","type":"FLOAT","widget":{"name":"sigma_start"},"link":null},{"localized_name":"sigma_end","name":"sigma_end","type":"FLOAT","widget":{"name":"sigma_end"},"link":null},{"localized_name":"unet_block_list","name":"unet_block_list","shape":7,"type":"STRING","widget":{"name":"unet_block_list"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[99]}],"properties":{"cnr_id":"sd-perturbed-attention","ver":"1.2.15","Node name for S&R":"NormalizedAttentionGuidance"},"widgets_values":[5,2.5,0.5,-1,-1,""],"color":"#323","bgcolor":"#535"},{"id":25,"type":"FreeU_V2","pos":[1448.1871298985013,-724.8437980417955],"size":[270,130],"flags":{},"order":16,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":120},{"localized_name":"b1","name":"b1","type":"FLOAT","widget":{"name":"b1"},"link":null},{"localized_name":"b2","name":"b2","type":"FLOAT","widget":{"name":"b2"},"link":null},{"localized_name":"s1","name":"s1","type":"FLOAT","widget":{"name":"s1"},"link":null},{"localized_name":"s2","name":"s2","type":"FLOAT","widget":{"name":"s2"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[98]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"FreeU_V2"},"widgets_values":[1,1,1,1],"color":"#323","bgcolor":"#535"},{"id":30,"type":"Mahiro","pos":[2058.530117596941,-699.4888905027863],"size":[159.744140625,26],"flags":{},"order":20,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":123}],"outputs":[{"localized_name":"patched_model","name":"patched_model","type":"MODEL","links":[124]}],"title":"Better CFG","properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"Mahiro"},"widgets_values":[],"color":"#323","bgcolor":"#535"},{"id":14,"type":"PathchSageAttentionKJ","pos":[1140.6767719024544,-391.07094371266396],"size":[270,58],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":39},{"localized_name":"sage_attention","name":"sage_attention","type":"COMBO","widget":{"name":"sage_attention"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[79]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"1.1.8","Node name for S&R":"PathchSageAttentionKJ"},"widgets_values":["auto"],"color":"#323","bgcolor":"#535"},{"id":5,"type":"CLIPTextEncode","pos":[1168.681321635548,-77.48507850656928],"size":[265.93521406249977,88],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":4},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[28]}],"title":"Positive","properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"CLIPTextEncode"},"widgets_values":["1girl"],"color":"#432","bgcolor":"#653"},{"id":17,"type":"KSampler","pos":[1847.2701699094048,-401.9589650381415],"size":[270,262],"flags":{},"order":21,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":124},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":28},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":29},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":30},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[34]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"KSampler"},"widgets_values":[27,"fixed",20,6,"euler","beta",1],"color":"#323","bgcolor":"#535"},{"id":12,"type":"EmptyLatentImage","pos":[1504.788941430724,-33.700070707005295],"size":[262.74,106],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[30]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"EmptyLatentImage"},"widgets_values":[1280,768,1],"color":"#323","bgcolor":"#535"},{"id":2,"type":"Reroute","pos":[914.4198137623815,-215.58025754801116],"size":[75,26],"flags":{},"order":3,"mode":0,"inputs":[{"name":"","type":"*","link":74}],"outputs":[{"name":"","type":"MODEL","links":[38,125]}],"properties":{"showOutputText":false,"horizontal":false},"color":"#323","bgcolor":"#535"},{"id":52,"type":"DYNAMIC_TRT_MODEL_CONVERSION","pos":[585.6287245826253,-789.4161766929573],"size":[350.8951171875,370],"flags":{},"order":8,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":125},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"batch_size_min","name":"batch_size_min","type":"INT","widget":{"name":"batch_size_min"},"link":null},{"localized_name":"batch_size_opt","name":"batch_size_opt","type":"INT","widget":{"name":"batch_size_opt"},"link":null},{"localized_name":"batch_size_max","name":"batch_size_max","type":"INT","widget":{"name":"batch_size_max"},"link":null},{"localized_name":"height_min","name":"height_min","type":"INT","widget":{"name":"height_min"},"link":null},{"localized_name":"height_opt","name":"height_opt","type":"INT","widget":{"name":"height_opt"},"link":null},{"localized_name":"height_max","name":"height_max","type":"INT","widget":{"name":"height_max"},"link":null},{"localized_name":"width_min","name":"width_min","type":"INT","widget":{"name":"width_min"},"link":null},{"localized_name":"width_opt","name":"width_opt","type":"INT","widget":{"name":"width_opt"},"link":null},{"localized_name":"width_max","name":"width_max","type":"INT","widget":{"name":"width_max"},"link":null},{"localized_name":"context_min","name":"context_min","type":"INT","widget":{"name":"context_min"},"link":null},{"localized_name":"context_opt","name":"context_opt","type":"INT","widget":{"name":"context_opt"},"link":null},{"localized_name":"context_max","name":"context_max","type":"INT","widget":{"name":"context_max"},"link":null},{"localized_name":"num_video_frames","name":"num_video_frames","type":"INT","widget":{"name":"num_video_frames"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfyui_tensorrt","ver":"0.1.8","Node name for S&R":"DYNAMIC_TRT_MODEL_CONVERSION"},"widgets_values":["tensorrt/WAI-NSFW",1,1,8,768,1024,1280,768,1024,1280,1,1,128,1]},{"id":24,"type":"DiffusersLoader","pos":[597.7522424982991,-269.30608693489717],"size":[259.90530447254514,98],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"model_path","name":"model_path","type":"COMBO","widget":{"name":"model_path"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[74,127]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[75]},{"localized_name":"VAE","name":"VAE","type":"VAE","links":[76]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"DiffusersLoader"},"widgets_values":["WAI-NSFW-illustrious-SDXL-V14.0-V-Prediction"],"color":"#323","bgcolor":"#535"},{"id":53,"type":"STATIC_TRT_MODEL_CONVERSION","pos":[208.0215160383371,-676.806531387813],"size":[341.8306640625,178],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":128},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"batch_size_opt","name":"batch_size_opt","type":"INT","widget":{"name":"batch_size_opt"},"link":null},{"localized_name":"height_opt","name":"height_opt","type":"INT","widget":{"name":"height_opt"},"link":null},{"localized_name":"width_opt","name":"width_opt","type":"INT","widget":{"name":"width_opt"},"link":null},{"localized_name":"context_opt","name":"context_opt","type":"INT","widget":{"name":"context_opt"},"link":null},{"localized_name":"num_video_frames","name":"num_video_frames","type":"INT","widget":{"name":"num_video_frames"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfyui_tensorrt","ver":"0.1.8","Node name for S&R":"STATIC_TRT_MODEL_CONVERSION"},"widgets_values":["tensorrt/WAI-1024x1024",1,1024,1024,1,1]},{"id":8,"type":"ModelSamplingDiscrete","pos":[1476.4980171445156,-272.40380850139576],"size":[267.0717999999997,95.17689999999999],"flags":{},"order":18,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":99},{"localized_name":"sampling","name":"sampling","type":"COMBO","widget":{"name":"sampling"},"link":null},{"localized_name":"zsnr","name":"zsnr","type":"BOOLEAN","widget":{"name":"zsnr"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[100]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"ModelSamplingDiscrete"},"widgets_values":["v_prediction",true],"color":"#323","bgcolor":"#535"},{"id":54,"type":"ModelSamplingDiscrete","pos":[202.19609670256554,-361.37152293842826],"size":[267.0717999999997,95.17689999999999],"flags":{},"order":4,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":127},{"localized_name":"sampling","name":"sampling","type":"COMBO","widget":{"name":"sampling"},"link":null},{"localized_name":"zsnr","name":"zsnr","type":"BOOLEAN","widget":{"name":"zsnr"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[128]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.67","Node name for S&R":"ModelSamplingDiscrete"},"widgets_values":["v_prediction",true],"color":"#323","bgcolor":"#535"}],"links":[[4,3,0,5,0,"CLIP"],[5,3,0,6,0,"CLIP"],[11,4,0,10,1,"VAE"],[13,10,0,11,0,"IMAGE"],[28,5,0,17,1,"CONDITIONING"],[29,6,0,17,2,"CONDITIONING"],[30,12,0,17,3,"LATENT"],[31,6,0,18,1,"CONDITIONING"],[34,17,0,10,0,"LATENT"],[38,2,0,13,0,"MODEL"],[39,13,0,14,0,"MODEL"],[74,24,0,2,0,"*"],[75,24,1,3,0,"*"],[76,24,2,4,0,"*"],[79,14,0,33,0,"MODEL"],[98,25,0,18,0,"MODEL"],[99,18,0,8,0,"MODEL"],[100,8,0,28,0,"MODEL"],[107,38,0,45,0,"MODEL"],[120,45,0,25,0,"MODEL"],[122,33,0,38,0,"MODEL"],[123,28,0,30,0,"MODEL"],[124,30,0,17,0,"MODEL"],[125,2,0,52,0,"MODEL"],[127,24,0,54,0,"MODEL"],[128,54,0,53,0,"MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.6303940863128882,"offset":[24.31442045361396,801.6445472105844]},"frontendVersion":"1.28.8"},"version":0.4}

(venv) rtl-2@rtl-2-BATTLE-AX-B650M-PLUS-WIFI:~/ComfyUI$ pip list
Package Version


aiofiles 24.1.0
aiohappyeyeballs 2.6.1
aiohttp 3.13.2
aiohttp_socks 0.10.1
aiosignal 1.4.0
alembic 1.17.1
annotated-types 0.7.0
attrs 25.4.0
av 16.0.1
certifi 2025.10.5
cffi 2.0.0
chardet 5.2.0
charset-normalizer 3.4.4
click 8.3.0
color-matcher 0.6.0
coloredlogs 15.0.1
comfyui-embedded-docs 0.3.0
comfyui_frontend_package 1.28.8
comfyui_workflow_templates 0.2.4
contourpy 1.3.3
cryptography 46.0.3
cycler 0.12.1
ddt 1.7.2
diffusers 0.35.2
docutils 0.22.2
einops 0.8.1
filelock 3.20.0
flatbuffers 25.9.23
fonttools 4.60.1
frozenlist 1.8.0
fsspec 2025.10.0
gitdb 4.0.12
GitPython 3.1.45
greenlet 3.2.4
h11 0.16.0
h2 4.3.0
hf-xet 1.2.0
hpack 4.1.0
huggingface-hub 0.36.0
humanfriendly 10.0
hyperframe 6.1.0
idna 3.11
imageio 2.37.0
importlib_metadata 8.7.0
Jinja2 3.1.6
jsonschema 4.25.1
jsonschema-specifications 2025.9.1
kiwisolver 1.4.9
kornia 0.8.1
kornia_rs 0.1.9
Mako 1.3.10
markdown-it-py 4.0.0
MarkupSafe 3.0.3
matplotlib 3.10.7
matrix-nio 0.25.2
mdurl 0.1.2
ml_dtypes 0.5.3
mpmath 1.3.0
mss 10.1.0
multidict 6.7.0
networkx 3.5
numpy 2.2.6
nvidia-cublas-cu12 12.8.4.1
nvidia-cuda-cupti-cu12 12.8.90
nvidia-cuda-nvrtc-cu12 12.8.93
nvidia-cuda-runtime-cu12 12.8.90
nvidia-cudnn-cu12 9.10.2.21
nvidia-cufft-cu12 11.3.3.83
nvidia-cufile-cu12 1.13.1.3
nvidia-curand-cu12 10.3.9.90
nvidia-cusolver-cu12 11.7.3.90
nvidia-cusparse-cu12 12.5.8.93
nvidia-cusparselt-cu12 0.7.1
nvidia-nccl-cu12 2.27.5
nvidia-nvjitlink-cu12 12.8.93
nvidia-nvshmem-cu12 3.3.20
nvidia-nvtx-cu12 12.8.90
onnx 1.19.1
onnx-ir 0.1.12
onnxruntime 1.23.2
onnxscript 0.5.6
opencv-python 4.12.0.88
packaging 25.0
pillow 12.0.0
pip 24.0
propcache 0.4.1
protobuf 6.33.0
psutil 7.1.3
pycparser 2.23
pycryptodome 3.23.0
pydantic 2.12.3
pydantic_core 2.41.4
pydantic-settings 2.11.0
PyGithub 2.8.1
Pygments 2.19.2
PyJWT 2.10.1
PyNaCl 1.6.0
pyparsing 3.2.5
python-dateutil 2.9.0.post0
python-dotenv 1.2.1
python-socks 2.7.2
PyYAML 6.0.3
referencing 0.37.0
regex 2025.10.23
requests 2.32.5
rich 14.2.0
rpds-py 0.28.0
safetensors 0.6.2
sageattention 1.0.6
scipy 1.16.3
sentencepiece 0.2.1
setuptools 80.9.0
shellingham 1.5.4
six 1.17.0
smmap 5.0.2
spandrel 0.4.1
SQLAlchemy 2.0.44
sympy 1.14.0
tensorrt 10.4.0
tensorrt-cu12 10.4.0
tensorrt-cu12-bindings 10.4.0
tensorrt-cu12-libs 10.4.0
tokenizers 0.22.1
toml 0.10.2
torch 2.9.0
torchaudio 2.9.0
torchsde 0.2.6
torchvision 0.24.0
tqdm 4.67.1
trampoline 0.1.2
transformers 4.57.1
triton 3.5.0
typer 0.20.0
typing_extensions 4.15.0
typing-inspection 0.4.2
unpaddedbase64 2.1.0
urllib3 2.5.0
uv 0.9.7
yarl 1.22.0
zipp 3.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions