Fix typo under torch directory (#110824)

This PR fixes typo `the the` of comments and exception messages in files under `torch` directory.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110824
Approved by: https://github.com/H-Huang
This commit is contained in:
Kazuaki Ishizaki
2023-10-09 19:16:39 +00:00
committed by PyTorch MergeBot
parent d1c157c598
commit b5f9696d81
20 changed files with 23 additions and 23 deletions

View File

@ -151,7 +151,7 @@ def _get_async_or_non_blocking(function_name, non_blocking, kwargs):
# serialize the *state_dict* of a model, not the model itself
# (since this is more stable to code changes affecting the model
# serialization), and the state dict saves "data" only, thus
# stripping the the backward hooks. In some cases, hooks are
# stripping the backward hooks. In some cases, hooks are
# essential to the well-functioning of a model (e.g., DDP),
# but DDP already manages readding the hooks!
#