Skip to content

Commit

Permalink
ref: part 7 of #3733
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Oct 2, 2020
1 parent 820afb0 commit bc0eed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/accelerators/ddp_spawn_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,4 @@ def transfer_distrib_spawn_state_on_fit_end(self, model, mp_queue, results):
if not self.trainer.testing and best_model_path is not None and len(best_model_path) > 0:
last_path = re.sub('.ckpt', '.tmp_end.ckpt', best_model_path)
atomic_save(model.state_dict(), last_path)
mp_queue.put(last_path)
mp_queue.put(last_path)

0 comments on commit bc0eed6

Please sign in to comment.