onnxruntime
Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs
#25689
Merged

Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs #25689

edgchen1 merged 89 commits into main from edgchen1/plugin_ep_unit_tests
edgchen1
edgchen1 fix comment referring to IsAllowReleasedONNXOpsetsOnlySetForThisTest(…
986e8a26
edgchen1 add some casting to fix msvc 4244 warnings
4e6c8ba3
edgchen1 rename op test files to have suffix op_test.cc
7d80c610
edgchen1 move provider options session options update from CreateIExecutionPro…
d46b59c3
edgchen1 compile fix
4148b539
edgchen1 fix another issue
d4cdc9bb
edgchen1 save work - enable dynamic plugin EP in op tests
4fa6be01
edgchen1 move op tests from onnxruntime_test_all to onnxruntime_provider_op_test
a04d65d9
edgchen1 indent
8bdc7150
edgchen1 move to onnxruntime_provider_test - save work
ad22c0c5
edgchen1 move internal ep test files to onnxruntime/test/internal_testing_ep
f88e80eb
edgchen1 Revert "rename op test files to have suffix op_test.cc"
ed47154f
edgchen1 revert file name changes in cmake file
9c7feaa9
edgchen1 remove debug stuff
60e9698d
edgchen1 try to fix build errors
81ff8ea6
edgchen1 fix unused variable
e06d63ac
edgchen1 lint
88e7a513
edgchen1 remove explicit definition of OrtDevice::CPU/GPU from allocation_plan…
9e508f05
edgchen1 make OrtDevice constants constexpr. it fixes a link error on macos ab…
75a3e8cd
edgchen1 fix some 'typename' issues
a0fc7170
edgchen1 use exception macros
efa24989
edgchen1 add some comments
2e4f210e
edgchen1 fix qnn/reduce_op_test.cc warnings
ed160b40
edgchen1 fix some cmake issues, get minimal build working
c0882386
edgchen1 Fix swapped count and value arguments to `std::vector` constructor.
8833298d
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
ff88da8c
edgchen1 move function_test_util.h/cc to test/util
14e1ae45
edgchen1 if constexpr for constant condition in onnxruntime/test/providers/qnn…
bcd0c7ce
edgchen1 move qdq_test_utils and graph_transform_test_builder from onnxruntime…
ab547431
edgchen1 exclude function_test_util, graph_transform_test_builder from minimal…
4c94cb88
edgchen1 exclude qdq_test_utils from minimal builds.
713e5a78
edgchen1 Add build.py --targets option to specify multiple targets. Update exi…
b3664b5b
edgchen1
edgchen1 commented on 2025-08-12
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
c791627c
edgchen1 update cmake log message
ce82e2a6
edgchen1 create c string vectors later on
9039895d
edgchen1 disable shorten-64-to-32 warning
4fda05e2
edgchen1 fix some narrowing issues
6a5be2da
edgchen1 save work - updating CI to also run onnxruntime_provider_test
67d5f950
edgchen1 try enabling onnxruntime_provider_test in wasm CI
84645c0a
edgchen1 fix warnings better
7d736826
edgchen1 Merge branch 'edgchen1/plugin_ep_unit_tests_fix' of https://github.co…
7821825b
edgchen1 update comments in cuda EP test regarding onnxruntime_test_all
8328611a
edgchen1 update build.py for new onnxruntime_provider_test
827c0e5c
edgchen1 update post-merge-jobs.yml code coverage commands
c266ecbb
edgchen1 update tools/ci_build/github/linux/test_custom_ops_pytorch_export.sh
ab9418a7
edgchen1 update tools/ci_build/github/pai/pai_test_launcher.sh
c4759a02
edgchen1
edgchen1 commented on 2025-08-13
edgchen1
edgchen1 commented on 2025-08-13
edgchen1 edgchen1 changed the title [WIP] Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs 152 days ago
edgchen1 edgchen1 marked this pull request as ready for review 152 days ago
edgchen1 add copying of testdata for ios
5bccb1ff
edgchen1 Merge branch 'edgchen1/plugin_ep_unit_tests_fix' of https://github.co…
4e17ab5b
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
aeca87e2
edgchen1 update pch for test program changes
79035507
edgchen1 check for nullptr in unregister_ep_library
b17867f6
edgchen1 const ref, formatting
9213ec9a
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
5b38bf4e
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
01213e6c
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
79bd028c
edgchen1 test - set VERBOSE environment variable in Win GPU build.
7b5a864c
edgchen1 fix C4244 warning
fb4404b0
edgchen1 Revert "test - set VERBOSE environment variable in Win GPU build."
6d81788c
edgchen1
edgchen1 commented on 2025-08-21
edgchen1 edgchen1 added release:1.23.0
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
3cb4304a
edgchen1
edgchen1 commented on 2025-08-22
edgchen1
edgchen1 commented on 2025-08-22
adrianlizarraga
adrianlizarraga commented on 2025-08-25
jywu-msft jywu-msft removed release:1.23.0
edgchen1 Merge branch 'edgchen1/plugin_ep_unit_tests' of https://github.com/mi…
f85d0c71
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
3905fb84
edgchen1 make onnxruntime_test_utils an object library
7fbaf35c
edgchen1 Remove apparently unused files.
70fdca24
edgchen1 clean up some old variables
66d0e783
edgchen1 move TestAllocatorManager.h and .cc to utils
27caafb6
edgchen1 move unit test specific utilities to onnxruntime/test/unittest_util
c39fdc32
edgchen1 move test/framework/test_utils to test/unittest_util/framework_test_u…
e6eba02c
edgchen1 move more ut-specific stuff to unittest_utils, get things building
eb527ca5
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
7c899e2f
edgchen1 edgchen1 marked this pull request as draft 126 days ago
edgchen1 edgchen1 changed the title Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs [WIP] Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs 126 days ago
edgchen1 handle empty patterns list
a5458610
edgchen1 link to onnxruntime_EXTERNAL_LIBRARIES
cd08f519
edgchen1 remove dynamic plugin EP code out of default_providers.h/cc
20bad7f2
edgchen1 Check for non-empty ep_nodes before resizing index_to_ep_node in EpGr…
f830aa0c
edgchen1 Add ONNX patch to avoid regenerating proto files and improve rebuild …
602097e1
edgchen1 Also apply patch for vcpkg.
537511c2
edgchen1 add trailing newline to patch files
2e04d7fa
edgchen1 make onnxruntime_unittest_utils a static library instead
91a560ed
edgchen1 fix some old qdq_test_utils.h paths
043189cf
edgchen1 fix narrowing warning in checkers.cc
515edf23
edgchen1 fix old paths to test/framework/test_utils.h
e412a4d5
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/plugin_ep_un…
304e5bbe
edgchen1 fix one more old path to test/framework/test_utils.h
46331f0d
edgchen1 fix op_type check
1267f8e9
edgchen1 add selected_ep_name config
0fe7e5aa
edgchen1 Set compile options flag to ensure node is compiled in plugin EP unit…
2ad399a3
edgchen1
edgchen1 commented on 2025-09-11
edgchen1
edgchen1 commented on 2025-09-11
edgchen1 edgchen1 marked this pull request as ready for review 123 days ago
edgchen1 edgchen1 changed the title [WIP] Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs Move provider tests to `onnxruntime_provider_test` and enable use of plugin EPs 123 days ago
edgchen1 update include path
1db8d8b8
edgchen1 use more specific variable name
b6c83a9a
edgchen1 edgchen1 requested a review from snnn snnn 123 days ago
edgchen1 edgchen1 requested a review from adrianlizarraga adrianlizarraga 123 days ago
adrianlizarraga
adrianlizarraga commented on 2025-09-12
edgchen1 rename macro to ENABLE_DYNAMIC_PLUGIN_EP_USAGE
3bfb55e7
edgchen1 revert include changes for test/test_environment.h and test/compare_o…
5de64521
adrianlizarraga
adrianlizarraga approved these changes on 2025-09-15
edgchen1 edgchen1 merged 1c9a3888 into main 119 days ago
edgchen1 edgchen1 deleted the edgchen1/plugin_ep_unit_tests branch 119 days ago
TedThemistokleous
edgchen1
TedThemistokleous
TedThemistokleous

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone