Skip to content

Commit 151aa02

Browse files
Jasper Shanfacebook-github-bot
Jasper Shan
authored andcommitted
Fix broken tests (#3019)
Summary: Pull Request resolved: #3019 Fix broken tests from D75108474 Differential Revision: D75663439 fbshipit-source-id: e1758f10693d47247dcfda834d266ffd50be9f19
1 parent de3ec97 commit 151aa02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchrec/modules/itep_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(
108108
self.last_pruned_iter: int = -1
109109
self.pg: Optional[dist.ProcessGroup] = pg
110110

111-
if self.lookups is not None:
111+
if self.lookups:
112112
self.init_itep_state()
113113
else:
114114
logger.info(

0 commit comments

Comments
 (0)