Model saved by ORT as external data format will not be aligned for mapfile support #21524
Labels
platform:windows
issues related to the Windows platform
stale
issues that have not been addressed in a while; categorized by a bot
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 -
onnx/onnx#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
The text was updated successfully, but these errors were encountered: