Skip to content

Commit fd557cb

Browse files
authored
Limit ONNX version (#3485)
OV does not currently support opset 17 introduced in onnx 1.12 release.
1 parent 3d6b43e commit fd557cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ci/requirements-openvino-dev.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ numpy (<1.20,>=1.16.6) ; extra == 'kaldi'
3030
numpy (<1.20,>=1.16.6) ; extra == 'mxnet'
3131
numpy (<1.20,>=1.16.6) ; extra == 'onnx'
3232
numpy (<1.20,>=1.16.6) ; extra == 'tensorflow2'
33-
onnx (>=1.8.1) ; extra == 'caffe2'
34-
onnx (>=1.8.1) ; extra == 'onnx'
35-
onnx (>=1.8.1) ; extra == 'pytorch'
33+
onnx (<1.12,>=1.8.1) ; extra == 'caffe2'
34+
onnx (<1.12,>=1.8.1) ; extra == 'onnx'
35+
onnx (<1.12,>=1.8.1) ; extra == 'pytorch'
3636
opencv-python (==4.5.*)
3737
openvino (==2021.4.2)
3838
pandas (~=1.1.5)

tools/model_tools/requirements-pytorch.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
onnx>=1.8.1
1+
onnx<1.12,>=1.8.1
22
scipy~=1.5.4 # via torchvision
33
torch==1.8.1
44
torchvision==0.9.1

0 commit comments

Comments
 (0)