However, this model will not be aligned and mapfile support will not work - #21195
To reproduce
session_options.SetGraphOptimizationLevel(ORT_DISABLE_ALL); // ORT_DISABLE_ALL, ORT_ENABLE_BASIC, ORT_ENABLE_EXTENDED, ORT_ENABLE_ALL:
// Ideally the model would be saved with basic or higher optimization level. However, there is a related bug on this OnnxRuntime 21325 -Model saved with offline basic optimizations will not load – ShapeInferenceError
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.
Describe the issue
ORT has the ability to save a model with external data format - https://github.com/onnx/onnx/blob/main/docs/ExternalData.md
However, this model will not be aligned and mapfile support will not work - #21195
To reproduce
session_options.SetGraphOptimizationLevel(ORT_DISABLE_ALL); // ORT_DISABLE_ALL, ORT_ENABLE_BASIC, ORT_ENABLE_EXTENDED, ORT_ENABLE_ALL: // Ideally the model would be saved with basic or higher optimization level. However, there is a related bug on this OnnxRuntime 21325 -Model saved with offline basic optimizations will not load – ShapeInferenceError
Urgency
Low urgency. There is the ability to add alignment in Python in PR - https://github.com/onnx/onnx/pull/6248
Platform
Windows
OS Version
11
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.18.1
ONNX Runtime API
C++
Architecture
ARM64
Execution Provider
Default CPU
Execution Provider Library Version
No response