Skip to content

Commit

Permalink
Shut down preemption sync manager if enabled.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 469497215
  • Loading branch information
jax authors committed Aug 23, 2022
1 parent e8ec454 commit a73a6a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jax/_src/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ def shutdown(self):
if self.service:
self.service.shutdown()
self.service = None
if self.preemption_sync_manager:
self.preemption_sync_manager = None

def initialize_preemption_sync_manager(self):
if self.preemption_sync_manager is not None:
Expand Down

0 comments on commit a73a6a8

Please sign in to comment.