Skip to content

[ci] Migrate specialized dataset compute configs to new schema - #62863

Merged
elliot-barn merged 9 commits into
masterfrom
sai-miduthuri/upgrade-dataset-specialized-compute-configs
May 18, 2026
Merged

elliot-barn merged 9 commits into
masterfrom
sai-miduthuri/upgrade-dataset-specialized-compute-configs

Conversation

@sai-miduthuri

Copy link
Copy Markdown
Contributor

Summary

Migrates 9 Anyscale compute config files from the legacy schema to the new SDK 2026 schema, and adds anyscale_sdk_2026: true to all corresponding test entries in release_data_tests.yaml.

Compute configs migrated (9 files)

Dataset tests (release/nightly_tests/dataset/):

  • fixed_size_gpu_head_compute.yaml
  • fixed_size_xlarge_cpu_compute.yaml
  • fixed_size_xlarge_gpu_compute.yaml
  • iceberg_benchmark_compute.yaml
  • multi_node_train_16_workers.yaml
  • autoscaling_gpu_g2_gce.yaml
  • cross_az_250_350_compute_aws.yaml
  • cross_az_250_350_compute_gce.yaml
  • autoscaling/does_not_over_provision_cluster_compute.yaml

Tests updated in release_data_tests.yaml (8 tests)

Each test uses one or more of the configs above:

  1. iter_torch_batches → fixed_size_gpu_head_compute.yaml
  2. training_ingest_benchmark (all 6 variations) → fixed_size_xlarge_cpu_compute.yaml + fixed_size_xlarge_gpu_compute.yaml
  3. iceberg_benchmark_{{mode}} → iceberg_benchmark_compute.yaml
  4. distributed_training → multi_node_train_16_workers.yaml
  5. multi_stage_batch_inference → autoscaling_gpu_g2_gce.yaml
  6. cross_az_map_batches_autoscaling → cross_az_250_350_compute_aws.yaml + cross_az_250_350_compute_gce.yaml
  7. cross_az_map_batches_autoscaling_iptable_failure_injection → same
  8. does_not_over_provision → autoscaling/does_not_over_provision_cluster_compute.yaml

Schema changes applied

  • cloud_id → cloud, ANYSCALE_CLOUD_ID → ANYSCALE_CLOUD_NAME
  • Removed region: us-west-2 (AWS) / region: us-west1 + allowed_azs: [us-west1-b] → zones: [us-west1-b] (GCE)
  • Removed max_workers: N (top-level)
  • head_node_type → head_node, worker_node_types → worker_nodes
  • min_workers → min_nodes, max_workers → max_nodes
  • use_spot: false → market_type: ON_DEMAND, use_spot: true → market_type: SPOT
  • advanced_configurations_json → advanced_instance_config
  • Dropped head/worker name: fields (single worker group, or distinct instance types — no collision)
  • Dropped head-node resources: {cpu: 0} where head is purely a coordinator (workers present → SDK defaults head CPU to 0)
  • fixed_size_gpu_head_compute.yaml: added explicit resources: {CPU: 0, GPU: 1} on the head so the driver's device='cuda' call in iter_torch_batches still finds a usable GPU
  • multi_node_train_16_workers.yaml: added explicit resources: {CPU: 16, GPU: 1} on the head so the 16-worker distributed training test still has 16 GPUs total (head + 15 workers)
  • cross_az_250_350_compute_*.yaml: dropped head resources: {CPU: 0, GPU: 0} (matches new SDK default); preserved flags: {enable_multi_az_serve, allow-cross-zone-autoscaling}
  • cross_az_250_350_compute_gce.yaml: omitted zones: (legacy had no allowed_azs; test intentionally uses all zones in region for cross-AZ behavior)

Unreferenced configs moved to Step 18

release/nightly_tests/dataset/compute_gpu_4x4_aws.yaml and release/nightly_tests/dataset/compute_gpu_4x4_gce.yaml are not referenced by any test in the repo; they move to the Step 18 cleanup list and are not migrated here.

Test plan

  • All 9 config files validated against ComputeConfig.from_yaml()
  • CI passes with anyscale_sdk_2026: true flag on all 8 test entries

🤖 Generated with Claude Code

Step 11 of the compute config upgrade plan.

Migrates 9 specialized dataset compute configs to the new Anyscale SDK
schema and flips anyscale_sdk_2026: true on the 8 tests that reference
them.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

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 several nightly test cluster compute configurations to a newer schema, likely for compatibility with the Anyscale SDK 2026. The changes involve renaming fields such as 'cloud_id' to 'cloud', 'head_node_type' to 'head_node', and 'worker_node_types' to 'worker_nodes', as well as updating node count and market type keys. Additionally, the 'anyscale_sdk_2026: true' flag was added to various test configurations in 'release/release_data_tests.yaml'. I have no feedback to provide.

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label May 7, 2026
The legacy `flags: {allow-cross-zone-autoscaling: true}` is the new
SDK's first-class top-level boolean field `enable_cross_zone_scaling`
(per https://docs.anyscale.com/reference/compute-config-api#computeconfig).

Both cross_az_250_350_compute_{aws,gce}.yaml configs preserved
`enable_multi_az_serve: true` under flags: (no first-class equivalent).

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
@sai-miduthuri sai-miduthuri removed the stale The issue is stale. It will be closed within 7 days unless there are further conversation label May 7, 2026
sai-miduthuri and others added 4 commits May 7, 2026 09:31
…gs' of github.com:ray-project/ray into sai-miduthuri/upgrade-dataset-specialized-compute-configs

Signed-off-by: sai.miduthuri <[email protected]>
In the new-schema branch of _annotate_cluster_compute, also tagging
head_node.advanced_instance_config and worker_nodes[*].advanced_instance_config
caused Anyscale to use the per-group spec (TagSpecifications-only) at
instance launch and silently drop the cluster-level IamInstanceProfile and
other fields, since the per-group spec replaces (not merges with) the base
spec. Matches the legacy branch's behavior of only annotating the top-level
spec.

Signed-off-by: sai.miduthuri <[email protected]>

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
@sai-miduthuri
sai-miduthuri requested a review from a team as a code owner May 11, 2026 23:25
@sai-miduthuri

Copy link
Copy Markdown
Contributor Author

All test cases pass on commit 7563ee0, except for does_not_over_provision, which fails due to an unrelated issue with DefaultClusterAutoscalerV2.

This PR requires a fix in _annotate_cluster_compute in ClusterManager for release tests. This change will be introduced through #63296 , after which I will revert commit 7563ee0 in this PR, and re-run iceberg_benchmark.* tests to verify on this PR that the tests work correctly with the new schema.

elliot-barn pushed a commit that referenced this pull request May 12, 2026
#63296)

## Description

Refines `_annotate_cluster_compute` (new-schema branch) so the
billing-tag `TagSpecifications` land at exactly the
`advanced_instance_config` levels that the cluster will actually use at
launch. Previously every new-schema compute config got tags added at
three locations unconditionally: top-level, `head_node`, and every
`worker_nodes[*]`.

### Final rules

| Input state | Base tagged? | Per-group tagged? |

|-----------------------------------------------------|----------------------|--------------------------------|
| No `advanced_instance_config` anywhere | yes (auto-created) | — |
| `advanced_instance_config` at base only | yes | — |
| `advanced_instance_config` only on head and/or workers | no (not
auto-created) | yes (only the groups that already have one) |
| `advanced_instance_config` at base AND on head/workers | yes | yes
(only the groups that already have one) |

In code: `should_tag_base = has_base_aic or not (has_head_aic or
has_worker_aic)`; per-group specs are tagged iff the user already
supplied them.

### Why

Anyscale resolves the effective advanced instance spec per node group
using an either-or pick: when a per-group spec is present, it
**replaces** (does not merge with) the cluster-level base spec. The
previous behavior unconditionally created `TagSpecifications`-only
entries on `head_node` and `worker_nodes[*]`, which made those per-group
specs non-empty and caused them to win — silently dropping any
`IamInstanceProfile`/`NetworkInterfaces`/etc. set only at the cluster
level.

This was observed on the `iceberg_benchmark_*` tests after their compute
config was migrated to the new schema: workers no longer picked up the
`ray-autoscaler-v1` IAM instance profile that was declared at the top
level of `iceberg_benchmark_compute.yaml`, so the test couldn't access
the AWS resources it needed.

### Test

`release/ray_release/tests/test_cluster_manager.py`:
- `testClusterComputeExtraTagsNewSchema` (updated) covers the no-AIC and
base+per-group rows, including verifying that pre-existing
`IamInstanceProfile` values on each level are preserved alongside the
added `TagSpecifications`.
- `testClusterComputeNewSchemaNoAic`,
`testClusterComputeNewSchemaPerGroupHeadOnly`,
`testClusterComputeNewSchemaPerGroupWorkerOnly` (new) — one method per
row of the table for clear regression coverage.
- `testClusterComputeNewSchemaNonAws` (new) — verifies the non-AWS early
return.

## Related issues

Related to #62863 (where this bug was first observed during the dataset
compute-config migration).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: sai.miduthuri <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

@elliot-barn elliot-barn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

waiting on tests to pass

… tags"

This reverts commit 7563ee0.

Signed-off-by: sai.miduthuri <[email protected]>
…i/upgrade-dataset-specialized-compute-configs

Signed-off-by: sai.miduthuri <[email protected]>
This reverts commit 4ecd2b6.

Signed-off-by: sai.miduthuri <[email protected]>
@sai-miduthuri sai-miduthuri added the go add ONLY when ready to merge, run all tests label May 13, 2026
@sai-miduthuri
sai-miduthuri requested a review from elliot-barn May 13, 2026 18:52
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
ray-project#63296)

## Description

Refines `_annotate_cluster_compute` (new-schema branch) so the
billing-tag `TagSpecifications` land at exactly the
`advanced_instance_config` levels that the cluster will actually use at
launch. Previously every new-schema compute config got tags added at
three locations unconditionally: top-level, `head_node`, and every
`worker_nodes[*]`.

### Final rules

| Input state | Base tagged? | Per-group tagged? |

|-----------------------------------------------------|----------------------|--------------------------------|
| No `advanced_instance_config` anywhere | yes (auto-created) | — |
| `advanced_instance_config` at base only | yes | — |
| `advanced_instance_config` only on head and/or workers | no (not
auto-created) | yes (only the groups that already have one) |
| `advanced_instance_config` at base AND on head/workers | yes | yes
(only the groups that already have one) |

In code: `should_tag_base = has_base_aic or not (has_head_aic or
has_worker_aic)`; per-group specs are tagged iff the user already
supplied them.

### Why

Anyscale resolves the effective advanced instance spec per node group
using an either-or pick: when a per-group spec is present, it
**replaces** (does not merge with) the cluster-level base spec. The
previous behavior unconditionally created `TagSpecifications`-only
entries on `head_node` and `worker_nodes[*]`, which made those per-group
specs non-empty and caused them to win — silently dropping any
`IamInstanceProfile`/`NetworkInterfaces`/etc. set only at the cluster
level.

This was observed on the `iceberg_benchmark_*` tests after their compute
config was migrated to the new schema: workers no longer picked up the
`ray-autoscaler-v1` IAM instance profile that was declared at the top
level of `iceberg_benchmark_compute.yaml`, so the test couldn't access
the AWS resources it needed.

### Test

`release/ray_release/tests/test_cluster_manager.py`:
- `testClusterComputeExtraTagsNewSchema` (updated) covers the no-AIC and
base+per-group rows, including verifying that pre-existing
`IamInstanceProfile` values on each level are preserved alongside the
added `TagSpecifications`.
- `testClusterComputeNewSchemaNoAic`,
`testClusterComputeNewSchemaPerGroupHeadOnly`,
`testClusterComputeNewSchemaPerGroupWorkerOnly` (new) — one method per
row of the table for clear regression coverage.
- `testClusterComputeNewSchemaNonAws` (new) — verifies the non-AWS early
return.

## Related issues

Related to ray-project#62863 (where this bug was first observed during the dataset
compute-config migration).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: sai.miduthuri <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
@elliot-barn
elliot-barn merged commit d11c24a into master May 18, 2026
4 checks passed
@elliot-barn
elliot-barn deleted the sai-miduthuri/upgrade-dataset-specialized-compute-configs branch May 18, 2026 17:26
TruongQuangPhat pushed a commit to cyhapun/ray-fix-issue that referenced this pull request May 27, 2026
…roject#62863)

## Summary

Migrates 9 Anyscale compute config files from the legacy schema to the
new SDK 2026 schema, and adds `anyscale_sdk_2026: true` to all
corresponding test entries in `release_data_tests.yaml`.

### Compute configs migrated (9 files)

**Dataset tests** (`release/nightly_tests/dataset/`):
- `fixed_size_gpu_head_compute.yaml`
- `fixed_size_xlarge_cpu_compute.yaml`
- `fixed_size_xlarge_gpu_compute.yaml`
- `iceberg_benchmark_compute.yaml`
- `multi_node_train_16_workers.yaml`
- `autoscaling_gpu_g2_gce.yaml`
- `cross_az_250_350_compute_aws.yaml`
- `cross_az_250_350_compute_gce.yaml`
- `autoscaling/does_not_over_provision_cluster_compute.yaml`

### Tests updated in release_data_tests.yaml (8 tests)

Each test uses one or more of the configs above:
1. `iter_torch_batches` → `fixed_size_gpu_head_compute.yaml`
2. `training_ingest_benchmark` (all 6 variations) →
`fixed_size_xlarge_cpu_compute.yaml` +
`fixed_size_xlarge_gpu_compute.yaml`
3. `iceberg_benchmark_{{mode}}` → `iceberg_benchmark_compute.yaml`
4. `distributed_training` → `multi_node_train_16_workers.yaml`
5. `multi_stage_batch_inference` → `autoscaling_gpu_g2_gce.yaml`
6. `cross_az_map_batches_autoscaling` →
`cross_az_250_350_compute_aws.yaml` +
`cross_az_250_350_compute_gce.yaml`
7. `cross_az_map_batches_autoscaling_iptable_failure_injection` → same
8. `does_not_over_provision` →
`autoscaling/does_not_over_provision_cluster_compute.yaml`

### Schema changes applied
- `cloud_id` → `cloud`, `ANYSCALE_CLOUD_ID` → `ANYSCALE_CLOUD_NAME`
- Removed `region: us-west-2` (AWS) / `region: us-west1` + `allowed_azs:
[us-west1-b]` → `zones: [us-west1-b]` (GCE)
- Removed `max_workers: N` (top-level)
- `head_node_type` → `head_node`, `worker_node_types` → `worker_nodes`
- `min_workers` → `min_nodes`, `max_workers` → `max_nodes`
- `use_spot: false` → `market_type: ON_DEMAND`, `use_spot: true` →
`market_type: SPOT`
- `advanced_configurations_json` → `advanced_instance_config`
- Dropped head/worker `name:` fields (single worker group, or distinct
instance types — no collision)
- Dropped head-node `resources: {cpu: 0}` where head is purely a
coordinator (workers present → SDK defaults head CPU to 0)
- `fixed_size_gpu_head_compute.yaml`: added explicit `resources: {CPU:
0, GPU: 1}` on the head so the driver's `device='cuda'` call in
`iter_torch_batches` still finds a usable GPU
- `multi_node_train_16_workers.yaml`: added explicit `resources: {CPU:
16, GPU: 1}` on the head so the 16-worker distributed training test
still has 16 GPUs total (head + 15 workers)
- `cross_az_250_350_compute_*.yaml`: dropped head `resources: {CPU: 0,
GPU: 0}` (matches new SDK default); preserved `flags:
{enable_multi_az_serve, allow-cross-zone-autoscaling}`
- `cross_az_250_350_compute_gce.yaml`: omitted `zones:` (legacy had no
`allowed_azs`; test intentionally uses all zones in region for cross-AZ
behavior)

### Unreferenced configs moved to Step 18

`release/nightly_tests/dataset/compute_gpu_4x4_aws.yaml` and
`release/nightly_tests/dataset/compute_gpu_4x4_gce.yaml` are not
referenced by any test in the repo; they move to the Step 18 cleanup
list and are not migrated here.

## Test plan
- [x] All 9 config files validated against `ComputeConfig.from_yaml()`
- [ ] CI passes with `anyscale_sdk_2026: true` flag on all 8 test
entries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: sai.miduthuri <[email protected]>
Co-authored-by: Claude Opus 4.7 <[email protected]>
Signed-off-by: phattruong <[email protected]>
alexandrplashchinsky pushed a commit to alexandrplashchinsky/ray-alex that referenced this pull request May 29, 2026
ray-project#63296)

## Description

Refines `_annotate_cluster_compute` (new-schema branch) so the
billing-tag `TagSpecifications` land at exactly the
`advanced_instance_config` levels that the cluster will actually use at
launch. Previously every new-schema compute config got tags added at
three locations unconditionally: top-level, `head_node`, and every
`worker_nodes[*]`.

### Final rules

| Input state | Base tagged? | Per-group tagged? |

|-----------------------------------------------------|----------------------|--------------------------------|
| No `advanced_instance_config` anywhere | yes (auto-created) | — |
| `advanced_instance_config` at base only | yes | — |
| `advanced_instance_config` only on head and/or workers | no (not
auto-created) | yes (only the groups that already have one) |
| `advanced_instance_config` at base AND on head/workers | yes | yes
(only the groups that already have one) |

In code: `should_tag_base = has_base_aic or not (has_head_aic or
has_worker_aic)`; per-group specs are tagged iff the user already
supplied them.

### Why

Anyscale resolves the effective advanced instance spec per node group
using an either-or pick: when a per-group spec is present, it
**replaces** (does not merge with) the cluster-level base spec. The
previous behavior unconditionally created `TagSpecifications`-only
entries on `head_node` and `worker_nodes[*]`, which made those per-group
specs non-empty and caused them to win — silently dropping any
`IamInstanceProfile`/`NetworkInterfaces`/etc. set only at the cluster
level.

This was observed on the `iceberg_benchmark_*` tests after their compute
config was migrated to the new schema: workers no longer picked up the
`ray-autoscaler-v1` IAM instance profile that was declared at the top
level of `iceberg_benchmark_compute.yaml`, so the test couldn't access
the AWS resources it needed.

### Test

`release/ray_release/tests/test_cluster_manager.py`:
- `testClusterComputeExtraTagsNewSchema` (updated) covers the no-AIC and
base+per-group rows, including verifying that pre-existing
`IamInstanceProfile` values on each level are preserved alongside the
added `TagSpecifications`.
- `testClusterComputeNewSchemaNoAic`,
`testClusterComputeNewSchemaPerGroupHeadOnly`,
`testClusterComputeNewSchemaPerGroupWorkerOnly` (new) — one method per
row of the table for clear regression coverage.
- `testClusterComputeNewSchemaNonAws` (new) — verifies the non-AWS early
return.

## Related issues

Related to ray-project#62863 (where this bug was first observed during the dataset
compute-config migration).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: sai.miduthuri <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Alexandr Plashchinsky <[email protected]>
alexandrplashchinsky pushed a commit to alexandrplashchinsky/ray-alex that referenced this pull request May 29, 2026
…roject#62863)

## Summary

Migrates 9 Anyscale compute config files from the legacy schema to the
new SDK 2026 schema, and adds `anyscale_sdk_2026: true` to all
corresponding test entries in `release_data_tests.yaml`.

### Compute configs migrated (9 files)

**Dataset tests** (`release/nightly_tests/dataset/`):
- `fixed_size_gpu_head_compute.yaml`
- `fixed_size_xlarge_cpu_compute.yaml`
- `fixed_size_xlarge_gpu_compute.yaml`
- `iceberg_benchmark_compute.yaml`
- `multi_node_train_16_workers.yaml`
- `autoscaling_gpu_g2_gce.yaml`
- `cross_az_250_350_compute_aws.yaml`
- `cross_az_250_350_compute_gce.yaml`
- `autoscaling/does_not_over_provision_cluster_compute.yaml`

### Tests updated in release_data_tests.yaml (8 tests)

Each test uses one or more of the configs above:
1. `iter_torch_batches` → `fixed_size_gpu_head_compute.yaml`
2. `training_ingest_benchmark` (all 6 variations) →
`fixed_size_xlarge_cpu_compute.yaml` +
`fixed_size_xlarge_gpu_compute.yaml`
3. `iceberg_benchmark_{{mode}}` → `iceberg_benchmark_compute.yaml`
4. `distributed_training` → `multi_node_train_16_workers.yaml`
5. `multi_stage_batch_inference` → `autoscaling_gpu_g2_gce.yaml`
6. `cross_az_map_batches_autoscaling` →
`cross_az_250_350_compute_aws.yaml` +
`cross_az_250_350_compute_gce.yaml`
7. `cross_az_map_batches_autoscaling_iptable_failure_injection` → same
8. `does_not_over_provision` →
`autoscaling/does_not_over_provision_cluster_compute.yaml`

### Schema changes applied
- `cloud_id` → `cloud`, `ANYSCALE_CLOUD_ID` → `ANYSCALE_CLOUD_NAME`
- Removed `region: us-west-2` (AWS) / `region: us-west1` + `allowed_azs:
[us-west1-b]` → `zones: [us-west1-b]` (GCE)
- Removed `max_workers: N` (top-level)
- `head_node_type` → `head_node`, `worker_node_types` → `worker_nodes`
- `min_workers` → `min_nodes`, `max_workers` → `max_nodes`
- `use_spot: false` → `market_type: ON_DEMAND`, `use_spot: true` →
`market_type: SPOT`
- `advanced_configurations_json` → `advanced_instance_config`
- Dropped head/worker `name:` fields (single worker group, or distinct
instance types — no collision)
- Dropped head-node `resources: {cpu: 0}` where head is purely a
coordinator (workers present → SDK defaults head CPU to 0)
- `fixed_size_gpu_head_compute.yaml`: added explicit `resources: {CPU:
0, GPU: 1}` on the head so the driver's `device='cuda'` call in
`iter_torch_batches` still finds a usable GPU
- `multi_node_train_16_workers.yaml`: added explicit `resources: {CPU:
16, GPU: 1}` on the head so the 16-worker distributed training test
still has 16 GPUs total (head + 15 workers)
- `cross_az_250_350_compute_*.yaml`: dropped head `resources: {CPU: 0,
GPU: 0}` (matches new SDK default); preserved `flags:
{enable_multi_az_serve, allow-cross-zone-autoscaling}`
- `cross_az_250_350_compute_gce.yaml`: omitted `zones:` (legacy had no
`allowed_azs`; test intentionally uses all zones in region for cross-AZ
behavior)

### Unreferenced configs moved to Step 18

`release/nightly_tests/dataset/compute_gpu_4x4_aws.yaml` and
`release/nightly_tests/dataset/compute_gpu_4x4_gce.yaml` are not
referenced by any test in the repo; they move to the Step 18 cleanup
list and are not migrated here.

## Test plan
- [x] All 9 config files validated against `ComputeConfig.from_yaml()`
- [ ] CI passes with `anyscale_sdk_2026: true` flag on all 8 test
entries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: sai.miduthuri <[email protected]>
Co-authored-by: Claude Opus 4.7 <[email protected]>
Signed-off-by: Alexandr Plashchinsky <[email protected]>
bveeramani added a commit that referenced this pull request Jul 13, 2026
…#64720)

`allow-cross-zone-autoscaling` was a field in our release test YAMLs
that made Anyscale provision instances across availability zones. In
#62863, Sai replaced
`allow-cross-zone-autoscaling` with the newer
`enable_cross_zone_scaling` field.

In this PR, I'm updating the remaining Data release tests to use the new
flag.

Signed-off-by: Balaji Veeramani <[email protected]>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Aug 18, 2026
…roject#62863)

## Summary

Migrates 9 Anyscale compute config files from the legacy schema to the
new SDK 2026 schema, and adds `anyscale_sdk_2026: true` to all
corresponding test entries in `release_data_tests.yaml`.

### Compute configs migrated (9 files)

**Dataset tests** (`release/nightly_tests/dataset/`):
- `fixed_size_gpu_head_compute.yaml`
- `fixed_size_xlarge_cpu_compute.yaml`
- `fixed_size_xlarge_gpu_compute.yaml`
- `iceberg_benchmark_compute.yaml`
- `multi_node_train_16_workers.yaml`
- `autoscaling_gpu_g2_gce.yaml`
- `cross_az_250_350_compute_aws.yaml`
- `cross_az_250_350_compute_gce.yaml`
- `autoscaling/does_not_over_provision_cluster_compute.yaml`

### Tests updated in release_data_tests.yaml (8 tests)

Each test uses one or more of the configs above:
1. `iter_torch_batches` → `fixed_size_gpu_head_compute.yaml`
2. `training_ingest_benchmark` (all 6 variations) →
`fixed_size_xlarge_cpu_compute.yaml` +
`fixed_size_xlarge_gpu_compute.yaml`
3. `iceberg_benchmark_{{mode}}` → `iceberg_benchmark_compute.yaml`
4. `distributed_training` → `multi_node_train_16_workers.yaml`
5. `multi_stage_batch_inference` → `autoscaling_gpu_g2_gce.yaml`
6. `cross_az_map_batches_autoscaling` →
`cross_az_250_350_compute_aws.yaml` +
`cross_az_250_350_compute_gce.yaml`
7. `cross_az_map_batches_autoscaling_iptable_failure_injection` → same
8. `does_not_over_provision` →
`autoscaling/does_not_over_provision_cluster_compute.yaml`

### Schema changes applied
- `cloud_id` → `cloud`, `ANYSCALE_CLOUD_ID` → `ANYSCALE_CLOUD_NAME`
- Removed `region: us-west-2` (AWS) / `region: us-west1` + `allowed_azs:
[us-west1-b]` → `zones: [us-west1-b]` (GCE)
- Removed `max_workers: N` (top-level)
- `head_node_type` → `head_node`, `worker_node_types` → `worker_nodes`
- `min_workers` → `min_nodes`, `max_workers` → `max_nodes`
- `use_spot: false` → `market_type: ON_DEMAND`, `use_spot: true` →
`market_type: SPOT`
- `advanced_configurations_json` → `advanced_instance_config`
- Dropped head/worker `name:` fields (single worker group, or distinct
instance types — no collision)
- Dropped head-node `resources: {cpu: 0}` where head is purely a
coordinator (workers present → SDK defaults head CPU to 0)
- `fixed_size_gpu_head_compute.yaml`: added explicit `resources: {CPU:
0, GPU: 1}` on the head so the driver's `device='cuda'` call in
`iter_torch_batches` still finds a usable GPU
- `multi_node_train_16_workers.yaml`: added explicit `resources: {CPU:
16, GPU: 1}` on the head so the 16-worker distributed training test
still has 16 GPUs total (head + 15 workers)
- `cross_az_250_350_compute_*.yaml`: dropped head `resources: {CPU: 0,
GPU: 0}` (matches new SDK default); preserved `flags:
{enable_multi_az_serve, allow-cross-zone-autoscaling}`
- `cross_az_250_350_compute_gce.yaml`: omitted `zones:` (legacy had no
`allowed_azs`; test intentionally uses all zones in region for cross-AZ
behavior)

### Unreferenced configs moved to Step 18

`release/nightly_tests/dataset/compute_gpu_4x4_aws.yaml` and
`release/nightly_tests/dataset/compute_gpu_4x4_gce.yaml` are not
referenced by any test in the repo; they move to the Step 18 cleanup
list and are not migrated here.

## Test plan
- [x] All 9 config files validated against `ComputeConfig.from_yaml()`
- [ ] CI passes with `anyscale_sdk_2026: true` flag on all 8 test
entries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: sai.miduthuri <[email protected]>
Co-authored-by: Claude Opus 4.7 <[email protected]>
Signed-off-by: 400Ping <[email protected]>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Aug 18, 2026
…ray-project#64720)

`allow-cross-zone-autoscaling` was a field in our release test YAMLs
that made Anyscale provision instances across availability zones. In
ray-project#62863, Sai replaced
`allow-cross-zone-autoscaling` with the newer
`enable_cross_zone_scaling` field.

In this PR, I'm updating the remaining Data release tests to use the new
flag.

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: 400Ping <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Ray Data-related issues go add ONLY when ready to merge, run all tests release-test release test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants