We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8adeed commit ae7b90eCopy full SHA for ae7b90e
golf_federated/client/process/config/device/base.py
@@ -148,4 +148,7 @@ def stop(self) -> None:
148
149
# Call the trainer to stop local training.
150
loggerhear.log("Client Info ", "Stop training on %s!" % self.client_name)
151
- self.trainer.stop()
+ try:
152
+ self.trainer.stop()
153
+ except:
154
+ self.trainer.stop_trainer()
0 commit comments