mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
committed by
PyTorch MergeBot
parent
e90148c91d
commit
7f14b42adf
@ -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]
|
||||
|
||||
Reference in New Issue
Block a user