Fix typos in comments, docstrings, and error messages (#185830)
Summary:
Correct spelling errors, missing words, punctuation issues, and extra
whitespace across torch source files. These are comment-only and
string-only changes with no functional impact.
Authored with Claude (typo_terminator2).
X-link: https://github.com/pytorch/pytorch/pull/185830
Approved by: https://github.com/zou3519, https://github.com/cyyever
Reviewed By: jeanschmidt
Differential Revision: D116988782
fbshipit-source-id: c71b2e4d361d73a0a78b8f564088e92734c39e23