From 86ecb2fbce556106813dfa8170ef7d9b2b40ad7a Mon Sep 17 00:00:00 2001 From: Preetha Veeramalai Date: Tue, 8 Apr 2025 07:03:31 -0700 Subject: [PATCH] Bug fix in provider key verification --- onnxruntime/core/providers/openvino/contexts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/openvino/contexts.h b/onnxruntime/core/providers/openvino/contexts.h index 02caf9d6ce7c4..1314edd54e937 100644 --- a/onnxruntime/core/providers/openvino/contexts.h +++ b/onnxruntime/core/providers/openvino/contexts.h @@ -103,7 +103,7 @@ struct ProviderInfo { bool so_share_ep_contexts{false}; // ORT session option fs::path so_context_file_path{}; // ORT session option const ConfigOptions* config_options{NULL}; - const std::unordered_set valid_provider_keys = {"device_type", "device_id", "device_luid", "cache_dir", + const std::unordered_set valid_provider_keys = {"device_type", "device_id", "device_luid", "cache_dir", "precision", "load_config", "context", "num_of_threads", "model_priority", "num_streams", "enable_opencl_throttling", "enable_qdq_optimizer", "disable_dynamic_shapes"}; };