Skip to content

Commit

Permalink
Spark/Lightning: fix checkpoint callback dirpath typo (horovod#3204)
Browse files Browse the repository at this point in the history
Signed-off-by: Chongxiao Cao <chongxiaoc@uber.com>
Signed-off-by: weihanmines <weihan13@amd.com>
  • Loading branch information
chongxiaoc authored and weihanmines committed Dec 10, 2021
1 parent a1512da commit 995346d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horovod/spark/lightning/remote.py
Expand Up @@ -132,7 +132,7 @@ def train(serialized_model):
# Otherwise we are seeing hanging in training.
for cb in callbacks:
if isinstance(cb, ModelCheckpoint):
cb.dir_path = ckpt_dir
cb.dirpath = ckpt_dir
cb.filename = ckpt_filename
_checkpoint_callback = cb
require_checkpoint = True
Expand Down

0 comments on commit 995346d

Please sign in to comment.