-
Notifications
You must be signed in to change notification settings - Fork 7k
[RLlib] Broken restore from remote - Add missing FileSystem argument #58324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Daraan <github.blurry@9ox.net>
There was a problem hiding this 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.
pseudo-rnd-thoughts
left a comment
There was a problem hiding this 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
…ay-project#58324) Signed-off-by: Aydin Abiar <aydin@anyscale.com>
…ay-project#58324) Signed-off-by: YK <1811651+ykdojo@users.noreply.github.com>
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 andFilesystem.from_uriwill raise an Error.