Skip to content

Commit

Permalink
Bump version (#4666)
Browse files Browse the repository at this point in the history
Signed-off-by: p-wysocki <przemyslaw.wysocki@intel.com>

Signed-off-by: p-wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: G. Ramalingam <grama@microsoft.com>
  • Loading branch information
p-wysocki and gramalingam authored Nov 22, 2022
1 parent bad0697 commit 3fd41d2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
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";

} // 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

0 comments on commit 3fd41d2

Please sign in to comment.