microsoft / microsoft/onnxruntime

API to get compatible ONNX version

Open
#8,606 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

api core runtime feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 8h
Merged PRs (30d)
179

Description

Is your feature request related to a problem? Please describe.
The latest ONNX Runtime Python package is not always compatible with the latest ONNX Python package. How can I programmatically determine a version of ONNX which is compatible?

For example, this compatibility is necessary when generating a model with ONNX and then running it with ONNX Runtime.

System information

  • ONNX Runtime version (you are using): 1.8.1

Describe the solution you'd like
Add a Python API to query the version of ONNX a particular version of ONNX Runtime is built with. It could be fancier and return the whole range of compatible ONNX versions too.

Describe alternatives you've considered
N/A

Additional context
N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the ONNX Runtime Python package and the ONNX/ONNX Runtime version relationship described for runtime 1.8.1. Determine where a compatibility query would belong and define whether it should return one version or a range; done means the requested compatibility information can be queried programmatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.