Skip to content

Commit

Permalink
Fix CUDA comment
Browse files Browse the repository at this point in the history
Changed during format for line length errors/lintrunner. Added delimiters
  • Loading branch information
Ted Themistokleous committed Nov 4, 2023
1 parent 4bb75c1 commit bf74f5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions onnxruntime/python/onnxruntime_pybind_state.cc
Original file line number Diff line number Diff line change
Expand Up @@ -813,9 +813,9 @@ std::unique_ptr<IExecutionProvider> 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.");
}
}

Check warning on line 821 in onnxruntime/python/onnxruntime_pybind_state.cc

View workflow job for this annotation

GitHub Actions / Optional Lint

[misspell] reported by reviewdog 🐶 "Neverthless" is a misspelling of "Nevertheless" Raw Output: ./onnxruntime/python/onnxruntime_pybind_state.cc:821:52: "Neverthless" is a misspelling of "Nevertheless"
Expand Down

0 comments on commit bf74f5b

Please sign in to comment.