Skip to content
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

[Tune] Fix storage client creation when sync function tpl is not provided (#26714) #26717

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/ray/tune/trainable.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def __init__(
self.sync_function_tpl = sync_function_tpl or self._sync_function_tpl
self.storage_client = None

if self.uses_cloud_checkpointing and self.sync_function_tpl:
if self.uses_cloud_checkpointing or self.sync_function_tpl:
# Keep this only for custom sync functions and
# backwards compatibility.
# Todo (krfricke): We should find a way to register custom
Expand Down