Skip to content

Commit 258e801

Browse files
committed
Comment out the device selection, so that the device chosen during build time will be used
1 parent 04dcd1e commit 258e801

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

onnxruntime/test/providers/openvino/openvino_ep_context_test.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ TEST_F(OVEPEPContextTests, OVEPEPContextFolderPath) {
4242

4343
Ort::SessionOptions sessionOptions;
4444
std::unordered_map<std::string, std::string> ov_options;
45-
ov_options["device_type"] = "NPU";
45+
46+
//The below line could fail the test in non NPU platforms.Commenting it out so that the device used for building OVEP will be used.
47+
//ov_options["device_type"] = "NPU";
4648

4749

4850
const std::unordered_map<std::string, int> domain_to_version = {{"", 13}, {kMSDomain, 1}};

0 commit comments

Comments
 (0)