Skip to content
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

[BUG] CANN: onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] #21352

Open
GenerallyCovetous opened this issue Jul 15, 2024 · 3 comments
Labels
ep:CANN issues related to CANN EO stale issues that have not been addressed in a while; categorized by a bot

Comments

@GenerallyCovetous
Copy link

Describe the issue

when I tried to use onnxruntime-cann 1.18.0 and 1.15.0 to run onnx model(sdmgr), it reported the following error:
self.extractor_sdmgr.run(rpt)
result = self.models.get(rtype).run(None, input)
---myenv/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py, line 217, in run
return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running torch-jit-export_6141346329611778433_0 node. Name:'CANNExecutionProvider_torch-jit-export_6141346329611778433_0_0' Status Message: CANN Graph error executing ge::aclgrphBuildModel(graph, options, model)

To reproduce

self.models[type] = ort.InferenceSession(self.checkpoints.get(type), providers=['CANNExecutionProvider'])
result = self.models.get(rtype).run(None, input)

Urgency

No response

Platform

Linux

OS Version

EulerOS 2.0 (SP10)

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

onnxruntime_cann-1.15.0/1.18.0

ONNX Runtime API

Python

Architecture

ARM64

Execution Provider

Other / Unknown

Execution Provider Library Version

CANN-8.0

@sophies927 sophies927 added the ep:CANN issues related to CANN EO label Jul 18, 2024
Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Aug 18, 2024
@XinPeiHou
Copy link

did you solve this problem?I meet the same problem

@GenerallyCovetous
Copy link
Author

did you solve this problem?I meet the same problem
unfortunately No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:CANN issues related to CANN EO stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

3 participants