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

This is an invalid model. In Node, ("Identity_0", Identity, "", -1) #18853

Closed
sinall opened this issue Dec 16, 2023 · 1 comment
Closed

This is an invalid model. In Node, ("Identity_0", Identity, "", -1) #18853

sinall opened this issue Dec 16, 2023 · 1 comment
Labels
platform:windows issues related to the Windows platform

Comments

@sinall
Copy link

sinall commented Dec 16, 2023

Describe the issue

I'm trying to use conan instead of nuget for onnxruntime-1.14.1 (and 1.15.1).
But after I installed onnxruntime, my application reports error:

This is an invalid model. In Node, ("Identity_0", Identity, "", -1) : ("onnx::MatMul_2167": tensor(float),) -> ("onnx::MatMul_2250",) , Error C:\J2\w\prod-v1\bsr\52581\faccd.conan\data\onnx\1.13.1__\build\c57bc62ed44cbeb0f01c880317ca3a2b145b145e\src\onnx\defs\schema.cc:1075: SchemasRegisterer: Assertion dbg_registered_schema_count == DbgOperatorSetTracker::Instance().GetCount() failed: 4 schema were exposed from operator sets and automatically placed into the static registry. 575 were expected based on calls to registration macros. Operator set functions may need to be updated.

To reproduce

onnxruntime/1.14.1: This is an invalid model

Urgency

No response

Platform

Windows

OS Version

11

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.14.1

ONNX Runtime API

C++

Architecture

X64

Execution Provider

Default CPU

Execution Provider Library Version

No response

@github-actions github-actions bot added the platform:windows issues related to the Windows platform label Dec 16, 2023
@sinall
Copy link
Author

sinall commented Dec 19, 2023

After adding onnx:disable_static_registration=True to conanfile.py, it works now.

@sinall sinall closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:windows issues related to the Windows platform
Projects
None yet
Development

No branches or pull requests

1 participant