Skip to content

Commit 8b2d00f

Browse files
author
pytorchbot
committed
2025-05-31 nightly release (151aa02)
1 parent 011f6cd commit 8b2d00f

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)