From b353e0b41d588605958b03f9a223d10a2fbeb514 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Fri, 21 Oct 2022 19:18:22 -0400 Subject: [PATCH] Bumping up version number. (#13403) ### Description Bumping up version number to 1.13.1 ### Motivation and Context --- VERSION_NUMBER | 2 +- docs/python/README.rst | 5 + js/common/package-lock.json | 4 +- js/common/package.json | 2 +- js/node/package-lock.json | 6 +- js/node/package.json | 2 +- js/react_native/package.json | 2 +- js/react_native/yarn.lock | 176 +++++++++--------- js/web/package-lock.json | 6 +- js/web/package.json | 2 +- onnxruntime/__init__.py | 2 +- onnxruntime/core/session/onnxruntime_c_api.cc | 8 +- package/rpm/onnxruntime.spec | 2 +- 13 files changed, 117 insertions(+), 102 deletions(-) diff --git a/VERSION_NUMBER b/VERSION_NUMBER index feaae22bac7e9..b50dd27dd92ef 100644 --- a/VERSION_NUMBER +++ b/VERSION_NUMBER @@ -1 +1 @@ -1.13.0 +1.13.1 diff --git a/docs/python/README.rst b/docs/python/README.rst index 83e5f99d1b770..893387f88ac54 100644 --- a/docs/python/README.rst +++ b/docs/python/README.rst @@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime `_ or the `Github project `_. """ -__version__ = "1.13.0" +__version__ = "1.13.1" __author__ = "Microsoft" # we need to do device version validation (for example to check Cuda version for an onnxruntime-training package). diff --git a/onnxruntime/core/session/onnxruntime_c_api.cc b/onnxruntime/core/session/onnxruntime_c_api.cc index 9d8bfffe561e6..64ccd83ee011e 100644 --- a/onnxruntime/core/session/onnxruntime_c_api.cc +++ b/onnxruntime/core/session/onnxruntime_c_api.cc @@ -2583,6 +2583,7 @@ static constexpr OrtApi ort_api_1_to_12 = { &OrtApis::UpdateCANNProviderOptions, &OrtApis::GetCANNProviderOptionsAsString, &OrtApis::ReleaseCANNProviderOptions, + // End of Version 13 - DO NOT MODIFY ABOVE (see above text for more information) }; // Asserts to do a some checks to ensure older Versions of the OrtApi never change (will detect an addition or deletion but not if they cancel out each other) @@ -2598,10 +2599,13 @@ static_assert(offsetof(OrtApi, CreateSessionFromArrayWithPrepackedWeightsContain static_assert(offsetof(OrtApi, GetSparseTensorIndices) / sizeof(void*) == 191, "Size of version 9 API cannot change"); static_assert(offsetof(OrtApi, SynchronizeBoundOutputs) / sizeof(void*) == 203, "Size of version 10 API cannot change"); static_assert(offsetof(OrtApi, SessionOptionsAppendExecutionProvider_MIGraphX) / sizeof(void*) == 209, "Size of version 11 API cannot change"); -static_assert(offsetof(OrtApi, ReleaseKernelInfo) / sizeof(void*) == 218, "Size of version 12 API cannot change"); +static_assert(offsetof(OrtApi, ReleaseKernelInfo) / sizeof(void *) == 218, "Size of version 12 API cannot change"); +static_assert(offsetof(OrtApi, ReleaseCANNProviderOptions) / sizeof(void *) == 224, + "Size of version 13 API cannot change"); // So that nobody forgets to finish an API version, this check will serve as a reminder: -static_assert(std::string_view(ORT_VERSION) == "1.13.0", "ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly"); +static_assert(std::string_view(ORT_VERSION) == "1.13.1", + "ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly"); // 1. Update the hardcoded version string in above static_assert to silence it // 2. If there were any APIs added to ort_api_1_to_13 above: // a. Add the 'End of version #' markers (pattern above should be obvious) diff --git a/package/rpm/onnxruntime.spec b/package/rpm/onnxruntime.spec index 6023bb7f2884d..0bd6612f61418 100644 --- a/package/rpm/onnxruntime.spec +++ b/package/rpm/onnxruntime.spec @@ -1,5 +1,5 @@ Name: onnxruntime -Version: 1.13.0 +Version: 1.13.1 Release: 1%{?dist} Summary: onnxruntime