Skip to content

Commit ccadaea

Browse files
generatedunixname499836121meta-codesync[bot]
authored andcommitted
Revert "Refactor generator methods (#187690)"
Summary: This reverts commit 621151e47d52d6822f229b63e763356286c032cc. Reverted pytorch/pytorch#187690 on behalf of https://github.com/guilhermeleobas due to revert commit ([comment](pytorch/pytorch#187690 (comment))) Reviewed By: atalman Differential Revision: D111438104 fbshipit-source-id: d70e18f635ec01023b263120941028ae685af0e2
1 parent 7607876 commit ccadaea

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

  • userbenchmark/dynamo/dynamobench/_dynamo

userbenchmark/dynamo/dynamobench/_dynamo/utils.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5617,15 +5617,6 @@ def build_event(args: tuple[Any], kwargs: dict[Any, Any]) -> torch.Event:
56175617
return torch._C.Event(*args, **kwargs)
56185618

56195619

5620-
class FrameState(enum.Enum):
5621-
FRAME_CREATED = -3
5622-
FRAME_SUSPENDED = -2
5623-
FRAME_SUSPENDED_YIELD_FROM = -1
5624-
FRAME_EXECUTING = 0
5625-
FRAME_COMPLETED = 1
5626-
FRAME_CLEARED = 4
5627-
5628-
56295620
class CompileTimeInstructionCounter:
56305621
_counter: int = 0
56315622
_id: int = -1

0 commit comments

Comments
 (0)