Skip to content

Commit

Permalink
sigh
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Apr 24, 2024
1 parent bc2edf7 commit bd2aad6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/clean_old_checkpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# python clean_old_checkpoints.py gs://my-bucket/my-dir | xargs -I {} gsutil -m rm -r {}
import os
import sys
import time
from datetime import datetime, timezone

import fsspec


AGE = 30 # days


Expand Down Expand Up @@ -72,7 +72,6 @@ def list_deletable_directories(base_dir):
yield path



# Usage example:
if __name__ == "__main__":
if len(sys.argv) < 2:
Expand Down

0 comments on commit bd2aad6

Please sign in to comment.