-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[ci] Port anyscale image builds to Wanda pipeline #59937
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,57 @@ | ||
| group: release build | ||
| steps: | ||
| - name: ray-core-build | ||
| label: "wanda: core binary parts py{{matrix}} (x86_64)" | ||
| wanda: ci/docker/ray-core.wanda.yaml | ||
| matrix: | ||
| - "3.10" | ||
| - "3.11" | ||
| - "3.12" | ||
| - "3.13" | ||
| env_file: rayci.env | ||
| env: | ||
| PYTHON_VERSION: "{{matrix}}" | ||
| ARCH_SUFFIX: "" | ||
| HOSTTYPE: "x86_64" | ||
| tags: oss | ||
|
|
||
| - name: ray-dashboard-build | ||
| label: "wanda: dashboard" | ||
| wanda: ci/docker/ray-dashboard.wanda.yaml | ||
| env_file: rayci.env | ||
| env: | ||
| ARCH_SUFFIX: "" | ||
| HOSTTYPE: "x86_64" | ||
| tags: oss | ||
|
|
||
| - name: ray-java-build | ||
| label: "wanda: java build (x86_64)" | ||
| wanda: ci/docker/ray-java.wanda.yaml | ||
| tags: oss | ||
| env_file: rayci.env | ||
| env: | ||
| ARCH_SUFFIX: "" | ||
| HOSTTYPE: "x86_64" | ||
|
|
||
| - name: ray-wheel-build | ||
| label: "wanda: wheel py{{matrix}} (x86_64)" | ||
| wanda: ci/docker/ray-wheel.wanda.yaml | ||
| matrix: | ||
| - "3.10" | ||
| - "3.11" | ||
| - "3.12" | ||
| - "3.13" | ||
| env_file: rayci.env | ||
| env: | ||
| PYTHON_VERSION: "{{matrix}}" | ||
| ARCH_SUFFIX: "" | ||
| HOSTTYPE: "x86_64" | ||
| tags: oss | ||
| depends_on: | ||
| - ray-core-build | ||
| - ray-java-build | ||
| - ray-dashboard-build | ||
|
|
||
| - name: raycpubaseextra-testdeps | ||
| label: "wanda: ray.py{{matrix}}.cpu.base-extra-testdeps" | ||
| wanda: docker/base-extra-testdeps/cpu.wanda.yaml | ||
|
|
@@ -65,26 +117,69 @@ steps: | |
| depends_on: | ||
| - ray-mlcudabaseextra | ||
|
|
||
| - label: ":tapioca: build: ray py{{matrix.python}}-{{matrix.platform}} image for release tests" | ||
| - name: ray-anyscale-cpu-build | ||
| label: "wanda: ray-anyscale py{{matrix}} cpu" | ||
| wanda: ci/docker/ray-anyscale-cpu.wanda.yaml | ||
| env_file: rayci.env | ||
| matrix: | ||
| # This list should be kept in sync with the list of supported Python in | ||
| # release test suite | ||
| - "3.10" | ||
| - "3.11" | ||
| - "3.12" | ||
| - "3.13" | ||
| env: | ||
| PYTHON_VERSION: "{{matrix}}" | ||
| ARCH_SUFFIX: "" | ||
| tags: | ||
| - oss | ||
| depends_on: | ||
| - ray-wheel-build | ||
| - raycpubaseextra-testdeps | ||
|
|
||
| - name: ray-anyscale-cuda-build | ||
| label: "wanda: ray-anyscale py{{matrix.python}} cu{{matrix.cuda}}" | ||
| wanda: ci/docker/ray-anyscale-cuda.wanda.yaml | ||
| env_file: rayci.env | ||
| matrix: | ||
| setup: | ||
| python: | ||
| # This list should be kept in sync with the list of supported Python in | ||
| # release test suite | ||
| - "3.10" | ||
| - "3.11" | ||
| - "3.12" | ||
| - "3.13" | ||
| cuda: | ||
| - "12.3.2-cudnn9" | ||
| env: | ||
| PYTHON_VERSION: "{{matrix.python}}" | ||
| CUDA_VERSION: "{{matrix.cuda}}" | ||
| ARCH_SUFFIX: "" | ||
| tags: | ||
| - oss | ||
| depends_on: | ||
| - ray-wheel-build | ||
| - raycudabaseextra-testdeps | ||
|
|
||
| - label: ":crane: publish: ray-anyscale py{{matrix.python}} {{matrix.platform}}" | ||
| key: anyscalebuild | ||
| instance_type: release-medium | ||
| mount_buildkite_agent: true | ||
| tags: | ||
| - oss | ||
| commands: | ||
| - bazel run //ci/ray_ci:build_in_docker -- anyscale | ||
| --python-version {{matrix.python}} --platform {{matrix.platform}} | ||
| --image-type ray --upload | ||
| - bazel run //ci/ray_ci/automation:push_release_test_image -- | ||
| --python-version {{matrix.python}} | ||
| --platform {{matrix.platform}} | ||
| --image-type ray | ||
| --upload | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Publish path drops gcloud bootstrap logicMedium Severity Switching to Additional Locations (2) |
||
| depends_on: | ||
| - manylinux-x86_64 | ||
| - forge | ||
| - raycpubaseextra-testdeps | ||
| - raycudabaseextra-testdeps | ||
| - ray-anyscale-cpu-build | ||
| - ray-anyscale-cuda-build | ||
| matrix: | ||
| setup: | ||
| python: | ||
| # This list should be kept in sync with the list of supported Python in | ||
| # release test suite | ||
| - "3.10" | ||
| - "3.11" | ||
| - "3.12" | ||
|
|
@@ -93,36 +188,82 @@ steps: | |
| - cu12.3.2-cudnn9 | ||
| - cpu | ||
|
|
||
| - label: ":tapioca: build: ray-llm py{{matrix}} image for release tests" | ||
| - name: ray-llm-anyscale-cuda-build | ||
| label: "wanda: ray-llm-anyscale py{{matrix.python}} cu{{matrix.cuda}}" | ||
| wanda: ci/docker/ray-llm-anyscale-cuda.wanda.yaml | ||
| env_file: rayci.env | ||
| matrix: | ||
| setup: | ||
| python: | ||
| - "3.11" | ||
| cuda: | ||
| - "12.8.1-cudnn" | ||
| env: | ||
| PYTHON_VERSION: "{{matrix.python}}" | ||
| CUDA_VERSION: "{{matrix.cuda}}" | ||
| ARCH_SUFFIX: "" | ||
| tags: | ||
| - oss | ||
| depends_on: | ||
| - ray-wheel-build | ||
| - ray-llmbaseextra-testdeps | ||
|
|
||
| - label: ":crane: publish: ray-llm-anyscale py{{matrix.python}} {{matrix.platform}}" | ||
| key: anyscalellmbuild | ||
| instance_type: release-medium | ||
| mount_buildkite_agent: true | ||
| tags: | ||
| - oss | ||
| commands: | ||
| - bazel run //ci/ray_ci:build_in_docker -- anyscale --python-version {{matrix}} | ||
| --platform cu12.8.1-cudnn --image-type ray-llm --upload | ||
| - bazel run //ci/ray_ci/automation:push_release_test_image -- | ||
| --python-version {{matrix.python}} | ||
| --platform {{matrix.platform}} | ||
| --image-type ray-llm | ||
| --upload | ||
| depends_on: | ||
| - manylinux-x86_64 | ||
| - forge | ||
| - ray-llmbaseextra-testdeps | ||
| - ray-llm-anyscale-cuda-build | ||
| matrix: | ||
| - "3.11" | ||
| setup: | ||
| python: | ||
| - "3.11" | ||
| platform: | ||
| - cu12.8.1-cudnn | ||
|
|
||
| - name: ray-ml-anyscale-cuda-build | ||
| label: "wanda: ray-ml-anyscale py{{matrix.python}} cu{{matrix.cuda}}" | ||
| wanda: ci/docker/ray-ml-anyscale-cuda.wanda.yaml | ||
| env_file: rayci.env | ||
| matrix: | ||
| setup: | ||
| python: | ||
| # This list should be kept in sync with the list of supported Python in | ||
| # release test suite | ||
| - "3.10" | ||
| cuda: | ||
| - "12.1.1-cudnn8" | ||
| env: | ||
| PYTHON_VERSION: "{{matrix.python}}" | ||
| CUDA_VERSION: "{{matrix.cuda}}" | ||
| ARCH_SUFFIX: "" | ||
| tags: | ||
| - oss | ||
| depends_on: | ||
| - ray-wheel-build | ||
| - ray-mlcudabaseextra-testdeps | ||
|
|
||
| - label: ":tapioca: build: ray-ml py{{matrix}} image for release tests" | ||
| - label: ":crane: publish: ray-ml-anyscale py{{matrix}} cu12.1.1-cudnn8" | ||
| key: anyscalemlbuild | ||
| instance_type: release-medium | ||
| mount_buildkite_agent: true | ||
| tags: | ||
| - oss | ||
| commands: | ||
| - bazel run //ci/ray_ci:build_in_docker -- anyscale --python-version {{matrix}} | ||
| --platform cu12.1.1-cudnn8 --image-type ray-ml --upload | ||
| - bazel run //ci/ray_ci/automation:push_release_test_image -- | ||
| --python-version {{matrix}} | ||
| --platform cu12.1.1-cudnn8 | ||
| --image-type ray-ml | ||
| --upload | ||
| depends_on: | ||
| - manylinux-x86_64 | ||
| - forge | ||
| - ray-mlcudabaseextra-testdeps | ||
| - ray-ml-anyscale-cuda-build | ||
| matrix: | ||
| # This list should be kept in sync with the list of supported Python in | ||
| # release test suite | ||
| - "3.10" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Ray Anyscale CPU Image (for release tests) | ||
| # Installs ray wheel into the CPU base-extra-testdeps image, which includes | ||
| # additional test dependencies. | ||
| # | ||
| # This produces the anyscale test image for CPU-only release tests. | ||
| # | ||
| name: "ray-anyscale-py$PYTHON_VERSION-cpu$ARCH_SUFFIX" | ||
| disable_caching: true | ||
| froms: | ||
| - "cr.ray.io/rayproject/ray-py$PYTHON_VERSION-cpu-base-extra-testdeps" # CPU base with test deps | ||
cursor[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel | ||
| dockerfile: ci/docker/ray-image.Dockerfile | ||
| build_args: | ||
| - PYTHON_VERSION | ||
| - ARCH_SUFFIX | ||
| - IMAGE_TYPE=ray | ||
| - PLATFORM=cpu | ||
| - BASE_VARIANT=base-extra-testdeps | ||
| - RAY_COMMIT=$BUILDKITE_COMMIT | ||
| - RAY_VERSION | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Ray Anyscale CUDA Image (for release tests) | ||
| # Installs ray wheel into the CUDA base-extra-testdeps image, which includes | ||
| # additional test dependencies. | ||
| # | ||
| # This produces the anyscale test image for GPU release tests. | ||
| # | ||
| name: "ray-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX" | ||
| disable_caching: true | ||
| froms: | ||
| - "cr.ray.io/rayproject/ray-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # CUDA base with test deps | ||
| - "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel | ||
| dockerfile: ci/docker/ray-image.Dockerfile | ||
| build_args: | ||
| - PYTHON_VERSION | ||
| - ARCH_SUFFIX | ||
| - IMAGE_TYPE=ray | ||
| - BASE_VARIANT=base-extra-testdeps | ||
| - PLATFORM=cu$CUDA_VERSION | ||
| - RAY_COMMIT=$BUILDKITE_COMMIT | ||
| - RAY_VERSION |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Ray-LLM Anyscale CUDA Image (for release tests) | ||
| # Installs ray wheel into the ray-llm CUDA base-extra-testdeps image, which | ||
| # includes extra test dependencies. | ||
| # | ||
| # This produces the anyscale test image for ray-llm GPU release tests. | ||
| # | ||
| name: "ray-llm-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX" | ||
| disable_caching: true | ||
| froms: | ||
| - "cr.ray.io/rayproject/ray-llm-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # ray-llm base with test deps | ||
| - "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel | ||
| dockerfile: ci/docker/ray-image.Dockerfile | ||
| build_args: | ||
| - PYTHON_VERSION | ||
| - ARCH_SUFFIX | ||
| - BASE_VARIANT=base-extra-testdeps | ||
| - IMAGE_TYPE=ray-llm | ||
| - PLATFORM=cu$CUDA_VERSION | ||
| - RAY_COMMIT=$BUILDKITE_COMMIT | ||
| - RAY_VERSION |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Ray-ML Anyscale CUDA Image (for release tests) | ||
| # Installs ray wheel into the ray-ml CUDA base-extra-testdeps image, which includes | ||
| # extra test dependencies. | ||
| # | ||
| # This produces the anyscale test image for ray-ml GPU release tests. | ||
| # | ||
| name: "ray-ml-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX" | ||
| disable_caching: true | ||
| froms: | ||
| - "cr.ray.io/rayproject/ray-ml-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # ray-ml base with test deps | ||
| - "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel | ||
| dockerfile: ci/docker/ray-image.Dockerfile | ||
| build_args: | ||
| - PYTHON_VERSION | ||
| - ARCH_SUFFIX | ||
| - BASE_VARIANT=base-extra-testdeps | ||
| - IMAGE_TYPE=ray-ml | ||
| - PLATFORM=cu$CUDA_VERSION | ||
| - RAY_COMMIT=$BUILDKITE_COMMIT | ||
| - RAY_VERSION |


Uh oh!
There was an error while loading. Please reload this page.