Skip to content

Commit c927698

Browse files
[CI] Rename cuda dimension to platform in anyscale CUDA build steps
Rename the cuda matrix dimension to platform (with cu-prefixed values) in the three anyscale CUDA build steps and their wandas. The wandas now accept $PLATFORM directly instead of constructing it from cu$CUDA_VERSION; output is identical since callers pass cu-prefixed values. This aligns the dimension name with the publish steps (anyscalebuild, anyscalellmbuild, anyscalemlbuild) which already use a platform dimension, enabling precise ($) dependency matching on both platform and python when these steps are later converted to array syntax. Topic: wanda-platform-env Relative: array-wheel-build Labels: draft Signed-off-by: andrew <[email protected]>
1 parent aa202ec commit c927698

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

.buildkite/release/build.rayci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ steps:
9494
- raycpubaseextra-testdeps
9595

9696
- name: ray-anyscale-cuda-build
97-
label: "wanda: ray-anyscale py{{matrix.python}} cu{{matrix.cuda}}"
97+
label: "wanda: ray-anyscale py{{matrix.python}} {{matrix.platform}}"
9898
wanda: ci/docker/ray-anyscale-cuda.wanda.yaml
9999
env_file: rayci.env
100100
matrix:
@@ -106,15 +106,15 @@ steps:
106106
- "3.11"
107107
- "3.12"
108108
- "3.13"
109-
cuda:
110-
- "12.3.2-cudnn9"
109+
platform:
110+
- "cu12.3.2-cudnn9"
111111
adjustments:
112112
- with:
113113
python: "3.12"
114-
cuda: "13.0.0-cudnn"
114+
platform: "cu13.0.0-cudnn"
115115
env:
116116
PYTHON_VERSION: "{{matrix.python}}"
117-
CUDA_VERSION: "{{matrix.cuda}}"
117+
PLATFORM: "{{matrix.platform}}"
118118
ARCH_SUFFIX: ""
119119
tags:
120120
- oss
@@ -153,22 +153,22 @@ steps:
153153
platform: cu13.0.0-cudnn
154154

155155
- name: ray-llm-anyscale-cuda-build
156-
label: "wanda: ray-llm-anyscale py{{matrix.python}} cu{{matrix.cuda}}"
156+
label: "wanda: ray-llm-anyscale py{{matrix.python}} {{matrix.platform}}"
157157
wanda: ci/docker/ray-llm-anyscale-cuda.wanda.yaml
158158
env_file: rayci.env
159159
matrix:
160160
setup:
161161
python:
162162
- "3.12"
163-
cuda:
164-
- "13.0.0-cudnn"
163+
platform:
164+
- "cu13.0.0-cudnn"
165165
adjustments:
166166
- with:
167167
python: "3.11"
168-
cuda: "12.8.1-cudnn"
168+
platform: "cu12.8.1-cudnn"
169169
env:
170170
PYTHON_VERSION: "{{matrix.python}}"
171-
CUDA_VERSION: "{{matrix.cuda}}"
171+
PLATFORM: "{{matrix.platform}}"
172172
ARCH_SUFFIX: ""
173173
tags:
174174
- oss
@@ -202,7 +202,7 @@ steps:
202202
platform: "cu12.8.1-cudnn"
203203

204204
- name: ray-ml-anyscale-cuda-build
205-
label: "wanda: ray-ml-anyscale py{{matrix.python}} cu{{matrix.cuda}}"
205+
label: "wanda: ray-ml-anyscale py{{matrix.python}} {{matrix.platform}}"
206206
wanda: ci/docker/ray-ml-anyscale-cuda.wanda.yaml
207207
env_file: rayci.env
208208
matrix:
@@ -211,11 +211,11 @@ steps:
211211
# This list should be kept in sync with the list of supported Python in
212212
# release test suite
213213
- "3.10"
214-
cuda:
215-
- "12.1.1-cudnn8"
214+
platform:
215+
- "cu12.1.1-cudnn8"
216216
env:
217217
PYTHON_VERSION: "{{matrix.python}}"
218-
CUDA_VERSION: "{{matrix.cuda}}"
218+
PLATFORM: "{{matrix.platform}}"
219219
ARCH_SUFFIX: ""
220220
tags:
221221
- oss

ci/docker/ray-anyscale-cuda.wanda.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
#
55
# This produces the anyscale test image for GPU release tests.
66
#
7-
name: "ray-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX"
7+
name: "ray-anyscale-py$PYTHON_VERSION-$PLATFORM$ARCH_SUFFIX"
88
disable_caching: true
99
froms:
10-
- "cr.ray.io/rayproject/ray-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # CUDA base with test deps
10+
- "cr.ray.io/rayproject/ray-py$PYTHON_VERSION-$PLATFORM-base-extra-testdeps" # CUDA base with test deps
1111
- "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel
1212
dockerfile: ci/docker/ray-image.Dockerfile
1313
build_args:
1414
- PYTHON_VERSION
1515
- ARCH_SUFFIX
1616
- IMAGE_TYPE=ray
1717
- BASE_VARIANT=base-extra-testdeps
18-
- PLATFORM=cu$CUDA_VERSION
18+
- PLATFORM
1919
- RAY_COMMIT=$BUILDKITE_COMMIT
2020
- RAY_VERSION

ci/docker/ray-llm-anyscale-cuda.wanda.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
#
55
# This produces the anyscale test image for ray-llm GPU release tests.
66
#
7-
name: "ray-llm-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX"
7+
name: "ray-llm-anyscale-py$PYTHON_VERSION-$PLATFORM$ARCH_SUFFIX"
88
disable_caching: true
99
froms:
10-
- "cr.ray.io/rayproject/ray-llm-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # ray-llm base with test deps
10+
- "cr.ray.io/rayproject/ray-llm-py$PYTHON_VERSION-$PLATFORM-base-extra-testdeps" # ray-llm base with test deps
1111
- "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel
1212
dockerfile: ci/docker/ray-image.Dockerfile
1313
build_args:
1414
- PYTHON_VERSION
1515
- ARCH_SUFFIX
1616
- BASE_VARIANT=base-extra-testdeps
1717
- IMAGE_TYPE=ray-llm
18-
- PLATFORM=cu$CUDA_VERSION
18+
- PLATFORM
1919
- RAY_COMMIT=$BUILDKITE_COMMIT
2020
- RAY_VERSION

ci/docker/ray-ml-anyscale-cuda.wanda.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
#
55
# This produces the anyscale test image for ray-ml GPU release tests.
66
#
7-
name: "ray-ml-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX"
7+
name: "ray-ml-anyscale-py$PYTHON_VERSION-$PLATFORM$ARCH_SUFFIX"
88
disable_caching: true
99
froms:
10-
- "cr.ray.io/rayproject/ray-ml-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # ray-ml base with test deps
10+
- "cr.ray.io/rayproject/ray-ml-py$PYTHON_VERSION-$PLATFORM-base-extra-testdeps" # ray-ml base with test deps
1111
- "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel
1212
dockerfile: ci/docker/ray-image.Dockerfile
1313
build_args:
1414
- PYTHON_VERSION
1515
- ARCH_SUFFIX
1616
- BASE_VARIANT=base-extra-testdeps
1717
- IMAGE_TYPE=ray-ml
18-
- PLATFORM=cu$CUDA_VERSION
18+
- PLATFORM
1919
- RAY_COMMIT=$BUILDKITE_COMMIT
2020
- RAY_VERSION

0 commit comments

Comments
 (0)