diff --git a/.github/workflows/release_linux_aarch64.yml b/.github/workflows/release_linux_aarch64.yml
index a4edefa8073..7a6e98e7eff 100644
--- a/.github/workflows/release_linux_aarch64.yml
+++ b/.github/workflows/release_linux_aarch64.yml
@@ -124,14 +124,13 @@ jobs:
pytest && \
deactivate'
- - name: Verify ONNX with ort-nightly
- if: matrix.python-version != 'cp310-cp310' # TODO update once ort-nightly has supported Python 3.10
+ - name: Verify ONNX with ONNX Runtime PyPI package
+ if: matrix.python-version != 'cp310-cp310' # TODO update once onnxruntime has supported Python 3.10
run: |
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \
${{ env.img }} \
bash -exc '\
source .env/bin/activate && \
- python -m pip install -q flatbuffers && \
- python -m pip install -i https://test.pypi.org/simple/ ort-nightly && \
+ python -m pip install -q onnxruntime && \
python onnx/test/test_with_ort.py && \
deactivate'
diff --git a/.github/workflows/release_linux_x86_64.yml b/.github/workflows/release_linux_x86_64.yml
index bb6ee4fb679..fe67418cccf 100644
--- a/.github/workflows/release_linux_x86_64.yml
+++ b/.github/workflows/release_linux_x86_64.yml
@@ -94,9 +94,8 @@ jobs:
python -m pip install dist/*manylinux2014_x86_64.whl
pytest
- - name: Verify ONNX with ort-nightly
- if: matrix.python-version != '3.10' # TODO update once ort-nightly has supported Python 3.10
+ - name: Verify ONNX with ONNX Runtime PyPI package
+ if: matrix.python-version != '3.10' # TODO update once onnxruntime has supported Python 3.10
run: |
- python -m pip install -q flatbuffers
- python -m pip install -q -i https://test.pypi.org/simple/ ort-nightly
+ python -m pip install -q onnxruntime
python onnx/test/test_with_ort.py
diff --git a/.github/workflows/release_mac.yml b/.github/workflows/release_mac.yml
index 54be139e3a9..4b9fcbc7ada 100644
--- a/.github/workflows/release_mac.yml
+++ b/.github/workflows/release_mac.yml
@@ -105,11 +105,10 @@ jobs:
for file in dist/*.whl; do python -m pip install --upgrade $file; done
pytest
- - name: Verify ONNX with ort-nightly
- if: matrix.python-version != '3.10' # TODO update once ort-nightly has supported Python 3.10
+ - name: Verify ONNX with ONNX Runtime PyPI package
+ if: matrix.python-version != '3.10' # TODO update once onnxruntime has supported Python 3.10
run: |
- python -m pip install -q flatbuffers
- python -m pip install -q -i https://test.pypi.org/simple/ ort-nightly
+ python -m pip install -q onnxruntime
python onnx/test/test_with_ort.py
- name: Build and upload source distribution to TestPyPI weekly
diff --git a/.github/workflows/release_win.yml b/.github/workflows/release_win.yml
index e8873cf74c4..c900456b5fd 100644
--- a/.github/workflows/release_win.yml
+++ b/.github/workflows/release_win.yml
@@ -117,9 +117,8 @@ jobs:
Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}
pytest
- - name: Verify ONNX with ort-nightly
- if: matrix.python-version != '3.10' && matrix.architecture != 'x86' # TODO update once ort-nightly has supported Python 3.10
+ - name: Verify ONNX with ONNX Runtime PyPI package
+ if: matrix.python-version != '3.10' && matrix.architecture != 'x86' # TODO update once onnxruntime has supported Python 3.10
run: |
- python -m pip install -q flatbuffers
- python -m pip install -q -i https://test.pypi.org/simple/ ort-nightly
+ python -m pip install -q onnxruntime
python onnx\onnx\test\test_with_ort.py
diff --git a/docs/CIPipelines.md b/docs/CIPipelines.md
index 3725d09a4d7..8661d7ea438 100644
--- a/docs/CIPipelines.md
+++ b/docs/CIPipelines.md
@@ -10,10 +10,10 @@
[Windows-CI](/.azure-pipelines/Windows-CI.yml) | Every PR |
- vs2017-win2016
- ONNX_USE_LITE_PROTO=ON
- ONNX_USE_PROTOBUF_SHARED_LIBS=ON
- ONNX_BUILD_TESTS=1
- ONNX_WERROR=ON
- ONNX_ML=1 or 0
| - Test building ONNX in conda environment
- Test doc generation
- Test proto generation
|
[Mac-CI](/.azure-pipelines/MacOS-CI.yml) | Every PR | - macOS-10.14
- DEBUG=1
- ONNX_USE_LITE_PROTO=ON or OFF
- ONNX_ML=1 or 0
- ONNX_BUILD_TESTS=1
- ONNX_WERROR=ON
| - ONNX C++ tests
- Test doc generation
- Test proto generation
|
[Windows_No_Exception CI](/.github/workflows/win_no_exception_ci.yml) | Every PR | - vs2019-winlatest
- ONNX_DISABLE_EXCEPTIONS=ON
- ONNX_USE_LITE_PROTO=ON
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
- ONNX_USE_MSVC_STATIC_RUNTIME=ON
- ONNX_DISABLE_STATIC_REGISTRATION=ON or OFF
| - Only ONNX C++ tests
- Test selective schema loading
|
- [WindowsRelease](/.github/workflows/release_win.yml) | - Main branch
- Release branch
- Weekly(1)
| - Latest Windows
- x86 and x64
- ONNX_USE_LITE_PROTO=ON
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
- ONNX_USE_MSVC_STATIC_RUNTIME=OFF
| - Release Windows wheel
- Release onnx-weekly package
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version(2)
- Verify ONNX with the latest [ort-nightly](https://test.pypi.org/project/ort-nightly/)(3).
|
- [LinuxRelease_aarch64](/.github/workflows/release_linux_aarch64.yml) | - Main branch
- Release branch
- Weekly
| - Latest manylinux2014_aarch64
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
| - Release Linux aarch64 wheel
- Release onnx-weekly package
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version
- Verify ONNX with the latest ort-nightly.
|
- [LinuxRelease_x86_64](/.github/workflows/release_linux_x86_64.yml) | - Main branch
- Release branch
- Weekly
| - Latest LinuxRelease_x86_64
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
| - Release Linux x86_64 wheel
- Release onnx-weekly package
- Test TEST_HUB=1(4)
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version
- Verify ONNX with the latest ort-nightly.
|
- [MacRelease](/.github/workflows/release_win.yml) | - Main branch
- Release branch
- Weekly
| - macos-10.15
- MACOSX_DEPLOYMENT_TARGET=10.12(5)
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
| - Release Mac wheel
- Release onnx-weekly package
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version
- Verify ONNX with the latest ort-nightly.
- Test source distribution generation
- Test build with source distribution
- Release onnx-weekly source distribution
+ [WindowsRelease](/.github/workflows/release_win.yml) | - Main branch
- Release branch
- Weekly(1)
| - Latest Windows
- x86 and x64
- ONNX_USE_LITE_PROTO=ON
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
- ONNX_USE_MSVC_STATIC_RUNTIME=OFF
| - Release Windows wheel
- Release onnx-weekly package
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version(2)
- Verify ONNX with the latest [ONNX Runtime PyPI package](https://pypi.org/project/onnxruntime/)(3).
|
+ [LinuxRelease_aarch64](/.github/workflows/release_linux_aarch64.yml) | - Main branch
- Release branch
- Weekly
| - Latest manylinux2014_aarch64
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
| - Release Linux aarch64 wheel
- Release onnx-weekly package
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version
- Verify ONNX with the latest ONNX Runtime PyPI package.
|
+ [LinuxRelease_x86_64](/.github/workflows/release_linux_x86_64.yml) | - Main branch
- Release branch
- Weekly
| - Latest LinuxRelease_x86_64
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
| - Release Linux x86_64 wheel
- Release onnx-weekly package
- Test TEST_HUB=1(4)
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version
- Verify ONNX with the latest ONNX Runtime PyPI package.
|
+ [MacRelease](/.github/workflows/release_win.yml) | - Main branch
- Release branch
- Weekly
| - macos-10.15
- MACOSX_DEPLOYMENT_TARGET=10.12(5)
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
| - Release Mac wheel
- Release onnx-weekly package
- Verify backend node data
- Verify node test generation
- Verify with different dependency versions - latest numpy version, latest and min supported protobuf version
- Verify ONNX with the latest ONNX Runtime PyPI package.
- Test source distribution generation
- Test build with source distribution
- Release onnx-weekly source distribution
[Weekly CI with latest onnx.checker](/.github/workflows/weekly_mac_ci.yml) | weekly(6) |- macos-latest
- MACOSX_DEPLOYMENT_TARGET=10.15
- ONNX_USE_PROTOBUF_SHARED_LIBS=OFF
- ONNX_ML=1
| - Test latest ONNX checker
- Test latest ONNX shape inference
- With all models from [onnx/models](https://github.com/onnx/models)(7)
|
* (1) When the release CIs will run:
@@ -22,7 +22,7 @@
* Any PR targeting rel-* branch
* To manually run them, add a PR label "run release CIs" (only maintainers have permission).
* (2) Minimum supported versions are listed [here](/requirements.txt).
- * (3) [Test](/onnx/test/test_with_ort.py) ONNX Python wheel with `onnxruntime.InferenceSession` from latest ONNXRuntime. Please note that ort-nightly does not support Windows-x86 thus its verification is skipped.
+ * (3) [Test](/onnx/test/test_with_ort.py) ONNX Python wheel with `onnxruntime.InferenceSession` from latest ONNXRuntime. Please note that ONNX Runtime does not support Windows-x86 thus its verification is skipped.
* (4) TEST_HUB=1 will test [onnx.hub](/onnx/test/hub_test.py) by using this API to download an ONNX model from onnx/models. This test is restricted to only 1 pipeline for saving quota usage.
* (5) Although the build environment is macos-10.15, use MACOSX_DEPLOYMENT_TARGET=10.12 and -p [macosx_10_12_x86_64](https://github.com/onnx/onnx/blob/2e048660ffa8243596aaf3338e60c7c0575458f2/.github/workflows/release_mac.yml#L74) to force the wheel to support 10.12+.