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
1 change: 1 addition & 0 deletions docs/Versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ ONNX version|IR version|Opset version ai.onnx|Opset version ai.onnx.ml|Opset ver
1.12.0|8|17|3|1
1.13.0|8|18|3|1
1.13.1|8|18|3|1
1.14.0|9|19|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 @@ -9,6 +9,6 @@
namespace ONNX_NAMESPACE {

// Represents the most recent release version. Updated with every release.
constexpr const char* LAST_RELEASE_VERSION = "1.13.1";
constexpr const char* LAST_RELEASE_VERSION = "1.14.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 @@ -1015,7 +1015,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] = 18;
last_release_version_map_[ONNX_DOMAIN] = 19;
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 @@ -71,6 +71,7 @@
("1.12.0", 8, 17, 3, 1),
("1.13.0", 8, 18, 3, 1),
("1.13.1", 8, 18, 3, 1),
("1.14.0", 9, 19, 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 @@ -391,6 +391,7 @@ def test(opset_versions: List[Tuple[str, int]], ir_version: int) -> None:
test([("", 16)], 8)
test([("", 17)], 8)
test([("", 18)], 8)
test([("", 19)], 9)
# 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