Skip to content

Commit

Permalink
typo: add space after cudnn error messages (pytorch#110806)
Browse files Browse the repository at this point in the history
Fixes #ISSUE_NUMBER

Pull Request resolved: pytorch#110806
Approved by: https://github.com/Skylion007
  • Loading branch information
vra authored and pytorchmergebot committed Oct 8, 2023
1 parent a603dcc commit ad24965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch/backends/cudnn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _init():
f"but found runtime version {runtime_version}. "
f"PyTorch already comes bundled with cuDNN. "
f"One option to resolving this error is to ensure PyTorch "
f"can find the bundled cuDNN."
f"can find the bundled cuDNN. "
)

if "LD_LIBRARY_PATH" in os.environ:
Expand All @@ -57,7 +57,7 @@ def _init():
):
raise RuntimeError(
f"{base_error_msg}"
f"Looks like your LD_LIBRARY_PATH contains incompatible version of cudnn"
f"Looks like your LD_LIBRARY_PATH contains incompatible version of cudnn. "
f"Please either remove it from the path or install cudnn {compile_version}"
)
else:
Expand Down

0 comments on commit ad24965

Please sign in to comment.