Skip to content

Commit 0cc8498

Browse files
ergazizfacebook-github-bot
authored andcommitted
Add UNKNOWN PipelineState type (#3529)
Summary: To use in next diff. Reviewed By: guoding83128 Differential Revision: D86636523
1 parent 691d11f commit 0cc8498

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)