File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
onnxruntime/core/providers/openvino Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ BasicBackend::BasicBackend(std::unique_ptr<ONNX_NAMESPACE::ModelProto>& model_pr
8585 auto auto_unified_compile = ((hw_target.find (" AUTO" ) == std::string::npos) ||
8686 (session_context_.OpenVINO_Version .at (0 ) >= 2024 &&
8787 session_context_.OpenVINO_Version .at (1 ) > 2 ));
88- if (subgraph_context_.is_ep_ctx_graph && enable_causallm ) {
88+ if (subgraph_context_.is_ep_ctx_graph ) {
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,
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments