Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nightly CI job failures caused by numpy version. #1898

Merged
merged 1 commit into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ci_build/azure_pipelines/keras2onnx_application_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"

Python37-onnx1.6:
python.version: '3.7.3'
python.version: '3.7'
ONNX_PATH: onnx==1.6.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
Expand All @@ -32,7 +32,7 @@ jobs:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"

Python37-onnx1.9:
python.version: '3.7.3'
python.version: '3.7'
ONNX_PATH: onnx==1.9.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
Expand All @@ -44,7 +44,7 @@ jobs:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"

Python37-tf2.x:
python.version: '3.7.3'
python.version: '3.7'
ONNX_PATH: onnx==1.11.0
INSTALL_KERAS:
UNINSTALL_KERAS: pip uninstall keras -y
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"

Python37-onnx1.9:
python.version: '3.7.3'
python.version: '3.7'
ONNX_PATH: onnx==1.9.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
Expand All @@ -111,7 +111,7 @@ jobs:
INSTALL_KERAS_RESNET: pip install keras-resnet
INSTALL_TRANSFORMERS: pip install transformers==3.4.0
INSTALL_NUMPY: pip install numpy==1.19.0
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"
NIGHTLY_BUILD_TEST: python run_all_v2.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"

steps:
- template: 'templates/keras2onnx_application_tests.yml'
Expand Down
10 changes: 10 additions & 0 deletions ci_build/azure_pipelines/keras2onnx_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,28 @@ jobs:
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.1.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

Python38-tf2.2:
python.version: '3.8'
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.2.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

Python38-tf2.3:
python.version: '3.8'
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

Python38-tf2.5:
python.version: '3.8'
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.5.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

############ Pure Keras Unit Tests ############
Keras-Py36-tf1.15.0:
Expand Down Expand Up @@ -71,6 +75,7 @@ jobs:
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==2.2.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

steps:
- template: 'templates/keras2onnx_unit_test.yml'
Expand All @@ -94,24 +99,28 @@ jobs:
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.1.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

Python37-tf2.2:
python.version: '3.7'
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.2.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

Python37-tf2.3:
python.version: '3.7'
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

Python37-tf2.5:
python.version: '3.7'
ONNX_PATH: onnx==1.11.0
TENSORFLOW_PATH: tensorflow-cpu==2.5.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

############ Pure Keras Unit Tests ############
Keras-Py36-tf1.15.0:
Expand All @@ -135,6 +144,7 @@ jobs:
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==2.2.0
INSTALL_ORT: pip install onnxruntime==1.11.0
INSTALL_NUMPY: pip install numpy==1.19.0

steps:
- template: 'templates/keras2onnx_unit_test.yml'
Expand Down