Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.12.0
1.13.0
1 change: 1 addition & 0 deletions docs/Versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ ONNX version|IR version|Opset version ai.onnx|Opset version ai.onnx.ml|Opset ver
1.10.2|8|15|2|1
1.11.0|8|16|3|1
1.12.0|8|17|3|1
1.13.0|8|18|3|1

A programmatically accessible version of the above table is available [here](../onnx/helper.py). Limited version number
information is also maintained in [version.h](../onnx/common/version.h) and [schema.h](../onnx/defs/schema.h).
Expand Down
2 changes: 1 addition & 1 deletion onnx/common/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
namespace ONNX_NAMESPACE {

// Represents the most recent release version. Updated with every release.
constexpr const char* LAST_RELEASE_VERSION = "1.12.0";
constexpr const char* LAST_RELEASE_VERSION = "1.13.0";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.13.0rc1
we shall make it 1.13.0 when the release is validated

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is bumping version number in the main branch first and so I think 1.13.0 is correct here. See old releases: #3973, #4209.

By contrast, the release manager will further cut the release branch and then manually change the version number in https://github.com/onnx/onnx/blob/main/VERSION_NUMBER with XXXrc1.


} // namespace ONNX_NAMESPACE
2 changes: 1 addition & 1 deletion onnx/defs/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ class OpSchemaRegistry final : public ISchemaRegistry {
// Version corresponding last release of ONNX. Update this to match with
// the max version above in a *release* version of ONNX. But in other
// versions, the max version may be ahead of the last-release-version.
last_release_version_map_[ONNX_DOMAIN] = 17;
last_release_version_map_[ONNX_DOMAIN] = 18;
last_release_version_map_[AI_ONNX_ML_DOMAIN] = 3;
last_release_version_map_[AI_ONNX_TRAINING_DOMAIN] = 1;
last_release_version_map_[AI_ONNX_PREVIEW_TRAINING_DOMAIN] = 1;
Expand Down
1 change: 1 addition & 0 deletions onnx/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
("1.10.2", 8, 15, 2, 1),
("1.11.0", 8, 16, 3, 1),
("1.12.0", 8, 17, 3, 1),
("1.13.0", 8, 18, 3, 1),
]

VersionMapType = Dict[Tuple[str, int], int]
Expand Down
1 change: 1 addition & 0 deletions onnx/test/helper_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ def test(opset_versions: List[Tuple[str, int]], ir_version: int) -> None:
test([("", 15)], 8)
test([("", 16)], 8)
test([("", 17)], 8)
test([("", 18)], 8)
# standard opset can be referred to using empty-string or "ai.onnx"
test([("ai.onnx", 9)], 4)
test([("ai.onnx.ml", 2)], 6)
Expand Down