Skip to content

Conversation

@yuslepukhin
Copy link
Member

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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR synchronizes the provider_api.h file with the most recent ONNX updates that were previously missed. The primary motivation is to fix a version check failure for newly created models used with DLL-based execution providers.

Key Changes

  • Added a new tensor data type: TensorProto_DataType_FLOAT8E8M0 = 24
  • Added version constant IR_VERSION_2025_05_12 = 11
  • Updated IR_VERSION from 11 to 12

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yuslepukhin yuslepukhin enabled auto-merge (squash) December 10, 2025 23:30
@yuslepukhin yuslepukhin merged commit f98c756 into main Dec 11, 2025
116 of 119 checks passed
@yuslepukhin yuslepukhin deleted the yuslepukhin/bump_ir_version_provider_api branch December 11, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants