[Doc] fix some typos (found by codespell and typos) (#132544)

Applying doc fixes from PR https://github.com/pytorch/pytorch/pull/127267 - with CLA
Pull Request resolved: https://github.com/pytorch/pytorch/pull/132544
Approved by: https://github.com/kit1980
This commit is contained in:
Wouter Devriendt
2024-08-05 17:21:56 +00:00
committed by PyTorch MergeBot
parent 3d87dfc088
commit e8645fa2b9
18 changed files with 24 additions and 24 deletions

View File

@ -235,7 +235,7 @@ class TestPythonRegistration(TestCase):
self.assertFalse(torch.mul(x, y)._is_zerotensor())
# Assert that a user can't override the behavior of a (ns, op, dispatch_key)
# combination if someone overrided the behavior for the same before them
# combination if someone overridden the behavior for the same before them
with self.assertRaisesRegex(
RuntimeError, "already a kernel registered from python"
):