[BE][2/16] fix typos in torch/ (torch/_*/) (#156312)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/156312
Approved by: https://github.com/albanD
This commit is contained in:
Xuehai Pan
2025-07-12 13:12:13 +08:00
committed by PyTorch MergeBot
parent e90148c91d
commit 7f14b42adf
70 changed files with 123 additions and 123 deletions

View File

@ -689,7 +689,7 @@ def check(commit: _Commit, force_unsafe: bool = False):
for f, d in fields.items():
if kind == "struct" and "default" not in d:
reason += (
f"Field {k}.{f} is added to schema.py without a default value as an incomparible change "
f"Field {k}.{f} is added to schema.py without a default value as an incompatible change "
+ "which requires major version bump.\n"
)
next_version = [commit.base["SCHEMA_VERSION"][0] + 1, 1]