mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix typo in class definition of bytecodedispatchtable (#164762)
ghstack-source-id: 84f0d7bb7e3780ca75473782abfae530010be56e Pull Request resolved: https://github.com/pytorch/pytorch/pull/164761 Fixes the type in naming of bytecodedispatchtable Pull Request resolved: https://github.com/pytorch/pytorch/pull/164762 Approved by: https://github.com/StrongerXi, https://github.com/williamwen42
This commit is contained in:
committed by
PyTorch MergeBot
parent
ff5faa744a
commit
fd3e15c14f
@ -1018,7 +1018,7 @@ def break_graph_if_unsupported(
|
||||
return decorator
|
||||
|
||||
|
||||
class BytecodeDistpatchTableMeta(type):
|
||||
class BytecodeDispatchTableMeta(type):
|
||||
"""Installs a `cls.dispatch_table` on every subclass to speed up calls to self.OPCODE()"""
|
||||
|
||||
def __init__(cls: type, name: str, bases: Any, dct: Any) -> None:
|
||||
@ -1143,7 +1143,7 @@ class ExceptionStack:
|
||||
|
||||
|
||||
class InstructionTranslatorBase(
|
||||
metaclass=BytecodeDistpatchTableMeta,
|
||||
metaclass=BytecodeDispatchTableMeta,
|
||||
):
|
||||
output: OutputGraph
|
||||
symbolic_locals: dict[str, VariableTracker]
|
||||
|
Reference in New Issue
Block a user