Skip to content

Commit

Permalink
onnxruntime-extensions/yaml is not support with python3.10
Browse files Browse the repository at this point in the history
Signed-off-by: Deyu Huang <[email protected]>
  • Loading branch information
hwangdeyu committed Jul 29, 2022
1 parent fabd403 commit b515780
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ci_build/azure_pipelines/pretrained_model_test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- template: 'templates/job_generator.yml'
parameters:
platforms: ['linux', 'windows']
python_versions: ['3.9', '3.10']
python_versions: ['3.9']
tf_versions: ['2.8.0']
job:
steps:
Expand Down
9 changes: 0 additions & 9 deletions ci_build/azure_pipelines/pretrained_model_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,3 @@ jobs:
job:
steps:
- template: 'pretrained_model_test.yml'

- template: 'templates/job_generator.yml'
parameters:
# 2.9, tf; 3.10, py
python_versions: ['3.10']
tf_versions: ['2.9.0']
job:
steps:
- template: 'pretrained_model_test.yml'
2 changes: 2 additions & 0 deletions tests/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -3233,6 +3233,8 @@ def func(x, y):
y_val = np.array(i / 10, np.float32)
self._run_test_case(func, [_OUTPUT], {_INPUT: x_val, _INPUT1: y_val}, rtol=1e-6, atol=2e-5)

# https://github.com/microsoft/onnxruntime/issues/12302
@skip_onnxruntime_backend("resize op can't work well under Cubic mode with ORT 1.12")
@check_tf_min_version("2.0", "Results are slightly different in tf1")
@check_opset_min_version(11, "resize bicubic")
def test_resize_bicubic(self):
Expand Down

0 comments on commit b515780

Please sign in to comment.