Skip to content

Commit 0a8348f

Browse files
Update src/foundry_cli/download_checkpoints.py
Co-authored-by: Copilot <[email protected]>
1 parent b66aa43 commit 0a8348f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/foundry_cli/download_checkpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def clean(
247247

248248
console.print("[bold]Files to delete:[/bold]")
249249
total_size = 0
250-
for ckpt in sorted(checkpoint_files, key=lambda path: str(path)):
250+
for ckpt in sorted(checkpoint_files, key=str):
251251
size = ckpt.stat().st_size / (1024**3) # GB
252252
total_size += size
253253
console.print(f" {ckpt} ({size:.2f} GB)")

0 commit comments

Comments
 (0)