diff --git a/onnxruntime/python/onnxruntime_pybind_state.cc b/onnxruntime/python/onnxruntime_pybind_state.cc index da1266ec1d..12b020f32b 100644 --- a/onnxruntime/python/onnxruntime_pybind_state.cc +++ b/onnxruntime/python/onnxruntime_pybind_state.cc @@ -385,6 +385,7 @@ std::unique_ptr CreateExecutionProviderInstance( nullptr, nullptr, nullptr, + nullptr, 0}; for (auto option : it->second) { if (option.first == "device_id") {