Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions release/release_data_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@
# 300 GB image classification parquet data up to 10 GPUs
# 10 g4dn.12xlarge.
- name: "image_classification_{{scaling}}"
python: "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

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"

group: data-batch-inference

cluster:
Expand All @@ -507,6 +508,7 @@
--data-directory 300G-image-data-synthetic-raw-parquet --data-format parquet

- name: image_classification_chaos
python: "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Please use the YAML alias *py310 defined earlier. This will make the configuration more maintainable.

  python: *py310

stable: False
# Don't use 'nightly_tests/dataset' as the working directory because we need to run
# the 'setup_chaos.py' script.
Expand All @@ -525,6 +527,7 @@


- name: image_embedding_from_uris_{{case}}
python: "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Using the *py310 alias here will help with future maintenance.

  python: *py310

frequency: weekly
group: data-batch-inference

Expand Down Expand Up @@ -594,6 +597,7 @@
script: python image_embedding_from_jsonl/main.py {{args}}

- name: text_embedding_{{case}}
python: "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

And here as well, please use the *py310 alias.

  python: *py310

frequency: weekly
group: data-batch-inference

Expand Down
2 changes: 2 additions & 0 deletions release/release_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3367,6 +3367,7 @@
- __suffix__: aws

- name: chaos_dask_on_ray_large_scale_test_no_spilling
python: "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

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 the subsequent test configuration within this file by using an alias, making future updates to the Python version easier.

  python: &py310 "3.10"

group: data-tests
working_dir: nightly_tests

Expand Down Expand Up @@ -3397,6 +3398,7 @@
cluster_compute: dask_on_ray/dask_on_ray_stress_compute_gce.yaml

- name: chaos_dask_on_ray_large_scale_test_spilling
python: "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

To maintain consistency and improve maintainability, please use the YAML alias *py310 here, as defined in the chaos_dask_on_ray_large_scale_test_no_spilling test.

  python: *py310

group: data-tests
working_dir: nightly_tests

Expand Down