Skip to content

Commit 3344193

Browse files
fix: avoid updating path kwarg (#624)
Signed-off-by: yashasvi <yashasvi@ibm.com>
1 parent 7ff1ce9 commit 3344193

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tuning/trainercontroller/callback.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,6 @@ def on_save(
590590
hf_converted_path = os.path.join(base_path, "hf_converted_checkpoint")
591591

592592
if os.path.isdir(hf_converted_path):
593-
kwargs["path"] = hf_converted_path
594593
kwargs["hf_path"] = hf_converted_path
595594
else:
596595
kwargs["hf_path"] = base_path

0 commit comments

Comments
 (0)