Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit ce8c340

Browse files
committed
fix symlink
1 parent e8428c1 commit ce8c340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metaseq/checkpoint_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def save_checkpoint(
101101
# Create symlink between identical checkpoints (differing in naming for epoch/update/last).
102102
for other_checkpoint in checkpoints[1:]:
103103
assert PathManager.symlink(
104-
checkpoints[0], other_checkpoint, overwrite=True
104+
checkpoints[0], other_checkpoint
105105
), f"Failed to symlink {checkpoints[0]} to {other_checkpoint}"
106106

107107
write_timer.stop()

0 commit comments

Comments
 (0)