Skip to content

Commit 67ad1e1

Browse files
ergazizmeta-codesync[bot]
authored andcommitted
Add UNKNOWN PipelineState type (#3529)
Summary: Pull Request resolved: #3529 To use in next diff. Reviewed By: guoding83128 Differential Revision: D86636523 fbshipit-source-id: bc46bf5d8899999d51ba68bf9dc576954d38b400
1 parent 656c433 commit 67ad1e1

File tree

1 file changed

+1
-0
lines changed
  • torchrec/distributed/train_pipeline

1 file changed

+1
-0
lines changed

torchrec/distributed/train_pipeline/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class PipelineState(Enum):
9696
IDLE = 0
9797
CALL_FWD = 1
9898
CALL_BWD = 2
99+
UNKNOWN = 3
99100

100101
def __str__(self) -> str:
101102
return self.name

0 commit comments

Comments
 (0)