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
85
85
auto auto_unified_compile = ((hw_target.find (" AUTO" ) == std::string::npos) ||
86
86
(session_context_.OpenVINO_Version .at (0 ) >= 2024 &&
87
87
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 ) {
89
89
// If the blob is held in an EPContext node, then skip FE+Compile
90
90
// and directly move on to creating a backend with the executable blob
91
91
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 {
142
142
if (node.OpType () == EPCONTEXT_OP) {
143
143
auto & attrs = node.GetAttributes ();
144
144
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_);
146
146
result &= attrs.count (EMBED_MODE) == 1 ;
147
147
result &= attrs.count (EP_CACHE_CONTEXT) == 1 ;
148
148
return result;
You can’t perform that action at this time.
0 commit comments