Skip to content

Commit 20fdad6

Browse files
committed
fix lint issues
1 parent 4ae5a1a commit 20fdad6

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

onnxruntime/core/providers/openvino/backends/basic_backend.cc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ BasicBackend::BasicBackend(std::unique_ptr<ONNX_NAMESPACE::ModelProto>& model_pr
6565
remote_context_ = new ov::intel_gpu::ocl::ClContext(OVCore::Get()->core, ctx);
6666
if (subgraph_context_.is_ep_ctx_graph) {
6767
exe_network_ = OVCore::Get()->ImportModel(*model_stream,
68-
remote_context_,
69-
subgraph_context_.subgraph_name);
68+
remote_context_,
69+
subgraph_context_.subgraph_name);
7070
model_stream.reset(); // Delete stream after it is no longer needed
7171
} else {
7272
std::shared_ptr<const OVNetwork> ov_model;
@@ -89,9 +89,9 @@ BasicBackend::BasicBackend(std::unique_ptr<ONNX_NAMESPACE::ModelProto>& model_pr
8989
// If the blob is held in an EPContext node, then skip FE+Compile
9090
// and directly move on to creating a backend with the executable blob
9191
exe_network_ = OVCore::Get()->ImportModel(*model_stream,
92-
hw_target,
93-
device_config,
94-
subgraph_context_.subgraph_name);
92+
hw_target,
93+
device_config,
94+
subgraph_context_.subgraph_name);
9595
model_stream.reset(); // Delete stream after it is no longer needed
9696
} else if (!session_context_.has_external_weights &&
9797
!subgraph_context_.has_dynamic_input_shape &&
@@ -103,9 +103,9 @@ BasicBackend::BasicBackend(std::unique_ptr<ONNX_NAMESPACE::ModelProto>& model_pr
103103
// Not enabled for models with external weights and when ep context is set.
104104
const std::string model = model_proto->SerializeAsString();
105105
exe_network_ = OVCore::Get()->CompileModel(model,
106-
hw_target,
107-
device_config,
108-
subgraph_context_.subgraph_name);
106+
hw_target,
107+
device_config,
108+
subgraph_context_.subgraph_name);
109109
} else { // For all other types use ov::ov_core read_model() to generate OV IR
110110
// followed by ov::ov_core compile_model()
111111
std::shared_ptr<const OVNetwork> ov_model;
@@ -292,7 +292,7 @@ void BasicBackend::PopulateConfigValue(ov::AnyMap& device_config) {
292292
} else {
293293
if (target_config.count(session_context_.device_type)) {
294294
auto supported_properties = OVCore::Get()->core.get_property(session_context_.device_type,
295-
ov::supported_properties);
295+
ov::supported_properties);
296296
set_target_properties(session_context_.device_type,
297297
target_config.at(session_context_.device_type), supported_properties);
298298
}

onnxruntime/core/providers/openvino/ov_versions/data_ops.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ bool DataOps::node_is_supported(const NodeIndex node_idx, bool& has_external_wei
769769
if (!npu_qdq_optimizer_enabled_) {
770770
#ifndef NDEBUG
771771
if (openvino_ep::backend_utils::IsDebugEnabled()) {
772-
// Pad Op with DQ inputs gets optimized in the downstream,
772+
// Pad Op with DQ inputs gets optimized in the downstream,
773773
// so mark those no dim quantized Pad ops supported here
774774
std::cout << "QDQ optimizer disabled; quantized Pad op detected (DequantizeLinear present), so marking those no dim quantized Pad ops as supported" << std::endl;
775775
}

0 commit comments

Comments
 (0)