From d8d8349a1bbb6099eb2a7a1d30dff3d819363cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20M=C3=BCller?= <44298237+gedoensmax@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:17:11 -0700 Subject: [PATCH] fix: add missing nullptr of SessionOptions V2 (#16794) /builds/devtechproviz/dl/ort-builder/onnxruntime/onnxruntime/python/onnxruntime_pybind_state.cc:388:14: error: missing initializer for member 'OrtTensorRTProviderOptionsV2::trt_cuda_graph_enable' [-Werror=missing-field-initializers] 388 | 0}; | ### Description ### Motivation and Context --- onnxruntime/python/onnxruntime_pybind_state.cc | 1 + 1 file changed, 1 insertion(+) 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") {