Skip to content

Commit 884c0a1

Browse files
committed
revert unnecessary change
1 parent 08747d7 commit 884c0a1

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

onnxruntime/onnxruntime-openvino.patch

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -194,19 +194,3 @@ index dd43f856e0..6a34827b1a 100644
194194
+#elif __GNUC__
195195
+#pragma GCC diagnostic pop
196196
+#endif
197-
diff --git a/onnxruntime/core/providers/openvino/backends/basic_backend.cc b/onnxruntime/core/providers/openvino/backends/basic_backend.cc
198-
index b39db2be12..8cbded29ce 100644
199-
--- a/onnxruntime/core/providers/openvino/backends/basic_backend.cc
200-
+++ b/onnxruntime/core/providers/openvino/backends/basic_backend.cc
201-
@@ -89,7 +89,10 @@ BasicBackend::BasicBackend(std::unique_ptr<onnx::ModelProto>& model_proto,
202-
#if defined(OPENVINO_DISABLE_NPU_FALLBACK)
203-
eligible_for_cpu_fallback = false;
204-
#endif
205-
- auto auto_unified_compile = (hw_target.find("AUTO") == std::string::npos);
206-
+ // OpenVINO 2026.2 cannot compile an ONNX model directly from its serialized
207-
+ // string. Use the frontend's read/convert path for all device types instead.
208-
+ // This is already the path used by the AUTO device and other special cases.
209-
+ auto auto_unified_compile = false;
210-
211-
// Unified compile is efficient with cahce_dir cached model loading that bypass Read Model
212-
// Does not support model with exteral weights, dynamic input shape, Epctx onnx cached model,

0 commit comments

Comments
 (0)