Skip to content

Conversation

@Giuseppe5
Copy link

@Giuseppe5 Giuseppe5 commented Feb 10, 2026

Attempt to fix #234

The most recent versions of ONNX are needed for compatibility with torch 1.13, so this PR removes the maximum version requirement

Current status is as follow:

  • ONNX>1.17 is required for compatibility with python 3.13
  • onnxruntime>=1.24 requires python>=3.11
  • The latest ONNX release (1.20) requires latest onnxruntime to run
  • The latest ONNX release is not compatible with older versions of onnxruntime (like 1.23.2)

Combining all these requirements, it means that we need two different versions of ONNX, whether we are using python 3.11 or not.

Above python 3.11, we can install latest version of everything.
Below python 3.11, we need a slightly older version of ONNX (1.17) to maintain compatibility with a slightly older version of onnxruntime (1.23.2)

@jmitrevs
Copy link
Collaborator

jmitrevs commented Feb 10, 2026

Note that #220 mentions why an upper limit was used in the past. Are there still such issues? Personally I have always been worried about upper limits.

@jmitrevs jmitrevs added this to the v1.0.0 milestone Feb 10, 2026
@nickfraser
Copy link
Contributor

Related issue: Xilinx/brevitas#1450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python 3.13 compatibility

3 participants