Skip to content

Commit

Permalink
[checkpointio] fix performance issue (hpcaitech#6139)
Browse files Browse the repository at this point in the history
  • Loading branch information
ver217 authored Nov 18, 2024
1 parent cb00f1f commit 9664ed7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion colossalai/checkpoint_io/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ def clean_folder(
reg = re.compile(r"(.*?)-stage-\d{5}-shard-\d{5}")
if (
filename.startswith(weights_no_suffix)
and os.path.isfile(full_filename)
and filename not in shard_filenames
and reg.fullmatch(filename_no_suffix) is not None
):
Expand Down

0 comments on commit 9664ed7

Please sign in to comment.