File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
onnxruntime/core/providers/openvino Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -128,10 +128,6 @@ std::unique_ptr<ModelBlobWrapper> EPCtxHandler::GetModelBlobStream(const std::fi
128128 // If the model stream is not an XML (i.e. precompiled blob), the OpenVINO SDK version that it was
129129 // exported with must match the version that is currently running.
130130 native_blob_path = std::move (blob_filepath);
131- ORT_ENFORCE ((attrs.count (EP_SDK_VER) == 1 ) && (attrs.at (EP_SDK_VER).s () == openvino_sdk_version_),
132- " EPCtx blob was exported / is compatible with OpenVINO SDK version " + attrs.at (EP_SDK_VER).s () +
133- " , but OpenVINO SDK version currently in use is " + openvino_sdk_version_);
134-
135131 result.reset (); // Release the stream as we will get the native blob from SharedContext
136132 auto shared_context = shared_context_manager_->GetOrCreateSharedContext (native_blob_path);
137133 return std::make_unique<ModelBlobWrapper>(shared_context->GetNativeBlobAsStream (partition_name), shared_context->GetNativeBlob (partition_name));
You can’t perform that action at this time.
0 commit comments