Skip to content

Commit eef7dba

Browse files
committed
Remove unused variable
1 parent 5107696 commit eef7dba

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

onnxruntime/core/providers/openvino/openvino_execution_provider.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,12 @@ common::Status OpenVINOExecutionProvider::Compile(
108108
std::string("Invalid EP context configuration: ") + kOrtSessionOptionEpContextEmbedMode + " must be 0 if " + kOrtSessionOptionShareEpContexts + " is 1.");
109109
}
110110

111-
bool is_epctx_model = false;
112111
if (!fused_nodes.empty()) {
113112
// Assume these properties are constant for all the model subgraphs, otherwise move to SubGraphContext
114113
const auto& graph_body_viewer_0 = fused_nodes[0].filtered_graph.get();
115114
session_context_.onnx_model_path_name = graph_body_viewer_0.ModelPath().string();
116115
session_context_.onnx_opset_version =
117116
graph_body_viewer_0.DomainToVersionMap().at(kOnnxDomain);
118-
119-
// OVIR wrapped in epctx should be treated as source but this code does not
120-
// This corner case is not in use and will be addressed in a future commit
121-
is_epctx_model = ep_ctx_handle_.CheckForOVEPCtxNodeInGraph(graph_body_viewer_0);
122117
}
123118

124119
shared_context_ = ep_ctx_handle_.Initialize(fused_nodes, session_context_);

0 commit comments

Comments
 (0)