diff --git a/onnxruntime/core/providers/openvino/backend_manager.cc b/onnxruntime/core/providers/openvino/backend_manager.cc index 9597f73c38073..2ba562525e9c3 100644 --- a/onnxruntime/core/providers/openvino/backend_manager.cc +++ b/onnxruntime/core/providers/openvino/backend_manager.cc @@ -116,8 +116,8 @@ BackendManager::BackendManager(SessionContext& session_context, subgraph_context_.has_dynamic_input_shape = true; LOGS_DEFAULT(INFO) << "[OpenVINO-EP] Model has symbolic input dims"; if ((!session_context_.disable_dynamic_shapes && - (session_context_.device_type.find("CPU") != std::string::npos || - session_context_.device_type.find("GPU") != std::string::npos)) || + (session_context_.device_type.find("CPU") != std::string::npos || + session_context_.device_type.find("GPU") != std::string::npos)) || (subgraph_context_.is_ep_ctx_graph)) { LOGS_DEFAULT(INFO) << "[OpenVINO-EP] Starting backend initialization. " << "Creating backend Dynamic Shapes"; diff --git a/onnxruntime/test/contrib_ops/attention_op_test.cc b/onnxruntime/test/contrib_ops/attention_op_test.cc index 4dff0376fcd84..61e5fa05c66c1 100644 --- a/onnxruntime/test/contrib_ops/attention_op_test.cc +++ b/onnxruntime/test/contrib_ops/attention_op_test.cc @@ -2047,7 +2047,7 @@ TEST(AttentionTest, AttentionPastState_dynamic) { test.AddInput("past", past_dims, past_data); test.AddReferenceOutputs("testdata/attention_past_state.onnx", 0.005f); - test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kOpenVINOExecutionProvider}); + test.Run(); } #endif //! defined(__wasm__) diff --git a/onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc b/onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc index e2ee859fb26df..c56aa3fb5feac 100644 --- a/onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc +++ b/onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc @@ -4102,8 +4102,8 @@ TEST(ReductionOpTest, ReduceSum_noop_axes_input_initializer_opset_18) { test.Run( OpTester::ExpectResult::kExpectSuccess, "", - {kOpenVINOExecutionProvider} // OpenVINO: Disabled temporarily - ); + {kOpenVINOExecutionProvider} // OpenVINO: Disabled temporarily + ); } TEST(ReductionOpTest, ReduceSum_empty_axes_input_initializer_opset_18) {