Validate that the conversion script from the python package can be used to convert models. (#7517)

This commit is contained in:
Scott McKay 2021-05-04 16:25:04 +10:00 committed by GitHub
parent 898fff702c
commit 594dde2647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,10 @@ python3 -m pip install --user /build/Debug/dist/*
python3 /onnxruntime_src/tools/python/convert_onnx_models_to_ort.py \
/onnxruntime_src/onnxruntime/test/testdata/ort_minimal_e2e_test_data
# Do it again using the conversion script from the python package to validate that also works
python3 -m onnxruntime.tools.convert_onnx_models_to_ort \
/onnxruntime_src/onnxruntime/test/testdata/ort_minimal_e2e_test_data
# Create configs with just the required ops for ORT format models in testdata
# These are used by build_minimal_ort_and_run_tests.sh later in the linux-cpu-minimal-build-ci-pipeline CI
# and will include ops for the E2E models we just converted