Cherry-pick MiGraphX EP fixes from upstream for rel-1.23.0#25659
Merged
nieubank merged 4 commits intomicrosoft:rel-1.23.0from Aug 7, 2025
Merged
Cherry-pick MiGraphX EP fixes from upstream for rel-1.23.0#25659nieubank merged 4 commits intomicrosoft:rel-1.23.0from
nieubank merged 4 commits intomicrosoft:rel-1.23.0from
Conversation
…me (microsoft#25516) After cherry-picking from win-onnxruntime (microsoft#25481), the MIGraphX EP stopped compiling on the main branch.
…and change vendor_id (microsoft#25625) This fixes the CreateIExecutionProvider for MIGraphX EP when calling CreateExecutionProviderFactory, using OrtMIGraphXProviderOptions instead of ProviderOptions. Also changes the vendor_id so that OrderDevices in provider_policy_context.cc will default dml ep when ep_policy is set to GPU. Will update pending more changes to MIGraphX EP. Co-authored-by: ozhang <ozhang@amd.com>
### Description Update OrtEpFactory in new EPs to add allocator, data transfer and stream stubs. ### Motivation and Context
Contributor
Author
Contributor
Author
|
Please help approve this PR |
skottmckay
reviewed
Aug 5, 2025
Incorporates change from PR microsoft#25677 to add vendor ID check (0x1002) in GetSupportedDevicesImpl to ensure MiGraphX EP only supports AMD hardware devices. Co-authored-by: Owen Zhang <owen_zzz@hotmail.com>
343780f to
8346646
Compare
skottmckay
approved these changes
Aug 7, 2025
nieubank
approved these changes
Aug 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick MiGraphX EP fixes from upstream for rel-1.23.0
This PR cherry-picks three critical fixes for the MiGraphX Execution Provider:
Fix compilation after cherry-picking from win-onnxruntime ([MIGraphX EP] Fix compilation after cherry-picking from win-onnxruntime #25516)
Fix CreateExecutionProviderFactory with correct struct and change vendor_id ([MIGraphX EP] Fix CreateExecutionProviderFactory with correct struct and change vendor_id #25625)
Update OrtEpFactory in MiGraphX EP (Update OrtEpFactory in MiGraphX EP #25567)
These fixes ensure MiGraphX EP builds correctly and integrates properly with
the ORT execution provider selection framework in the 1.23.0 release.
Cherry-picked commits: