-
Notifications
You must be signed in to change notification settings - Fork 6.9k
[release] upgrading 2 release data tests #58419
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: elliot-barn <[email protected]>
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 upgrades two release data tests, read_tfrecords and read_images_comparison_microbenchmark_single_node, to use Python 3.10. The changes are straightforward, adding python: "3.10" to the respective test configurations in release/release_data_tests.yaml. The modifications are consistent with other tests in the file and appear correct. Given the passing CI run, the changes look good to merge.
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 updates two release data tests, read_tfrecords and read_images_comparison_microbenchmark_single_node, to use Python 3.10. The changes are straightforward and correct. To improve long-term maintainability, I've suggested using YAML anchors for the Python version. This will help in keeping Python versions consistent across tests and simplify future updates.
| s3://anyscale-imagenet/ILSVRC/Data/CLS-LOC/ --format image --iter-bundles | ||
| - name: read_tfrecords | ||
| python: "3.10" |
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.
| script: python read_from_uris_benchmark.py | ||
|
|
||
| - name: read_images_comparison_microbenchmark_single_node | ||
| python: "3.10" |
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.
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 correctly updates two release data tests, read_tfrecords and read_images_comparison_microbenchmark_single_node, to explicitly use Python 3.10. The changes are straightforward and look good. I have added one comment regarding a potential inconsistency with other tests in the same file that could be addressed for better maintainability.
| s3://anyscale-imagenet/ILSVRC/Data/CLS-LOC/ --format image --iter-bundles | ||
| - name: read_tfrecords | ||
| python: "3.10" |
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.
While adding python: "3.10" here is correct for the read_tfrecords test, it creates an inconsistency with other tests. Several other tests in this file also use the read_and_consume_benchmark.py script (e.g., read_parquet_{{scaling}}, read_images_{{scaling}}, write_parquet) but do not have an explicit Python version specified. To ensure consistent behavior and improve maintainability, consider updating all tests that use this script to Python 3.10, either in this PR or in a follow-up.
|
why are the other ones failing? |
aslonnie
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.
maybe investigate what is happening with the other tests.
Updating 2 read related release data tests:
read_tfrecords
read_images_comparison_microbenchmark_single_node
Passing run here: https://buildkite.com/ray-project/release/builds/65424#_