Skip to content

Commit f98c756

Browse files
authored
Bring IR_VERSION and some other changes into provider_api.h (#26765)
### Description Copy the most recent changes and update IR_VERSION in provider_api.h which was lost during the most recent update. ### Motivation and Context Some changes from the most recent ONNX update did not make it to provider_api.h. This causes the max version check with version 11 fail for the newly created models for DLL based EPs even though compiled from the same tree.
1 parent a83a158 commit f98c756

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

onnxruntime/core/providers/shared_library/provider_api.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ enum TensorProto_DataType : int {
7979
TensorProto_DataType_UINT4 = 21,
8080
TensorProto_DataType_INT4 = 22,
8181
TensorProto_DataType_FLOAT4E2M1 = 23,
82+
TensorProto_DataType_FLOAT8E8M0 = 24,
8283
};
8384

8485
enum TensorProto_DataLocation : int {
@@ -98,7 +99,8 @@ enum Version : int {
9899
IR_VERSION_2021_7_31 = 8,
99100
IR_VERSION_2023_5_5 = 9,
100101
IR_VERSION_2024_3_25 = 10,
101-
IR_VERSION = 11
102+
IR_VERSION_2025_05_12 = 11,
103+
IR_VERSION = 12
102104
};
103105

104106
enum OperatorStatus : int {

0 commit comments

Comments
 (0)