Skip to content

Commit

Permalink
Spark/Lightning: fix checkpoint callback dirpath typo (#3204)
Browse files Browse the repository at this point in the history
Signed-off-by: Chongxiao Cao <chongxiaoc@uber.com>
  • Loading branch information
chongxiaoc committed Oct 8, 2021
1 parent dadca53 commit f29b02f
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 f29b02f

Please sign in to comment.