-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[release] release data batch inference tests #57287
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
[release] release data batch inference tests #57287
Conversation
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
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 several batch inference and Dask-on-Ray tests to Python 3.10. The changes are straightforward and correct. To improve the maintainability of these YAML configuration files, I've suggested using YAML anchors and aliases. This approach centralizes the Python version, making future updates across these related tests simpler and less prone to error. It's a small refactoring that will enhance the configuration's clarity and ease of maintenance.
| # 300 GB image classification parquet data up to 10 GPUs | ||
| # 10 g4dn.12xlarge. | ||
| - name: "image_classification_{{scaling}}" | ||
| 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.
To improve maintainability and reduce repetition, you can define a YAML anchor for the Python version here. This allows you to reuse the value in other test configurations within this file by using an alias, making future updates to the Python version much easier and less error-prone.
python: &py310 "3.10"| --data-directory 300G-image-data-synthetic-raw-parquet --data-format parquet | ||
| - name: image_classification_chaos | ||
| 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.
release/release_data_tests.yaml
Outdated
| --data-directory 300G-image-data-synthetic-raw-parquet --data-format parquet --chaos-test | ||
| - name: image_classification_chaos_no_scale_back | ||
| 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.
| - name: image_embedding_from_uris_{{case}} | ||
| 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.
release/release_data_tests.yaml
Outdated
|
|
||
|
|
||
| - name: image_embedding_from_jsonl_{{case}} | ||
| 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 image_embedding_from_jsonl/main.py {{args}} | ||
|
|
||
| - name: text_embedding_{{case}} | ||
| 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.
| - __suffix__: aws | ||
|
|
||
| - name: chaos_dask_on_ray_large_scale_test_no_spilling | ||
| 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.
| cluster_compute: dask_on_ray/dask_on_ray_stress_compute_gce.yaml | ||
|
|
||
| - name: chaos_dask_on_ray_large_scale_test_spilling | ||
| 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.
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
…-data-batch-inference-tests
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
upgrading batch inference tests to py3.10 Successful release test run: https://buildkite.com/ray-project/release/builds/65258 all except for image_embedding_from_jsonl are running on python 3.10 --------- Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com> Signed-off-by: xgui <xgui@anyscale.com>
upgrading batch inference tests to py3.10 Successful release test run: https://buildkite.com/ray-project/release/builds/65258 all except for image_embedding_from_jsonl are running on python 3.10 --------- Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
upgrading batch inference tests to py3.10 Successful release test run: https://buildkite.com/ray-project/release/builds/65258 all except for image_embedding_from_jsonl are running on python 3.10 --------- Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com> Signed-off-by: Aydin Abiar <aydin@anyscale.com>
upgrading batch inference tests to py3.10 Successful release test run: https://buildkite.com/ray-project/release/builds/65258 all except for image_embedding_from_jsonl are running on python 3.10 --------- Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com> Signed-off-by: Future-Outlier <eric901201@gmail.com>
upgrading batch inference tests to py3.10
Successful release test run: https://buildkite.com/ray-project/release/builds/65258
all except for image_embedding_from_jsonl are running on python 3.10