Skip to content

fix(checkpoint): support tinker paths with run-id suffix#34

Open
Jah-yee wants to merge 1 commit into
thinking-machines-lab:mainfrom
Jah-yee:fix-path-suffix
Open

fix(checkpoint): support tinker paths with run-id suffix#34
Jah-yee wants to merge 1 commit into
thinking-machines-lab:mainfrom
Jah-yee:fix-path-suffix

Conversation

@Jah-yee
Copy link
Copy Markdown

@Jah-yee Jah-yee commented Apr 15, 2026

Fixes Issue #24: tinker checkpoint delete now accepts paths with run-id suffix (e.g., tinker://run-id:train:0/sampler_weights/final).

Good day,

Thank you for your work on this excellent library!

Warmly,
RoomWithOutRoof

Fixes Issue thinking-machines-lab#24: 'tinker checkpoint delete' now accepts paths with run-id
suffix (e.g., tinker://run-id:train:0/sampler_weights/final).

The previous implementation assumed a strict 3-part path format, which
failed when the run-id contained a suffix like ':train:0'.

This change updates ParsedCheckpointTinkerPath.from_tinker_path() to:
- Handle run-ids with arbitrary suffixes
- Provide better error messages for invalid formats

Good day,

Thank you for your work on this excellent library!

Warmly,
RoomWithOutRoof
@Jah-yee
Copy link
Copy Markdown
Author

Jah-yee commented Apr 15, 2026

Good day 👋

Just checking in! This PR adds support for tinker paths with run-id suffix, which should make checkpoint path handling more flexible.

Any chance to take a look when you have time?

Thank you for your work and happy coding! 🚀

Warmly,
RoomWithOutRoof

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.

1 participant