Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

[Test only] Test onnx==1.8.102 on testpypi #687

Closed
wants to merge 1 commit into from
Closed
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
37 changes: 1 addition & 36 deletions .azure-pipelines/linux-CI-keras-applications-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,8 @@ jobs:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
INSTALL_KERAS: pip install keras==2.1.6
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.1.1
INSTALL_KERAS_RESNET:
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"

Python36-onnx1.5:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
INSTALL_KERAS: pip install keras==2.2.4
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.1.1
INSTALL_KERAS_RESNET: pip install keras-resnet
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"

Python37:
python.version: '3.7.3'
ONNX_PATH: onnx==1.8.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
Expand All @@ -47,20 +24,8 @@ jobs:
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"

Python37-official-ort:
python.version: '3.7.3'
ONNX_PATH: onnx==1.6.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.3.0
INSTALL_KERAS_RESNET: pip install keras-resnet
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"

Python38-tf2:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
INSTALL_KERAS:
UNINSTALL_KERAS: pip uninstall keras -y
INSTALL_TENSORFLOW: pip install tensorflow==2.2.0
Expand All @@ -84,7 +49,7 @@ jobs:
- script: |
python -m pip install --upgrade pip
conda config --set always_yes yes --set changeps1 no
pip install $(ONNX_PATH)
pip install -i https://test.pypi.org/simple/ onnx==1.8.102
pip install h5py==2.9.0
$(INSTALL_TENSORFLOW)
$(INSTALL_KERAS)
Expand Down
27 changes: 1 addition & 26 deletions .azure-pipelines/linux-conda-CI-tf-keras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,8 @@ jobs:
strategy:
matrix:
# No python 2.x since tf2onnx does not support it
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
TENSORFLOW_PATH: tensorflow==1.11.0
INSTALL_ORT: pip install onnxruntime==1.1.1

Python36-onnx1.5:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
TENSORFLOW_PATH: tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.1.1

Python37:
python.version: '3.7'
ONNX_PATH: onnx==1.6.0
TENSORFLOW_PATH: tensorflow-cpu==2.1.0
INSTALL_ORT: pip install onnxruntime==1.4.0

Python38:
python.version: '3.8'
ONNX_PATH: onnx==1.7.0
TENSORFLOW_PATH: tensorflow-cpu==2.2.0
INSTALL_ORT:

Python38-tf2.3:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
INSTALL_ORT: pip install onnxruntime==1.6.0

Expand All @@ -59,7 +34,7 @@ jobs:
- script: |
python -m pip install --upgrade pip
conda config --set always_yes yes --set changeps1 no
pip install $(ONNX_PATH)
pip install -i https://test.pypi.org/simple/ onnx==1.8.102
pip install h5py==2.9.0
pip install $(TENSORFLOW_PATH)
pip install git+https://github.com/microsoft/onnxconverter-common
Expand Down
26 changes: 1 addition & 25 deletions .azure-pipelines/linux-conda-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,15 @@ jobs:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
Python36-tf1110:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
KERAS: keras==2.1.6
TENSORFLOW_PATH: tensorflow==1.11.0
INSTALL_ORT: pip install onnxruntime==1.1.1

Python36-tf1150:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
KERAS: keras==2.2.5
TENSORFLOW_PATH: tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.1.1

Python37-tf1150:
python.version: '3.7'
ONNX_PATH: onnx==1.8.0
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.6.0

# UT for keras 2.3 need tensorflow <= 2.0.0
Python37-tf200:
python.version: '3.7'
ONNX_PATH: onnx==1.6.0
KERAS: keras==2.3.1
TENSORFLOW_PATH: tensorflow==2.0.0
INSTALL_ORT: pip install onnxruntime==1.4.0

# ORT hasn't support Python 3.8 yet.
Python38-tf220:
python.version: '3.8'
ONNX_PATH: onnx==1.7.0
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==2.2.0
INSTALL_ORT:
Expand All @@ -65,7 +41,7 @@ jobs:
- script: |
python -m pip install --upgrade pip
conda config --set always_yes yes --set changeps1 no
pip install $(ONNX_PATH)
pip install -i https://test.pypi.org/simple/ onnx==1.8.102
pip install h5py==2.9.0
pip install $(TENSORFLOW_PATH)
pip install $(KERAS)
Expand Down
37 changes: 1 addition & 36 deletions .azure-pipelines/win32-CI-keras-applications-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,8 @@ jobs:
strategy:
matrix:
# No python 2.x since no available ONNX package for Windows
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
INSTALL_KERAS: pip install keras==2.1.6
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
INSTALL_ORT: pip install onnxruntime==1.1.1
INSTALL_KERAS_RESNET:
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"

Python36-onnx1.5:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
INSTALL_KERAS: pip install keras==2.2.4
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
INSTALL_ORT: pip install onnxruntime==1.1.1
INSTALL_KERAS_RESNET: pip install keras-resnet
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"

Python37:
python.version: '3.7'
ONNX_PATH: onnx==1.8.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
Expand All @@ -48,20 +25,8 @@ jobs:
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"

Python37-official-ort:
python.version: '3.7'
ONNX_PATH: onnx==1.6.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
INSTALL_ORT: pip install onnxruntime==1.1.1
INSTALL_KERAS_RESNET: pip install keras-resnet
INSTALL_TRANSFORMERS:
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"

Python38-tf2:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
INSTALL_KERAS:
UNINSTALL_KERAS: pip uninstall keras -y
INSTALL_TENSORFLOW: pip install tensorflow==2.2.0
Expand All @@ -88,7 +53,7 @@ jobs:
call activate py$(python.version)
python -m pip install --upgrade pip numpy
echo Test numpy installation... && python -c "import numpy"
pip install %ONNX_PATH%
pip install -i https://test.pypi.org/simple/ onnx==1.8.102
pip install h5py==2.9.0
%INSTALL_TENSORFLOW%
%INSTALL_KERAS%
Expand Down
27 changes: 1 addition & 26 deletions .azure-pipelines/win32-conda-CI-tf-keras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,8 @@ jobs:
strategy:
matrix:
# No python 2.x since no available ONNX package for Windows
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
TENSORFLOW_PATH: tensorflow==1.11.0
INSTALL_ORT: pip install onnxruntime==1.1.1

Python36-onnx1.5:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
TENSORFLOW_PATH: tensorflow==1.14.0
INSTALL_ORT: pip install onnxruntime==1.1.1

Python37:
python.version: '3.7'
ONNX_PATH: onnx==1.6.0
TENSORFLOW_PATH: tensorflow-cpu==2.1.0
INSTALL_ORT: pip install onnxruntime==1.4.0

Python38:
python.version: '3.8'
ONNX_PATH: onnx==1.7.0
TENSORFLOW_PATH: tensorflow-cpu==2.2.0
INSTALL_ORT:

Python38-tf2.3:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
INSTALL_ORT: pip install onnxruntime==1.6.0

Expand All @@ -62,7 +37,7 @@ jobs:
call activate py$(python.version)
python -m pip install --upgrade pip numpy
echo Test numpy installation... && python -c "import numpy"
pip install %ONNX_PATH%
pip install -i https://test.pypi.org/simple/ onnx==1.8.102
pip install h5py==2.9.0
pip install %TENSORFLOW_PATH%
pip install git+https://github.com/microsoft/onnxconverter-common
Expand Down
25 changes: 1 addition & 24 deletions .azure-pipelines/win32-conda-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,8 @@ jobs:
strategy:
matrix:
# No python 2.x since no available ONNX package for Windows
Python36-tf1110:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
KERAS: keras==2.1.6
TENSORFLOW_PATH: tensorflow==1.11.0
INSTALL_ORT: pip install onnxruntime==1.1.1

Python36-tf1140:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
KERAS: keras==2.2.5
TENSORFLOW_PATH: tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.1.1

# UT for keras 2.3 need tensorflow <= 2.0.0
Python37-tf200:
python.version: '3.7'
ONNX_PATH: onnx==1.7.0
KERAS: keras==2.3.1
TENSORFLOW_PATH: tensorflow==2.0.0
INSTALL_ORT: pip install onnxruntime==1.4.0

Python38-tf220:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==2.2.0
INSTALL_ORT:
Expand All @@ -61,7 +38,7 @@ jobs:
call activate py$(python.version)
python -m pip install --upgrade pip numpy
echo Test numpy installation... && python -c "import numpy"
pip install %ONNX_PATH%
pip install -i https://test.pypi.org/simple/ onnx==1.8.102
pip install h5py==2.9.0
pip install %TENSORFLOW_PATH%
pip install %KERAS%
Expand Down