Skip to content

add timestamps to cached UME checkpoints#145

Merged
karinazad merged 9 commits intomainfrom
k/ume-checkpoint-timestamp
Jul 15, 2025
Merged

add timestamps to cached UME checkpoints#145
karinazad merged 9 commits intomainfrom
k/ume-checkpoint-timestamp

Conversation

@karinazad
Copy link
Collaborator

@karinazad karinazad commented Jul 14, 2025

Description

Added S3 timestamp to local/cached UME checkpoint filenames. We now retrieve the LastModified timestamp from S3 objects and includes it in the local cached filename format. This provides better traceability and helps with conflicts when UME models are updated in S3.

Example:
INFO:lobster.model.utils_checkpoint:Downloading checkpoint to ../models/ume-small-base-90M-20250711-061718.ckpt

Somewhat solves issue #117 though there could be a more robust solution.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring

Testing

  • Tests pass locally
  • Added new tests for new functionality
  • Updated existing tests if needed

Checklist

  • Code follows style guidelines
  • Self-review completed
  • Documentation updated if needed
  • No breaking changes (or clearly documented)

@karinazad karinazad requested a review from ncfrey July 14, 2025 09:51
@karinazad karinazad merged commit 5991579 into main Jul 15, 2025
5 checks passed
@karinazad karinazad deleted the k/ume-checkpoint-timestamp branch July 15, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants