Skip to content

Commit 79bd422

Browse files
committed
fix: disable ep_sdk_version check (#645)
1 parent 2b6b7d5 commit 79bd422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/onnx_ctx_model_helper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ bool EPCtxHandler::CheckForOVEPCtxNode(const Node& node) const {
142142
if (node.OpType() == EPCONTEXT_OP) {
143143
auto& attrs = node.GetAttributes();
144144
bool result = (attrs.count(SOURCE) == 1) && (attrs.at(SOURCE).s() == kOpenVINOExecutionProvider);
145-
result &= (attrs.count(EP_SDK_VER) == 1) && (attrs.at(EP_SDK_VER).s() == openvino_sdk_version_);
145+
// result &= (attrs.count(EP_SDK_VER) == 1) && (attrs.at(EP_SDK_VER).s() == openvino_sdk_version_);
146146
result &= attrs.count(EMBED_MODE) == 1;
147147
result &= attrs.count(EP_CACHE_CONTEXT) == 1;
148148
return result;

0 commit comments

Comments
 (0)