microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.25k stars 2.87k forks source link

[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running OpenVINO-EP-subgraph_3 node. Name:'OpenVINOExecutionProvider_OpenVINO-EP-subgraph_3_0' #14280

Open saikrishna2893 opened 1 year ago

saikrishna2893 commented 1 year ago

Describe the issue

Trying to run inferencing of stable diffusion onnx model exported from pytorch to onnx with operation set v13. While using OpenVino Execution provider facing the following error regarding reading of the model of UNET, as described above.

[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running OpenVINO-EP-subgraph_3 node. Name:'OpenVINOExecutionProvider_OpenVINO-EP-subgraph_3_0' Status Message: C:\Users\sfatima\source\repos\onnxruntime_newmodel\onnxruntime\onnxruntime\core\providers\openvino\ov_interface.cc:36 class std::shared_ptr __cdecl onnxruntime::openvino_ep::OVCore::ReadModel(const class std::basic_string<char,struct std::char_traits,class std::allocator > &) const [OpenVINO-EP] [OpenVINO-EP] Exception while Reading network: invalid external data: ExternalDataInfo(data_full_path: weights.pb, offset: 0, data_length: 46080, sha1_digest: 0)

To reproduce

Inference the stable diffusion onnx model using Openvino Execution provider link.

Urgency

No response

Platform

Windows

OS Version

11

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.11.0

ONNX Runtime API

Python

Architecture

X64

Execution Provider

OpenVINO

Execution Provider Library Version

2022.1

saikrishna2893 commented 1 year ago

@MaajidKhan Any thoughts on the above issue?

sfatimar commented 1 year ago

Will it be possible for you to convert this model to opset 14 . A similar model which we had with Triu App we were able to work with opset 14 or opset 16

sfatimar commented 1 year ago

sorry Trio Op