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."); } }