Skip to content

Commit 90f2bbe

Browse files
authored
Merge pull request #319 from nbcsm/onnxruntime_0.2.1
CI: upgrade onnxruntime to 0.2.1
2 parents 10676b6 + cb40290 commit 90f2bbe

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

ci_build/azure_pipelines/pretrained_model_test-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
onnx_versions: ['1.3']
99
onnx_opsets: ['8', '7']
1010
onnx_backends:
11-
onnxruntime: ['0.1.4']
11+
onnxruntime: ['0.2.1']
1212
job:
1313
steps:
1414
- template: 'pretrained_model_test.yml'

ci_build/azure_pipelines/pretrained_model_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
tf_versions: ['1.12']
77
onnx_opsets: ['8', '7']
88
onnx_backends:
9-
onnxruntime: ['0.1.4']
9+
onnxruntime: ['0.2.1']
1010
job:
1111
steps:
1212
- template: 'pretrained_model_test.yml'

ci_build/azure_pipelines/unit_test-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
onnx_versions: ['1.3']
99
onnx_opsets: ['8', '7']
1010
onnx_backends:
11-
onnxruntime: ['0.1.4']
11+
onnxruntime: ['0.2.1']
1212
job:
1313
steps:
1414
- template: 'unit_test.yml'

ci_build/azure_pipelines/unit_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
tf_versions: ['1.12']
77
onnx_opsets: ['8', '7']
88
onnx_backends:
9-
onnxruntime: ['0.1.4']
9+
onnxruntime: ['0.2.1']
1010
job:
1111
steps:
1212
- template: 'unit_test.yml'

tests/test_backend.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ def onnxruntime_check(op):
106106
return (False, "")
107107

108108
if op == "AveragePool":
109-
import onnxruntime as ort
110-
if ort.__version__ == "0.1.4":
111-
return (True, "Skip AveragePool for onnxruntime 0.1.4")
109+
return (True, "Skip AveragePool for onnxruntime due to bug")
112110

113111
support_since = {
114112
"Abs": 6, # Abs-1

0 commit comments

Comments
 (0)