[Core] API 2.0 onnxruntime update, gha (#21892)

* [Core] API 2.0 onnxruntime update, gha

* [Core] API 2.0 onnxruntime update, gha

* [Core] API 2.0 onnxruntime update, gha

* [Core] API 2.0 onnxruntime update, gha

* [Core] API 2.0 onnxruntime update, gha
This commit is contained in:
Pavel Durandin 2023-12-29 14:09:18 +04:00 committed by GitHub
parent 6e239ee8ab
commit 40a819e319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 7 deletions

View File

@ -110,6 +110,7 @@ jobs:
--parallel \
--skip_tests \
--compile_no_warning_as_error \
--allow_running_as_root \
--build_dir ${ONNX_RUNTIME_BUILD_DIR}
env:
CXXFLAGS: "-Wno-error=deprecated-declarations"
@ -138,11 +139,12 @@ jobs:
./onnxruntime_global_thread_pools_test
working-directory: ${{ env.ONNX_RUNTIME_BUILD_DIR }}/RelWithDebInfo/RelWithDebInfo
- name: Run onnxruntime_api_tests_without_env
run: |
source ${INSTALL_DIR}/setupvars.sh
./onnxruntime_api_tests_without_env
working-directory: ${{ env.ONNX_RUNTIME_BUILD_DIR }}/RelWithDebInfo/RelWithDebInfo
# Test removed in onnxruntime 1.16.2
# - name: Run onnxruntime_api_tests_without_env
# run: |
# source ${INSTALL_DIR}/setupvars.sh
# ./onnxruntime_api_tests_without_env
# working-directory: ${{ env.ONNX_RUNTIME_BUILD_DIR }}/RelWithDebInfo/RelWithDebInfo
- name: Run pytorch-converted tests
run: |

View File

@ -220,7 +220,7 @@ fi
current_cmake_ver=$($cmake_command --version | sed -ne 's/[^0-9]*\(\([0-9]\.\)\{0,4\}[0-9][^.]\).*/\1/p')
required_cmake_ver=3.20.0
if [ ! "$(printf '%s\n' "$required_cmake_ver" "$current_cmake_ver" | sort -V | head -n1)" = "$required_cmake_ver" ]; then
installed_cmake_ver=3.24.0
installed_cmake_ver=3.26.0
arch=$(uname -m)
if command -v apt-get &> /dev/null; then

View File

@ -4,3 +4,19 @@ TransposeOpTest.TwoDim_int16
GatherOpTest.Gather_axis1_indices2d_int16
SoftmaxOperator.ThreeDimsAxis1
SoftmaxOperator.ThreeDimsAxis0
UpsampleOpTest.NhwcUpsampleOpNearestTest
UpsampleOpTest.NhwcUpsampleOpNearestTest_int32
UpsampleOpTest.NhwcUpsampleOpNearestTest_uint8
UpsampleOpTest.NhwcUpsampleOpNearest2XTest
UpsampleOpTest.UpsampleOpNearest222XTest
UpsampleOpTest.NhwcUpsampleOpNearest222XTest
UpsampleOpTest.NhwcUpsampleOpNearest15XTest
UpsampleOpTest.NhwcUpsampleOpNearest2XTest_int32
UpsampleOpTest.NhwcUpsampleOp4D1CBilinearTest
UpsampleOpTest.NhwcUpsampleOp4DBilinearTest
UpsampleOpTest.UpsampleOp4DBilinearTest_int32
UpsampleOpTest.NhwcUpsampleOp4DBilinearTest_int32
UpsampleOpTest.NhwcUpsampleOpNearest2XTest_opset9
TensorOpTest.ReshapeWithEmptyDim
TensorOpTest.Unsqueeze_scalar
TensorOpTest.Unsqueeze_scalar_2

View File

@ -1 +1,2 @@
rel-1.14.0
rel-1.16.2