Skip to content

Error while importing model #12

Closed
Closed
@Sinestessia

Description

  1. When importing a model UI is confusing, no progress bar, import button doesnt grey out, etc...

  2. After a while i got this prompt:

======================= 0 NONE 0 NOTE 0 WARNING 1 ERROR ========================
File "${Workspace}\repo\onnx.venv\lib\site-packages\torch\onnx\utils.py", line 506, in export
ERROR: missing-standard-symbolic-function
_export(
=========================================
File "${Workspace}\repo\onnx.venv\lib\site-packages\torch\onnx\utils.py", line 1548, in _export
Exporting the operator 'aten::scaled_dot_product_attention' to ONNX opset version 14 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub: https://github.com/pytorch/pytorch/issues.
graph, params_dict, torch_out = _model_to_graph(
None
File "${Workspace}\repo\onnx.venv\lib\site-packages\torch\onnx\utils.py", line 1117, in _model_to_graph

graph = _optimize_graph(
File "${Workspace}\repo\onnx.venv\lib\site-packages\torch\onnx\utils.py", line 665, in _optimize_graph
graph = _C._jit_pass_onnx(graph, operator_export_type)
File "${Workspace}\repo\onnx.venv\lib\site-packages\torch\onnx\utils.py", line 1901, in _run_symbolic_function
raise errors.UnsupportedOperatorError(
torch.onnx.errors.UnsupportedOperatorError: Exporting the operator 'aten::scaled_dot_product_attention' to ONNX opset version 14 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub: https://github.com/pytorch/pytorch/issues.
${Workspace}\models\shark>exit

Thanks

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions