From bf74f5b10107a1293a114f70b5cc1c912466b959 Mon Sep 17 00:00:00 2001 From: Ted Themistokleous Date: Sat, 4 Nov 2023 20:03:15 +0000 Subject: [PATCH] Fix CUDA comment Changed during format for line length errors/lintrunner. Added delimiters --- onnxruntime/python/onnxruntime_pybind_state.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onnxruntime/python/onnxruntime_pybind_state.cc b/onnxruntime/python/onnxruntime_pybind_state.cc index 1abe1628dd643..aba8e2f61d42b 100644 --- a/onnxruntime/python/onnxruntime_pybind_state.cc +++ b/onnxruntime/python/onnxruntime_pybind_state.cc @@ -813,9 +813,9 @@ std::unique_ptr CreateExecutionProviderInstance( return cuda_provider_info->CreateExecutionProviderFactory(info)->CreateProvider(); } else { if (!Env::Default().GetEnvironmentVar("CUDA_PATH").empty()) { - ORT_THROW("CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and - cuDNN as mentioned in the GPU requirements page - (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), + ORT_THROW("CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA and \ + cuDNN as mentioned in the GPU requirements page \ + (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), \ make sure they're in the PATH, and that your GPU is supported."); } }