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

Upgrade Ray to 2.9.0. #207

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Upgrade Ray to 2.9.0. #207

merged 1 commit into from
Jan 8, 2024

Conversation

bsowell
Copy link
Contributor

@bsowell bsowell commented Jan 8, 2024

This consists two main changes:

  • The file_writer implementation has changed from using some internal Ray APIs to the new Datasink API.

  • Modified the predicate in the Sketcher implementation to use a CallableClass. Not quite sure how this was working before, but Ray now enforces that CalableClasses are used with the ActorPoolStrategy.


return "ok"
# Some of this code is taken from Ray's FileBasedDatasource. We should switch to using that
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah sorry. Will delete this.

Copy link
Contributor

@alexaryn alexaryn left a comment

Choose a reason for hiding this comment

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

Looks reasonable and tests pass.

This consists two main changes:

- The file_writer implementation has changed from using some internal
Ray APIs to the new Datasink API.

- Modified the predicate in the Sketcher implementation to use a
CallableClass. Not quite sure how this was working before, but Ray now
enforces that CalableClasses are used with the ActorPoolStrategy.
@bsowell bsowell merged commit 4642b75 into main Jan 8, 2024
7 of 10 checks passed
@bsowell bsowell deleted the upgrade_ray branch January 8, 2024 21:54
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.

None yet

3 participants