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

ONNX outdated opset warnings #293

Open
kmantel opened this issue Jul 23, 2022 · 0 comments
Open

ONNX outdated opset warnings #293

kmantel opened this issue Jul 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request ONNX

Comments

@kmantel
Copy link
Contributor

kmantel commented Jul 23, 2022

There are a lot of ONNX warnings that can become kind of a nuisance especially when running larger/longer models:

>>> from modeci_mdf.execution_engine import evaluate_onnx_expr 
>>> p = {'mean': -1.0, 'scale': 0.5, 'seed': 0, 'shape': (1, 1)}
>>> evaluate_onnx_expr('randomnormal', p, p)
2022-07-22 21:09:12.958491966 [W:onnxruntime:, model.cc:163 Model] ONNX Runtime only *guarantees* support for models stamped with opset version 7 or above for opset domain 'ai.onnx'. Please upgrade your model to opset 7 or higher. For now, this opset 1 model may run depending upon legacy support of some older opset version operators.
2022-07-22 21:09:12.963419023 [W:onnxruntime:, ort_transpose_optimizer.cc:24 ApplyImpl] Transpose optimizer failed: Unsupported ONNX opset
2022-07-22 21:09:12.963439582 [W:onnxruntime:, ort_transpose_optimizer.cc:24 ApplyImpl] Transpose optimizer failed: Unsupported ONNX opset
array([[-1.12954664]])

is something being done wrong in evaluate_onnx_expr that can be corrected? any idea @davidt0x?

@jdcpni jdcpni added enhancement New feature or request ONNX labels Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ONNX
Projects
None yet
Development

No branches or pull requests

3 participants