Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danielezhu
Copy link
Contributor

Issue #, if available:

Description of changes:
This PR bumps the version of the ray dependency up to 2.9.0. From 2.7.1 to 2.9.0, the FileBasedDatasource API has changed, so this PR updates our affected data loading code.

Note: I got rid of the _write_block method as it is no longer used. If you look at the Ray docs, you will see that they now have two different classes for reading and writing. Reading data is handled by Datasource while writing data is handled by Datasink. In the past, both reading and writing were handled by Datasource.

Also, if you look at the source code for Ray's own JsonDatasource, they have since gotten rid of the _write_block method.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@danielezhu danielezhu merged commit 31382a0 into aws:main Jan 19, 2024
@danielezhu danielezhu deleted the ray_update branch January 19, 2024 19:00
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.

3 participants