Skip to content

Conversation

@yuslepukhin
Copy link
Member

@yuslepukhin yuslepukhin commented Aug 15, 2025

Description

See the title

Motivation and Context

Make traditional EPs (non plug-in) access OrtValue initializers.

Re: #25747

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 exposes the GetOrtValueInitializer functionality through the provider bridge to enable traditional execution providers (non-plugin) to access OrtValue initializers.

  • Adds bridge methods for GetOrtValueInitializer in both Graph and GraphViewer classes
  • Implements the provider host interface methods to delegate calls to the underlying graph objects
  • Creates wrapper methods in the shared library provider types to enable external access

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
provider_bridge_ort.cc Implements the bridge methods that delegate to the actual Graph and GraphViewer objects
provider_wrappedtypes.h Adds wrapper methods for GetOrtValueInitializer in Graph and GraphViewer classes
provider_interfaces.h Defines the virtual interface methods for the provider host

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@yuslepukhin yuslepukhin merged commit fb174c4 into main Aug 18, 2025
104 of 112 checks passed
@yuslepukhin yuslepukhin deleted the yuslepukhin/add_bridge_get_ortvalue_init branch August 18, 2025 19:19
adrianlizarraga pushed a commit that referenced this pull request Aug 21, 2025
### Description
<!-- Describe your changes. -->
See the title


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Make traditional EPs (non plug-in) access OrtValue initializers.

Re: #25747
adrianlizarraga added a commit that referenced this pull request Aug 25, 2025
### Description
Cherry-pick the following PRs into the `rel-1.23.0` branch:
- #25592
- #25622
- #25688
- #25729
- #25743
- #25769
- #25745
- #25761
- #25751
- #25716
- #25228
- #25768
- #25788
- #25747
- #25800
- #25818
- #25762
- #25749
- #25831


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

---------

Co-authored-by: quic-tirupath <[email protected]>
Co-authored-by: quic-calvnguy <[email protected]>
Co-authored-by: qti-kromero <[email protected]>
Co-authored-by: Jeff Kilpatrick <[email protected]>
Co-authored-by: Scott McKay <[email protected]>
Co-authored-by: David Fan <[email protected]>
Co-authored-by: kuanyul-qti <[email protected]>
Co-authored-by: Dmitri Smirnov <[email protected]>
Co-authored-by: Chi Lo <[email protected]>
Co-authored-by: Edward Chen <[email protected]>
Co-authored-by: Chunye Wang@AMD <[email protected]>
Co-authored-by: minfhong-qti <[email protected]>
Co-authored-by: Vishal Agarwal <[email protected]>
Co-authored-by: Maximilian Müller <[email protected]>
Co-authored-by: Maximilian Müller <[email protected]>
Co-authored-by: Changming Sun <[email protected]>
Co-authored-by: adrastogi <[email protected]>
Co-authored-by: Aditya Rastogi <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
gedoensmax pushed a commit to gedoensmax/onnxruntime that referenced this pull request Sep 2, 2025
### Description
<!-- Describe your changes. -->
See the title


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Make traditional EPs (non plug-in) access OrtValue initializers.

Re: microsoft#25747
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