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

Test onnx 1.9 #704

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
12 changes: 6 additions & 6 deletions .azure-pipelines/linux-CI-keras-applications-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
ONNX_PATH: pip install onnx==1.2.3
INSTALL_KERAS: pip install keras==2.1.6
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
Expand All @@ -27,7 +27,7 @@ jobs:

Python36-onnx1.5:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
ONNX_PATH: pip install onnx==1.5.0
INSTALL_KERAS: pip install keras==2.2.4
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
Expand All @@ -38,7 +38,7 @@ jobs:

Python37:
python.version: '3.7.3'
ONNX_PATH: onnx==1.8.0
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
Expand All @@ -49,7 +49,7 @@ jobs:

Python37-official-ort:
python.version: '3.7.3'
ONNX_PATH: onnx==1.6.0
ONNX_PATH: pip install onnx==1.6.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
Expand All @@ -60,7 +60,7 @@ jobs:

Python38-tf2:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
INSTALL_KERAS:
UNINSTALL_KERAS: pip uninstall keras -y
INSTALL_TENSORFLOW: pip install tensorflow==2.2.0
Expand All @@ -84,7 +84,7 @@ jobs:
- script: |
python -m pip install --upgrade pip
conda config --set always_yes yes --set changeps1 no
pip install $(ONNX_PATH)
$(ONNX_PATH)
pip install h5py==2.9.0
$(INSTALL_TENSORFLOW)
$(INSTALL_KERAS)
Expand Down
12 changes: 6 additions & 6 deletions .azure-pipelines/linux-conda-CI-tf-keras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@ jobs:
# No python 2.x since tf2onnx does not support it
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
INSTALL_ORT: pip install onnxruntime==1.7.0

Expand All @@ -59,7 +59,7 @@ jobs:
- script: |
python -m pip install --upgrade pip
conda config --set always_yes yes --set changeps1 no
pip install $(ONNX_PATH)
$(ONNX_PATH)
pip install h5py==2.9.0
pip install $(TENSORFLOW_PATH)
pip install git+https://github.com/microsoft/onnxconverter-common
Expand Down
12 changes: 6 additions & 6 deletions .azure-pipelines/linux-conda-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,37 @@ jobs:
matrix:
Python36-tf1110:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
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
ONNX_PATH: pip install 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
ONNX_PATH: pip install onnx==1.7.0
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==2.2.0
INSTALL_ORT:
Expand All @@ -65,7 +65,7 @@ jobs:
- script: |
python -m pip install --upgrade pip
conda config --set always_yes yes --set changeps1 no
pip install $(ONNX_PATH)
$(ONNX_PATH)
pip install h5py==2.9.0
pip install $(TENSORFLOW_PATH)
pip install $(KERAS)
Expand Down
12 changes: 6 additions & 6 deletions .azure-pipelines/win32-CI-keras-applications-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# No python 2.x since no available ONNX package for Windows
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
ONNX_PATH: pip install onnx==1.2.3
INSTALL_KERAS: pip install keras==2.1.6
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
Expand All @@ -28,7 +28,7 @@ jobs:

Python36-onnx1.5:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0
ONNX_PATH: pip install onnx==1.5.0
INSTALL_KERAS: pip install keras==2.2.4
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
Expand All @@ -39,7 +39,7 @@ jobs:

Python37:
python.version: '3.7'
ONNX_PATH: onnx==1.8.0
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
Expand All @@ -50,7 +50,7 @@ jobs:

Python37-official-ort:
python.version: '3.7'
ONNX_PATH: onnx==1.6.0
ONNX_PATH: pip install onnx==1.6.0
INSTALL_KERAS: pip install keras==2.3.1
UNINSTALL_KERAS:
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
Expand All @@ -61,7 +61,7 @@ jobs:

Python38-tf2:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
INSTALL_KERAS:
UNINSTALL_KERAS: pip uninstall keras -y
INSTALL_TENSORFLOW: pip install tensorflow==2.2.0
Expand All @@ -88,7 +88,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%
%ONNX_PATH%
pip install h5py==2.9.0
%INSTALL_TENSORFLOW%
%INSTALL_KERAS%
Expand Down
12 changes: 6 additions & 6 deletions .azure-pipelines/win32-conda-CI-tf-keras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@ jobs:
# No python 2.x since no available ONNX package for Windows
Python36-onnx1.2:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
INSTALL_ORT: pip install onnxruntime==1.7.0

Expand All @@ -62,7 +62,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%
%ONNX_PATH%
pip install h5py==2.9.0
pip install %TENSORFLOW_PATH%
pip install git+https://github.com/microsoft/onnxconverter-common
Expand Down
10 changes: 5 additions & 5 deletions .azure-pipelines/win32-conda-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,29 @@ jobs:
# No python 2.x since no available ONNX package for Windows
Python36-tf1110:
python.version: '3.6'
ONNX_PATH: onnx==1.2.3
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install 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
ONNX_PATH: pip install -i https://test.pypi.org/simple/ onnx
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==2.2.0
INSTALL_ORT:
Expand All @@ -61,7 +61,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%
%ONNX_PATH%
pip install h5py==2.9.0
pip install %TENSORFLOW_PATH%
pip install %KERAS%
Expand Down