Skip to content

Commit

Permalink
bumping up to version 1.9 (microsoft#8982)
Browse files Browse the repository at this point in the history
* bump up version

* makes the windowAI column align with ORT version

* update the hardcoded version string

* fix a typo
  • Loading branch information
wangyems authored Sep 7, 2021
1 parent 00eca42 commit e219479
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.2
1.9.0
1 change: 1 addition & 0 deletions docs/Versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ For more details on ONNX Release versions, see [this page](https://github.com/on

| ONNX Runtime release version | ONNX release version | ONNX opset version | ONNX ML opset version | Supported ONNX IR version | [Windows ML Availability](https://docs.microsoft.com/en-us/windows/ai/windows-ml/release-notes/)|
|------------------------------|--------------------|--------------------|----------------------|------------------|------------------|
| 1.9.0 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.9+ |
| 1.8.2 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.8+ |
| 1.8.1 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.8+ |
| 1.8.0 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.8+ |
Expand Down
5 changes: 5 additions & 0 deletions docs/python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://ak
Changes
-------

1.9.0
^^^^^

Release Notes : https://github.com/Microsoft/onnxruntime/releases/tag/v1.9.0

1.8.2
^^^^^

Expand Down
4 changes: 2 additions & 2 deletions js/common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git"
},
"author": "fs-eire",
"version": "1.8.2",
"version": "1.9.0",
"keywords": [
"ONNX",
"ONNXRuntime",
Expand Down
2 changes: 1 addition & 1 deletion js/node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git"
},
"author": "fs-eire",
"version": "1.8.2",
"version": "1.9.0",
"keywords": [
"ONNX",
"ONNXRuntime",
Expand Down Expand Up @@ -63,4 +63,4 @@
3
]
}
}
}
2 changes: 1 addition & 1 deletion js/react_native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onnxruntime-react-native",
"version": "1.8.2",
"version": "1.9.0",
"description": "Onnxruntime bridge for react native",
"main": "dist/commonjs/index",
"module": "dist/module/index",
Expand Down
4 changes: 2 additions & 2 deletions js/web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git"
},
"author": "fs-eire",
"version": "1.8.2",
"version": "1.9.0",
"keywords": [
"ONNX",
"ONNXRuntime",
Expand Down Expand Up @@ -78,4 +78,4 @@
"unpkg": "dist/ort.min.js",
"module": "./lib/index.js",
"browser": "dist/ort-web.min.js"
}
}
2 changes: 1 addition & 1 deletion onnxruntime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://aka.ms/onnxruntime/>`_
or the `Github project <https://github.com/microsoft/onnxruntime/>`_.
"""
__version__ = "1.8.2"
__version__ = "1.9.0"
__author__ = "Microsoft"

# we need to do device version validation (for example to check Cuda version for an onnxruntime-training package).
Expand Down
6 changes: 4 additions & 2 deletions onnxruntime/core/session/onnxruntime_c_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2340,7 +2340,6 @@ static constexpr OrtApi ort_api_1_to_9 = {
&OrtApis::CreateSessionFromArrayWithPrepackedWeightsContainer,
// End of Version 8 - DO NOT MODIFY ABOVE (see above text for more information)

// Version 9 - In development, feel free to add/remove/rearrange here
&OrtApis::SessionOptionsAppendExecutionProvider_TensorRT_V2,
&OrtApis::CreateTensorRTProviderOptions,
&OrtApis::UpdateTensorRTProviderOptions,
Expand All @@ -2363,6 +2362,9 @@ static constexpr OrtApi ort_api_1_to_9 = {
&OrtApis::GetSparseTensorValues,
&OrtApis::GetSparseTensorIndicesTypeShape,
&OrtApis::GetSparseTensorIndices,
// End of Version 9 - DO NOT MODIFY ABOVE (see above text for more information)

// Version 10 - In development, feel free to add/remove/rearrange here
};

// 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)
Expand All @@ -2377,7 +2379,7 @@ static_assert(offsetof(OrtApi, GetCurrentGpuDeviceId) / sizeof(void*) == 161, "S
static_assert(offsetof(OrtApi, CreateSessionFromArrayWithPrepackedWeightsContainer) / sizeof(void*) == 169, "Size of version 8 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.8.2", "ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly");
static_assert(std::string_view(ORT_VERSION) == "1.9.0", "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_9 above:
// a. Add the 'End of version #' markers (pattern above should be obvious)
Expand Down
2 changes: 1 addition & 1 deletion package/rpm/onnxruntime.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: onnxruntime
Version: 1.8.2
Version: 1.9.0
Release: 1%{?dist}
Summary: onnxruntime

Expand Down

0 comments on commit e219479

Please sign in to comment.