Skip to content

Conversation

@Daraan
Copy link
Contributor

@Daraan Daraan commented Oct 30, 2025

Currently Algorithm.from_checkpoint(path, filesystem) is broken when the path is not a URI.
The call checkpoint_info = get_checkpoint_info(path) does not forward the filesystem argument and Filesystem.from_uri will raise an Error.

@Daraan Daraan requested a review from a team as a code owner October 30, 2025 20:51
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses a bug in Algorithm.from_checkpoint where the filesystem argument was not being forwarded to get_checkpoint_info. This caused an error when restoring from a checkpoint with a path that is not a URI. The fix correctly passes the filesystem argument, resolving the issue. The change is correct and well-targeted.

@ray-gardener ray-gardener bot added rllib RLlib related issues community-contribution Contributed by the community labels Oct 31, 2025
Daraan added a commit to Daraan/ray_utilities that referenced this pull request Nov 1, 2025
Copy link
Member

@pseudo-rnd-thoughts pseudo-rnd-thoughts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @Daraan, it looks good

@pseudo-rnd-thoughts pseudo-rnd-thoughts added the go add ONLY when ready to merge, run all tests label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community go add ONLY when ready to merge, run all tests rllib RLlib related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants