Correct a batch of spelling mistakes in source comments, docstrings, and
log messages across torch. These are documentation-only changes with no
effect on behavior.
Authored with Claude (typo_terminator2).
Pull Request resolved: #186234
Approved by: https://github.com/aorenste, https://github.com/zou3519, https://github.com/cyyever
🛡️ VERIFIED CYBER INTELLIGENCE ID: #3553735