Skip to content

Commit c7e6cc4

Browse files
Initialize _pl_static_graph_delay_done attribute properly
1 parent 38cc242 commit c7e6cc4

File tree

1 file changed

+1
-0
lines changed
  • src/lightning/pytorch/strategies

1 file changed

+1
-0
lines changed

src/lightning/pytorch/strategies/ddp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def __init__(
103103
self._process_group_backend: Optional[str] = process_group_backend
104104
self._timeout: Optional[timedelta] = timeout
105105
self._start_method = start_method
106+
self._pl_static_graph_delay_done = False
106107

107108
@property
108109
def is_distributed(self) -> bool: # pragma: no-cover

0 commit comments

Comments
 (0)