Skip to content

Commit 369c2c6

Browse files
committed
Resolve dependency/consistency conflict between onnx and onnxruntime
1 parent 1993131 commit 369c2c6

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@ gspread = "3.6.0"
4141
importlib-resources = "6.5.2"
4242
ipython = "8.37.0"
4343
numpy = "1.26.4"
44-
onnx = "1.18.0"
45-
onnxruntime = "1.22.0"
44+
# Cannot upgrade onnx and onnxruntime any further. For now this seems to be the
45+
# last compatible pair which is also consistent with qonnx.
46+
# Upgrading onnx will result in model IR version not supported by onnxruntime
47+
# Upgrading onnxruntime fixes some MaxPool edge case which however requires onnx
48+
# to be upgraded to produce a consistent model, but this in turn cannot be done
49+
# due to the model IR version support issue...
50+
onnx = "1.17.0"
51+
onnxruntime = "1.20.1"
4652
pre-commit = "4.2.0"
4753
protobuf = "4.25.8"
4854
psutil = "5.9.4"

0 commit comments

Comments
 (0)