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.12
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:
* After a PR has been merged into main/rel-* branch
* Run weekly (Sunday midnight) and release Python wheel to [onnx-weekly](https://test.pypi.org/project/onnx-weekly/) package on TestPyPI.
* 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 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-11, 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+.
* (6):
* The ONNX Model Zoo test will run weekly (Sunday midnight)
* To manually trigger it, add a PR label "test ONNX Model Zoo" (only maintainers have permission). Please note that it will need a lot of download bandwidth from [onnx/models](https://github.com/onnx/models) so use it with caution.
* (7) Some old deprecated models (opset-1) are [skipped](/workflow_scripts/config.py).