Skip to content

[Feature Request] API for callers to determine if a compiled model is compatible with a given device #25313

Open
@adrastogi

Description

@adrastogi

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestrequest for unsupported feature or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions