-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure with OpenvinoEP within ORT #17499
Comments
Any suggestions on this ? @sfatimar @sspintel @jywu-msft |
Hi @lalith-mcw I need more information on the model used here, what's self.model? The error seems to indicate something's invalid with the model used here. |
Trying to run the Stable diffusion pipeline with this model here |
@sspintel this issue is specific to |
I have been through the exact same issue and indeed the only solution I found was to place the weights file at the same location that my script to make it work 🤯 |
We've fixed the issue with the loading of external weights in a recent PR #18596. Please try again. |
Describe the issue
Facing issues with
StableDiffusionPipeline
indiffusers
, trying to inference withOpenvinoEP
using the following snippetAnd facing the following issue with the same, issue is specific to WSL/Ubuntu systems and not receiving the same when inferenced via
Windows
To reproduce
options = SessionOptions()
options.graph_optimization_level = GraphOptimizationLevel.ORT_DISABLE_ALL
OnnxStableDiffusionPipeline.from_pretrained(self.model, revision="onnx", provider="OpenVINOExecutionProvider", provider_options=[{'device_type' : 'CPU_FP32'}], sess_options = options)
Urgency
Planning to test the performance of Openvino EP with
InvokeAI
pipeline and provide a PR for the samePlatform
Linux
OS Version
20.04
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.15.1
ONNX Runtime API
Python
Architecture
X64
Execution Provider
OpenVINO
Execution Provider Library Version
Onnxruntime-openvino == 1.15.0
&openvino == 2023.0
The text was updated successfully, but these errors were encountered: