ddp fix
This commit is contained in:
parent
a24c88ab08
commit
63addd091c
|
@ -378,7 +378,6 @@ class TrainerDDPMixin(ABC):
|
||||||
:param model:
|
:param model:
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
if self.proc_rank == 0:
|
if self.proc_rank == 0:
|
||||||
path = os.path.join(self.default_root_dir, '__temp_weight_ddp_end.ckpt')
|
path = os.path.join(self.default_root_dir, '__temp_weight_ddp_end.ckpt')
|
||||||
self.save_checkpoint(path)
|
self.save_checkpoint(path)
|
||||||
|
|
Loading…
Reference in New Issue