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

Commit 169216e

Browse files
committed
comment out symlink
1 parent e8428c1 commit 169216e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

metaseq/checkpoint_utils.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ def save_checkpoint(
9797
async_callback_fn=async_callback_fn if save_to_NFS else None,
9898
)
9999

100-
if len(checkpoints) > 1:
101-
# Create symlink between identical checkpoints (differing in naming for epoch/update/last).
102-
for other_checkpoint in checkpoints[1:]:
103-
assert PathManager.symlink(
104-
checkpoints[0], other_checkpoint, overwrite=True
105-
), f"Failed to symlink {checkpoints[0]} to {other_checkpoint}"
100+
# if len(checkpoints) > 1:
101+
# # Create symlink between identical checkpoints (differing in naming for epoch/update/last).
102+
# for other_checkpoint in checkpoints[1:]:
103+
# assert PathManager.symlink(
104+
# checkpoints[0], other_checkpoint, overwrite=True
105+
# ), f"Failed to symlink {checkpoints[0]} to {other_checkpoint}"
106106

107107
write_timer.stop()
108108
logger.info(

0 commit comments

Comments
 (0)