diff --git a/VERSION_NUMBER b/VERSION_NUMBER index 0eed1a29efd..feaae22bac7 100644 --- a/VERSION_NUMBER +++ b/VERSION_NUMBER @@ -1 +1 @@ -1.12.0 +1.13.0 diff --git a/docs/Versioning.md b/docs/Versioning.md index d7dee22cef3..2a8492bf0c6 100644 --- a/docs/Versioning.md +++ b/docs/Versioning.md @@ -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). diff --git a/onnx/common/version.h b/onnx/common/version.h index 62486766baa..cf826fc5f68 100644 --- a/onnx/common/version.h +++ b/onnx/common/version.h @@ -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 diff --git a/onnx/defs/schema.h b/onnx/defs/schema.h index 0f53365f6a8..b8808ac3cf7 100644 --- a/onnx/defs/schema.h +++ b/onnx/defs/schema.h @@ -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; diff --git a/onnx/helper.py b/onnx/helper.py index 2da8271473a..b320356b58a 100644 --- a/onnx/helper.py +++ b/onnx/helper.py @@ -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] diff --git a/onnx/test/helper_test.py b/onnx/test/helper_test.py index 754ce16deb0..a357535c380 100644 --- a/onnx/test/helper_test.py +++ b/onnx/test/helper_test.py @@ -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)