You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile API: disable optimizations by default (microsoft#25474)
### Description
- Disables graph optimizations by default when using the explicit
compiling API.
- Adds `ModelCompilationOptions_SetGraphOptimizationLevel` to allow the
user to set an optimization level.
- Adds C++, Python, and C# bindings for the new API function.
- Updates `ModelCompilationOptions_SetFlags` to take in a `uint32_t
flags` parameter instead of `size_t flags` to ensure the same size
across platforms. This API is not yet in a public ORT release, so safe
to modify.
### Motivation and Context
When compiling, prefer allowing the EP to do the optimizations instead
of ORT.
0 commit comments