Skip to content

Conversation

@skottmckay
Copy link
Contributor

Description

Refactor to split out classes and make things easier to find.

Motivation and Context

Cleanup

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 refactors the plugin execution provider (EP) support by reorganizing code into a dedicated plugin_ep subdirectory. The primary goal is to improve code organization and make EP-related functionality easier to locate and maintain.

Key changes:

  • Move all plugin EP-related files to a new core/session/plugin_ep/ directory
  • Split large monolithic implementation files into separate, focused class files
  • Update all include paths to reflect the new directory structure

Reviewed Changes

Copilot reviewed 31 out of 34 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Multiple test and source files Updated include paths from core/session/ to core/session/plugin_ep/
ep_library_provider_bridge.cc Split implementation into separate header and source files
ep_library_internal.cc Refactored into separate factory classes (CPU, DML, WebGPU)
ep_factory_*.h/.cc New separate files for each EP factory implementation
forward_to_factory_impl.h Renamed struct from ForwardToFactory to ForwardToFactoryImpl
cmake/onnxruntime_session.cmake Updated build configuration to include new directory

jywu-msft
jywu-msft previously approved these changes Jul 26, 2025
@skottmckay skottmckay merged commit 51d3198 into main Jul 28, 2025
93 of 97 checks passed
@skottmckay skottmckay deleted the skottmckay/RefactorPluginEpSupportFiles branch July 28, 2025 06:27
snnn pushed a commit that referenced this pull request Jul 28, 2025
### Description
<!-- Describe your changes. -->
Refactor to split out classes and make things easier to find. 

### 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. -->
Cleanup
@snnn snnn mentioned this pull request Jul 28, 2025
snnn pushed a commit that referenced this pull request Jul 28, 2025
- **DynamicQuantizeMatMul - handle case where B zero point input is
provided but not constant. (#25544)**
- **Refactor plugin EP support (#25541)**
- **Remove the python installation steps from
win-qnn-arm64-ci-pipeline.yml (#25552)**
snnn pushed a commit that referenced this pull request Jul 30, 2025
- DynamicQuantizeMatMul - handle case where B zero point input is
provided but not constant. (#25544)
- Refactor plugin EP support (#25541)
- Remove the python installation steps from
win-qnn-arm64-ci-pipeline.yml (#25552)
- [EP ABI] Node_GetAttrByName returns ORT_NOT_FOUND with non-existing
attr name (#25565)
- Fix C/C++ documentation generation (#25569)
- [build] fix multi-config for VCPKG (#25585)
sanketkaleoss pushed a commit to sanketkaleoss/onnxruntime that referenced this pull request Aug 11, 2025
### Description
<!-- Describe your changes. -->
Refactor to split out classes and make things easier to find. 

### 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. -->
Cleanup
sanketkaleoss pushed a commit to sanketkaleoss/onnxruntime that referenced this pull request Aug 11, 2025
- **DynamicQuantizeMatMul - handle case where B zero point input is
provided but not constant. (microsoft#25544)**
- **Refactor plugin EP support (microsoft#25541)**
- **Remove the python installation steps from
win-qnn-arm64-ci-pipeline.yml (microsoft#25552)**
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.

3 participants