microsoft / onnxruntime

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

[Web] #22790

Closed engahmedtaha closed 2 weeks ago

engahmedtaha commented 2 weeks ago

Describe the issue

i only get this error in production mode

[ErrorCode:InvalidArgument] Failed to load model with error: C:\apilot\agent_work\1\s\engine\lotus\onnxruntime\core/graph/model_load_utils.h:57 onnxruntime::model_load_utils::ValidateOpsetForDomain ONNX Runtime only guarantees support for models stamped with official released onnx opset versions. Opset 14 is under development and support for this is limited. The operator schemas and or other functionality may change before next ONNX release and in this case ONNX Runtime will not guarantee backward compatibility. Current official support for domain ai.onnx is till opset 12.

To reproduce

after run asp.net app in production

Urgency

No response

ONNX Runtime Installation

Built from Source

ONNX Runtime Version or Commit ID

Microsoft.ML.OnnxRuntime.Managed 1.9.0

Execution Provider

Other / Unknown

skottmckay commented 2 weeks ago

Install the latest version. 1.9.0 was released 3 years ago. 1.20.0 is the latest.