Open
Description
Describe the feature request
This feature request tracks adding a new ONNX Runtime API (e.g., CheckModelCompatibility
) which takes a path to a model as input and returns to the caller a state value which indicates the compiled model's compatibility with the underlying device.
Describe scenario use case
An application may have a precompiled model and want some way of determining if that precompiled model is compatible with the device it's running on (i.e., specifically with relation to the EP + driver stack on the device). ONNX Runtime should supply an API where the caller can supply the path to the model and get back a state which the caller can use to determine if they need to recompile the model (e.g. due to a breaking driver update).