Skip to content

Commit a8527b9

Browse files
Bug fix in provider key verification (#644)
1 parent b999a1b commit a8527b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/contexts.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ struct ProviderInfo {
103103
bool so_share_ep_contexts{false}; // ORT session option
104104
fs::path so_context_file_path{}; // ORT session option
105105
const ConfigOptions* config_options{NULL};
106-
const std::unordered_set<std::string> valid_provider_keys = {"device_type", "device_id", "device_luid", "cache_dir",
106+
const std::unordered_set<std::string> valid_provider_keys = {"device_type", "device_id", "device_luid", "cache_dir", "precision",
107107
"load_config", "context", "num_of_threads", "model_priority", "num_streams", "enable_opencl_throttling", "enable_qdq_optimizer",
108108
"disable_dynamic_shapes"};
109109
};

0 commit comments

Comments
 (0)