[BE][6/16] fix typos in torch/ (#156316)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/156316
Approved by: https://github.com/albanD
ghstack dependencies: #156313, #156314, #156315
This commit is contained in:
Xuehai Pan
2025-06-22 22:22:32 +08:00
committed by PyTorch MergeBot
parent 4ccc0381de
commit cec2977ed2
32 changed files with 58 additions and 59 deletions

View File

@ -675,7 +675,7 @@ class PackageExporter:
memo_count += 1
elif opcode.name == "STACK_GLOBAL":
if module is None:
# If not module was passed on in the entries preceeding this one, continue.
# If not module was passed on in the entries preceding this one, continue.
continue
assert isinstance(module, str)
if module not in all_dependencies: