Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4f215a6
Integrate ONNX 1.23.0 base plumbing
justinchuby Sep 1, 2026
1b70a86
Harden ONNX node corpus version checks
justinchuby Sep 1, 2026
9285320
Add FP6 TensorProto element sizes
justinchuby Sep 1, 2026
2eabd0e
Map ONNX Float6 element types
justinchuby Sep 2, 2026
a38811d
Wire materialized node tests to runner
justinchuby Sep 2, 2026
6602645
Test ONNX Float6 type mappings
justinchuby Sep 2, 2026
9c5b67f
Pin ONNX 1.23 RC wheel
justinchuby Sep 2, 2026
40f1960
Fix ONNX 1.23 CI compatibility
justinchuby Sep 4, 2026
02e942b
Rebase ONNX integration patches
justinchuby Sep 15, 2026
a924fb5
Fix ONNX opset 28 CI compatibility
justinchuby Sep 16, 2026
571f350
Merge origin/main into ONNX 1.23 integration
justinchuby Sep 16, 2026
7488e90
Stabilize ONNX opset 28 CI baseline
justinchuby Sep 16, 2026
8ddc700
Complete opset 28 backend test filters
justinchuby Sep 16, 2026
fd388b5
Merge branch 'justinchuby-fix-onnx-1-23-ci' into justinchuby-onnx-1-2…
justinchuby Sep 16, 2026
d449474
Fix ONNX 1.23 backend test compatibility
justinchuby Sep 16, 2026
cf8042a
Fix ONNX opset 28 provider compatibility
justinchuby Sep 16, 2026
c52376f
Fix opset 28 backend test coverage
justinchuby Sep 17, 2026
0833c3b
Fix ONNX no-doc opset 28 symbols
justinchuby Sep 17, 2026
2efac11
Fix ONNX 1.23 DML and QNN test expectations
justinchuby Sep 17, 2026
00754f7
Fix CUDA Compress test model construction
justinchuby Sep 17, 2026
c117c47
Scope unreleased opset backend tests
justinchuby Sep 17, 2026
f9ada07
Fix backend test environment import order
justinchuby Sep 17, 2026
3a45b60
Restore Ruff import groups
justinchuby Sep 17, 2026
7373b0f
Match CI import ordering
justinchuby Sep 17, 2026
4893736
Fix unreleased opset backend test routing
justinchuby Sep 17, 2026
3cb4b87
Match Python format import output
justinchuby Sep 17, 2026
5b6ad89
Set CUDA backend opset policy explicitly
justinchuby Sep 17, 2026
9f3c1d6
Stabilize backend test import ordering
justinchuby Sep 17, 2026
c743ee1
Fix WebGPU plugin logger visibility
justinchuby Sep 17, 2026
68037d7
Exclude crashing CUDA local-window backend test
justinchuby Sep 17, 2026
4c7e002
Merge origin/main into ONNX 1.23 integration
justinchuby Sep 17, 2026
21c87ad
Pin QDQ cleanup removal test opset
justinchuby Sep 17, 2026
d84d265
Fix ONNX 1.23 Windows test failures
justinchuby Sep 17, 2026
6f45b5b
Fix remaining Windows test failures
justinchuby Sep 17, 2026
3c2eda0
Fix remaining ONNX 1.23 plugin tests
justinchuby Sep 17, 2026
5ddb3bd
Merge origin/main into ONNX 1.23 opset 28
justinchuby Sep 17, 2026
6ede725
Exclude crashing CUDA rank-2 mask test
justinchuby Sep 18, 2026
68f7d89
Exclude crashing CUDA rank-3 mask test
justinchuby Sep 18, 2026
7f2de59
Exclude crashing CUDA rank-4 mask test
justinchuby Sep 18, 2026
b002b8d
Exclude crashing CUDA GQA mask test
justinchuby Sep 18, 2026
4492d6a
Exclude crashing CUDA rank-1 mask test
justinchuby Sep 18, 2026
4faf3b0
Exclude crashing CUDA with-past test
justinchuby Sep 18, 2026
bfed8b5
Propagate backend unreleased-opset policy
justinchuby Sep 18, 2026
343eefd
Honor released opset policy for model bytes
justinchuby Sep 18, 2026
5e241b9
Allow current opsets in CUDA backend tests
justinchuby Sep 18, 2026
2d2e260
Skip unsupported CUDA backend fallbacks
justinchuby Sep 18, 2026
b61af6f
Merge origin/main into ONNX opset 28 integration
justinchuby Sep 18, 2026
81b968d
Add signed BitShift support for opset 28 (#32361)
justinchuby Sep 21, 2026
4a8ceca
Fix ONNX 1.23 opset 28 integration
gramalingam Sep 26, 2026
fee2008
Fix ONNX 1.23 CI failures
gramalingam Sep 28, 2026
24b487b
Fix remaining ONNX 1.23 tests
gramalingam Sep 28, 2026
67478d4
Address ONNX 1.23 review feedback
gramalingam Sep 29, 2026
357e6d5
Merge remote-tracking branch 'origin/main' into justinchuby-onnx-1-23…
gramalingam Sep 29, 2026
67219fe
Fix post-merge CI failures
gramalingam Sep 29, 2026
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 .github/workflows/linux_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
dockerfile_path: tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_cpu
docker_image_repo: onnxruntimecpubuildpythonx64
# MATERIALIZE=ON needs no explicit pre-build pip install on this leg: the manylinux cp314
# image already ships onnx==1.22.0 + numpy==2.4.2 (the exact gate pins) via its
# image already ships onnx==1.23.0rc1 + numpy==2.4.2 (the exact gate pins) via its
# requirements.txt (install_deps.sh installs it into cp311-cp314). Intentional, not an
# omission -- unlike the QNN/android legs which run on bare agents and pip-install the pins.
extra_build_flags: '--use_binskim_compliant_compile_flags --build_wheel --build_nuget --enable_transformers_tool_test --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON --cmake_extra_defines onnxruntime_MATERIALIZE_ONNX_NODE_TESTS=ON'
Expand Down
8 changes: 4 additions & 4 deletions cmake/deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ microsoft_gsl;https://github.com/microsoft/GSL/archive/refs/tags/v4.2.1.zip;1094
microsoft_wil;https://github.com/microsoft/wil/archive/refs/tags/v1.0.250325.1.zip;826c8bd47c2258ec61b8b218e031e5b33d27f761
mimalloc;https://github.com/microsoft/mimalloc/archive/refs/tags/v2.1.1.zip;d5ee7d34223d0567892db5179849939c8769dc41
mp11;https://github.com/boostorg/mp11/archive/refs/tags/boost-1.82.0.zip;9bc9e01dffb64d9e0773b2e44d2f22c51aace063
# ONNX pinned to the 1.22.0 final release (tag v1.22.0). rc2->final changed only CI
# workflow yml + VERSION_NUMBER (no operator-schema, opset, or testdata change), so it is
# pure version plumbing. The 7 CI requirements.txt files are pinned to onnx==1.22.0 (now on PyPI).
onnx;https://github.com/onnx/onnx/archive/refs/tags/v1.22.0.zip;2b2cd58ac7a26df5371266149e0c76776330cdf1
# ONNX source VERSION_NUMBER=1.23.0 / opset 28 under development, pinned to the exact main commit.
# ONNX_VERSION=1.23.0
# The 7 CI requirements.txt files are pinned to onnx==1.23.0rc1.
onnx;https://github.com/onnx/onnx/archive/c78026fa617f273fe5c685c74f9de3e6e96504ed.zip;c6db933eed488046fa0bdae215d84a9351715ee4
# Use the latest commit of 10.9-GA
onnx_tensorrt;https://github.com/onnx/onnx-tensorrt/archive/d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip;01114d3b67650857281fa50faa2e412130a63b69
protobuf;https://github.com/protocolbuffers/protobuf/releases/download/v33.6/protobuf-33.6.tar.gz;051fee744fcca04dab37eb009d49aa3e9546acda
Expand Down
2 changes: 1 addition & 1 deletion cmake/external/onnx
Submodule onnx updated 8209 files
17 changes: 11 additions & 6 deletions cmake/onnxruntime_unittests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1712,13 +1712,15 @@ if (NOT onnxruntime_ENABLE_TRAINING_TORCH_INTEROP)
# coverage gap this feature exists to close.
# ---------------------------------------------------------------------------
if (onnxruntime_MATERIALIZE_ONNX_NODE_TESTS AND NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
# onnx version pin: derive from the archive URL in cmake/deps.txt (single source of truth).
string(REGEX MATCH "v([0-9]+\\.[0-9]+\\.[0-9]+)" _onnx_url_ver "${DEP_URL_onnx}")
if(CMAKE_MATCH_1)
set(_onnx_pinned_version ${CMAKE_MATCH_1})
# Commit-pinned archives do not encode a release version in DEP_URL_onnx. Keep the
# expected wheel version in deps.txt alongside the exact archive pin.
file(STRINGS "${REPO_ROOT}/cmake/deps.txt" _onnx_version_line REGEX "^# ONNX_VERSION=")
Comment thread
gramalingam marked this conversation as resolved.
Outdated
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" _onnx_pinned_version "${_onnx_version_line}")
if(_onnx_pinned_version)
string(STRIP "${_onnx_pinned_version}" _onnx_pinned_version)
else()
message(FATAL_ERROR "Could not parse the pinned onnx version from DEP_URL_onnx='${DEP_URL_onnx}' "
"(expected a vX.Y.Z tag). Fix cmake/deps.txt or this regex.")
message(FATAL_ERROR "Could not parse ONNX_VERSION=X.Y.Z from cmake/deps.txt. "
"Fix the ONNX dependency metadata or this parser.")
endif()

# Python interpreter is not guaranteed for static test-only builds (the top-level
Expand Down Expand Up @@ -1844,6 +1846,9 @@ if (NOT onnxruntime_ENABLE_TRAINING_TORCH_INTEROP)
VERBATIM)
add_custom_target(onnx_node_tests_materialized ALL
DEPENDS ${_materialized_node_root}/.stamp)
# Keep the corpus available for targeted onnx_test_runner builds as well as
# normal ALL builds. The runner is the direct C++ consumer of this artifact.
add_dependencies(onnx_test_runner onnx_node_tests_materialized)
Comment thread
justinchuby marked this conversation as resolved.
Outdated

if (NOT onnxruntime_REDUCED_OPS_BUILD)
# First-class ctest over the materialized node corpus (the durable replacement for the
Expand Down
25 changes: 24 additions & 1 deletion cmake/patches/onnx/onnx.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ index 791e24b..5f861a1 100644
option(ONNX_INSTALL "Install ONNX targets, headers, and CMake config files" ON)
if(WIN32)
option(ONNX_USE_MSVC_STATIC_RUNTIME "Build with MSVC static runtime. Ignored if CMAKE_MSVC_RUNTIME_LIBRARY is defined." OFF)
@@ -515,7 +516,22 @@ add_dependencies(onnx_proto onnx_proto_gen)
@@ -515,7 +516,23 @@ add_dependencies(onnx_proto onnx_proto_gen)
# Core library. Hand-written sources come from target_sources(onnx ...) in the
# subdirectories; the protobuf objects are pulled in from onnx_proto.
add_library(onnx $<TARGET_OBJECTS:onnx_proto>)
Expand All @@ -22,6 +22,7 @@ index 791e24b..5f861a1 100644
+ # the full operator/schema sources via add_subdirectory(onnx).
+ target_sources(onnx PRIVATE
+ "${ONNX_ROOT}/onnx/defs/data_type_utils.cc"
+ "${ONNX_ROOT}/onnx/defs/doc_strings.cc"
+ )
+ # Ensure ONNX_ML is treated as ON for minimal build consistency with ORT's file
+ set(ONNX_ML ON CACHE BOOL "Enable traditional ML API." FORCE)
Expand All @@ -46,3 +47,25 @@ index 3887169..8432613 100644
.SetDoc(GroupNormalization_ver18_doc)
.Attr("epsilon", "The epsilon value to use to avoid division by zero.", AttributeProto::FLOAT, 1e-5f)
.Attr(
diff --git a/onnx/defs/printer.cc b/onnx/defs/printer.cc
index 1d43bcc..7a0bd06 100644
--- a/onnx/defs/printer.cc
+++ b/onnx/defs/printer.cc
@@ -31,6 +31,11 @@ std::vector<Widened> ParseRawIntData(const TensorProto& tensor) {
// point, the shortest form that round-trips through the parser.
template <typename T>
void PrintNumber(std::ostream& os, T value) {
+#if defined(__APPLE__) && defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && \
+ __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 160300
+ // std::to_chars is unavailable when targeting iOS releases before 16.3.
+ os << value;
+#else
Comment thread
justinchuby marked this conversation as resolved.
if constexpr (std::is_floating_point_v<T>) {
// Normalize NaN: MSVC's to_chars emits payload forms like "nan(ind)"
// that the parser does not accept.
@@ -42,4 +47,5 @@ void PrintNumber(std::ostream& os, T value) {
std::array<char, 32> buf{};
const auto res = std::to_chars(buf.data(), buf.data() + buf.size(), value);
os.write(buf.data(), res.ptr - buf.data());
+#endif
}
25 changes: 24 additions & 1 deletion cmake/vcpkg-ports/onnx/binskim.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ index 791e24b..5f861a1 100644
option(ONNX_INSTALL "Install ONNX targets, headers, and CMake config files" ON)
if(WIN32)
option(ONNX_USE_MSVC_STATIC_RUNTIME "Build with MSVC static runtime. Ignored if CMAKE_MSVC_RUNTIME_LIBRARY is defined." OFF)
@@ -515,7 +516,22 @@ add_dependencies(onnx_proto onnx_proto_gen)
@@ -515,7 +516,23 @@ add_dependencies(onnx_proto onnx_proto_gen)
# Core library. Hand-written sources come from target_sources(onnx ...) in the
# subdirectories; the protobuf objects are pulled in from onnx_proto.
add_library(onnx $<TARGET_OBJECTS:onnx_proto>)
Expand All @@ -22,6 +22,7 @@ index 791e24b..5f861a1 100644
+ # the full operator/schema sources via add_subdirectory(onnx).
+ target_sources(onnx PRIVATE
+ "${ONNX_ROOT}/onnx/defs/data_type_utils.cc"
+ "${ONNX_ROOT}/onnx/defs/doc_strings.cc"
+ )
+ # Ensure ONNX_ML is treated as ON for minimal build consistency with ORT's file
+ set(ONNX_ML ON CACHE BOOL "Enable traditional ML API." FORCE)
Expand All @@ -46,3 +47,25 @@ index 3887169..8432613 100644
.SetDoc(GroupNormalization_ver18_doc)
.Attr("epsilon", "The epsilon value to use to avoid division by zero.", AttributeProto::FLOAT, 1e-5f)
.Attr(
diff --git a/onnx/defs/printer.cc b/onnx/defs/printer.cc
index 1d43bcc..7a0bd06 100644
--- a/onnx/defs/printer.cc
+++ b/onnx/defs/printer.cc
@@ -31,6 +31,11 @@ std::vector<Widened> ParseRawIntData(const TensorProto& tensor) {
// point, the shortest form that round-trips through the parser.
template <typename T>
void PrintNumber(std::ostream& os, T value) {
+#if defined(__APPLE__) && defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && \
+ __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 160300
+ // std::to_chars is unavailable when targeting iOS releases before 16.3.
+ os << value;
+#else
Comment thread
justinchuby marked this conversation as resolved.
if constexpr (std::is_floating_point_v<T>) {
// Normalize NaN: MSVC's to_chars emits payload forms like "nan(ind)"
// that the parser does not accept.
@@ -42,4 +47,5 @@ void PrintNumber(std::ostream& os, T value) {
std::array<char, 32> buf{};
const auto res = std::to_chars(buf.data(), buf.data() + buf.size(), value);
os.write(buf.data(), res.ptr - buf.data());
+#endif
}
4 changes: 3 additions & 1 deletion cmake/vcpkg-ports/onnx/fix-dependency-protobuf.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a7df7d71..257d77e61 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -159,6 +159,7 @@ if(NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE)
@@ -185,6 +185,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
# Build the libraries with -fPIC including the protobuf lib.
if(NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()

Expand Down
4 changes: 2 additions & 2 deletions cmake/vcpkg-ports/onnx/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO onnx/onnx
REF "v1.22.0"
SHA512 13fafff073a8e0bcf67fd06195da979c3c6273b3f5fdd25f5e5c39ad6af20eefe107f13dc73d52b6021e986d87401e46121e00bba8fbd09f098334e34f78462f
REF "c78026fa617f273fe5c685c74f9de3e6e96504ed"
SHA512 dc5ab9a935bdbb890d10baf371a3a613abde4cac4cdd32ee8c83ce820358c87718c3bc1eb2d5d1f08f29a51cd4f93377d7b99e3f9e97edcb49b3803e5915d57d
PATCHES
fix-cmakelists.patch
fix-dependency-protobuf.patch
Expand Down
2 changes: 1 addition & 1 deletion cmake/vcpkg-ports/onnx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onnx",
"version-semver": "1.22.0",
"version-semver": "1.23.0",
"port-version": 0,
"description": "Open standard for machine learning interoperability",
"homepage": "https://onnx.ai",
Expand Down
2 changes: 1 addition & 1 deletion include/onnxruntime/core/graph/schema_registry.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class IOnnxRuntimeOpSchemaCollection : public ONNX_NAMESPACE::ISchemaRegistry {

using ISchemaRegistry::GetSchema;

const ONNX_NAMESPACE::OpSchema* GetSchema(const std::string& key, const int maxInclusiveVersion,
const ONNX_NAMESPACE::OpSchema* GetSchema(const std::string& key, int maxInclusiveVersion,
const std::string& domain) const final {
const ONNX_NAMESPACE::OpSchema* latest_schema = nullptr;
int earliest_opset_where_unchanged = std::numeric_limits<int>::max();
Expand Down
3 changes: 3 additions & 0 deletions include/onnxruntime/core/session/onnxruntime_c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ typedef enum ONNXTensorElementDataType {
ONNX_TENSOR_ELEMENT_DATA_TYPE_INT2, // maps to 4 packed int2 values (size == 1 byte)
// Float8E8M0 type introduced in ONNX 1.21. 8-bit float with 8 exponent bits, 0 mantissa bits, no sign bit.
ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E8M0, // Non-IEEE floating-point format, all values are powers of two
// Float6 types introduced in ONNX 1.23.
ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT6E2M3, // 6-bit float stored in an int32_data entry
Comment thread
gramalingam marked this conversation as resolved.
Outdated
ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT6E3M2, // 6-bit float stored in an int32_data entry
} ONNXTensorElementDataType;

// Synced with onnx TypeProto oneof
Expand Down
7 changes: 4 additions & 3 deletions js/web/docs/webgl-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ See [Compatibility](../README.md#Compatibility) for a list of the supported plat
| [BitwiseOr](https://github.com/onnx/onnx/blob/main/docs/Operators.md#BitwiseOr) | |
| [BitwiseXor](https://github.com/onnx/onnx/blob/main/docs/Operators.md#BitwiseXor) | |
| [BlackmanWindow](https://github.com/onnx/onnx/blob/main/docs/Operators.md#BlackmanWindow) | |
| [Cast](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Cast) | [6-8](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-6), [9-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-9), [13-18](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-13), [19-20](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-19), [21-22](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-21), [23](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-23), [24](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-24), [25+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-25) |
| [Cast](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Cast) | [6-8](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-6), [9-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-9), [13-18](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-13), [19-20](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-19), [21-22](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-21), [23](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-23), [24](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-24), [25-27](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-25), [28+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Cast-28) |
| [CastLike](https://github.com/onnx/onnx/blob/main/docs/Operators.md#CastLike) | |
| [CausalConvWithState](https://github.com/onnx/onnx/blob/main/docs/Operators.md#CausalConvWithState) | |
| [Ceil](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Ceil) | [6-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Ceil-6), [13+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Ceil-13) |
Expand All @@ -53,7 +53,7 @@ See [Compatibility](../README.md#Compatibility) for a list of the supported plat
| [CumSum](https://github.com/onnx/onnx/blob/main/docs/Operators.md#CumSum) | |
| [DFT](https://github.com/onnx/onnx/blob/main/docs/Operators.md#DFT) | |
| [DeformConv](https://github.com/onnx/onnx/blob/main/docs/Operators.md#DeformConv) | |
| [DepthToSpace](https://github.com/onnx/onnx/blob/main/docs/Operators.md#DepthToSpace) | [1-10](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#DepthToSpace-1), [11-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#DepthToSpace-11), [13+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#DepthToSpace-13) |
| [DepthToSpace](https://github.com/onnx/onnx/blob/main/docs/Operators.md#DepthToSpace) | [1-10](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#DepthToSpace-1), [11-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#DepthToSpace-11), [13-27](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#DepthToSpace-13), [28+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#DepthToSpace-28) |
| [DequantizeLinear](https://github.com/onnx/onnx/blob/main/docs/Operators.md#DequantizeLinear) | |
| [Det](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Det) | |
| [Div](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Div) | [7-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Div-7), [13](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Div-13), [14+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Div-14) |
Expand Down Expand Up @@ -144,7 +144,7 @@ See [Compatibility](../README.md#Compatibility) for a list of the supported plat
| [Reciprocal](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Reciprocal) | |
| [ReduceL1](https://github.com/onnx/onnx/blob/main/docs/Operators.md#ReduceL1) | |
| [ReduceL2](https://github.com/onnx/onnx/blob/main/docs/Operators.md#ReduceL2) | |
| [ReduceLogSum](https://github.com/onnx/onnx/blob/main/docs/Operators.md#ReduceLogSum) | [1-10](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-1), [11-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-11), [13-17](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-13), [18+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-18) |
| [ReduceLogSum](https://github.com/onnx/onnx/blob/main/docs/Operators.md#ReduceLogSum) | [1-10](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-1), [11-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-11), [13-17](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-13), [18-27](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-18), [28+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceLogSum-28) |
| [ReduceLogSumExp](https://github.com/onnx/onnx/blob/main/docs/Operators.md#ReduceLogSumExp) | |
| [ReduceMax](https://github.com/onnx/onnx/blob/main/docs/Operators.md#ReduceMax) | [1-10](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMax-1), [11](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMax-11), [12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMax-12), [13-17](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMax-13), [18-19](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMax-18), [20+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMax-20) |
| [ReduceMean](https://github.com/onnx/onnx/blob/main/docs/Operators.md#ReduceMean) | [1-10](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMean-1), [11-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMean-11), [13-17](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMean-13), [18+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#ReduceMean-18) |
Expand Down Expand Up @@ -195,6 +195,7 @@ See [Compatibility](../README.md#Compatibility) for a list of the supported plat
| [StringSplit](https://github.com/onnx/onnx/blob/main/docs/Operators.md#StringSplit) | |
| [Sub](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Sub) | [7-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sub-7), [13](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sub-13), [14+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sub-14) |
| [Sum](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Sum) | [6-7](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sum-6), [8-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sum-8), [13+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sum-13) |
| [SwiGLU](https://github.com/onnx/onnx/blob/main/docs/Operators.md#SwiGLU) | |
| [Swish](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Swish) | |
| [Tan](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Tan) | [7-21](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Tan-7), [22+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Tan-22) |
| [Tanh](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Tanh) | [6-12](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Tanh-6), [13+](https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Tanh-13) |
Expand Down
4 changes: 2 additions & 2 deletions onnxruntime/core/framework/onnxruntime_map_type_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ constexpr ONNXTensorElementDataType ToONNXTensorElementDataType(
return ONNX_TENSOR_ELEMENT_DATA_TYPE_UNDEFINED;
}

// The enums have the same values through FLOAT4E2M1. Their final three entries
// The enums have the same values through FLOAT4E2M1. The following three entries
// differ because ONNX inserted FLOAT8E8M0 before UINT2 and INT2.
switch (data_type) {
case ONNX_NAMESPACE::TensorProto_DataType_FLOAT8E8M0:
Expand All @@ -42,7 +42,7 @@ constexpr ONNXTensorElementDataType ToONNXTensorElementDataType(

consteval bool IsTensorProtoToOrtElementTypeMapBijective() {
constexpr size_t ort_element_type_count =
static_cast<size_t>(ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E8M0) + 1;
static_cast<size_t>(ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT6E3M2) + 1;
constexpr size_t onnx_element_type_count = ONNX_NAMESPACE::TensorProto_DataType_DataType_ARRAYSIZE;
if constexpr (onnx_element_type_count != ort_element_type_count) {
return false;
Expand Down
Loading
Loading