Repository navigation
[ci] Introduce CUDA 13 images for ray-llm and core-gpu - #61497
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces support for CUDA 13 by adding new CI images and updating existing configurations for ray-llm and core-gpu. The changes are extensive, touching multiple Buildkite YAML configurations, Docker build files, and dependency lock files to accommodate the new CUDA version. While the changes are largely consistent and well-structured, I've identified a recurring critical issue across all updated .lock files related to an invalid PyTorch wheel index URL, which will likely cause the builds to fail.
| @@ -1,5 +1,5 @@ | |||
| --index-url https://pypi.org/simple | |||
| --extra-index-url https://download.pytorch.org/whl/cu129 | |||
| --extra-index-url https://download.pytorch.org/whl/cu130 | |||
There was a problem hiding this comment.
The PyTorch wheel index URL https://download.pytorch.org/whl/cu130 is not a valid public URL and will likely cause the build to fail. If you are targeting nightly builds, the URL should be https://download.pytorch.org/whl/nightly/cu130.
--extra-index-url https://download.pytorch.org/whl/nightly/cu130
aslonnie
left a comment
There was a problem hiding this comment.
we do not support cuda 13 yet (in CI or in our release image matrix).. I think we first need to add that to be able to run release tests.
@andrew-anyscale could you help on this effort?
## Description vLLM is moving to py312 + cuda13, and we'd like to adapt ray-llm CI environment to match that. - Add depsets for py312 + cuda13 - Remove py312 + cuda12.9 depsets and ray-llm CI / release images introduced in #61116 and #61149 respectively. Images are removed together because they depend on py312 + cuda12.9 depsets. ### Follow up Introduce CUDA 13 images for ray-llm and core-gpu: #61497 ## Related issues > Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: Jeffrey Wang <[email protected]>
dbe2efd to
3c9e0a7
Compare
Took a stab at this by adjusting
This is going to be a larger change. @andrew-anyscale wdyt? |
andrew-anyscale
left a comment
There was a problem hiding this comment.
I'm bringing up a change shortly to resolve https://github.com/ray-project/ray/pull/61497/changes#r2898425426 , since this is tech-debt on our part.
In the meantime, can you break this change into two separate PRs: One that adds the new image types, and one that starts touching release/?
## Description vLLM is moving to py312 + cuda13, and we'd like to adapt ray-llm CI environment to match that. - Add depsets for py312 + cuda13 - Remove py312 + cuda12.9 depsets and ray-llm CI / release images introduced in ray-project#61116 and ray-project#61149 respectively. Images are removed together because they depend on py312 + cuda12.9 depsets. ### Follow up Introduce CUDA 13 images for ray-llm and core-gpu: ray-project#61497 ## Related issues > Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to ray-project#1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: Jeffrey Wang <[email protected]> Signed-off-by: Parag Ekbote <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
36a56ab to
90042de
Compare
Hey @andrew-anyscale I extracted the release pieces into #61637. |
andrew-anyscale
left a comment
There was a problem hiding this comment.
This is the necessary change to make sure caches don't clash. Once this is fixed, we should be good to go
Co-authored-by: Andrew Pollack-Gray <[email protected]> Signed-off-by: Jeffrey Wang <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
| python: ["3.11", "3.12"] | ||
| architectures: [x86_64] | ||
| platforms: [cu12.8.1-cudnn, cu12.9.1-cudnn] | ||
| platforms: [cu12.8.1-cudnn, cu12.9.1-cudnn, cu13.0.0-cudnn] |
There was a problem hiding this comment.
Invalid cross-product combinations in ray-llm image declaration
Medium Severity
The ray-llm section in ray-images.yaml declares python: ["3.11", "3.12"] and platforms: [cu12.8.1-cudnn, cu12.9.1-cudnn, cu13.0.0-cudnn] as flat lists, implying a 2×3 cross-product of 6 valid combinations. However, docker/ray-llm/Dockerfile hardcodes py311→cu128 and py312→cu130, so combinations like py3.11+cu13.0.0-cudnn or py3.12+cu12.8.1-cudnn would fail at build time. While the Buildkite pipeline YAML files correctly use setup/adjustments to avoid invalid pairings, any automation tool consuming ray-images.yaml to enumerate or validate image combinations would encounter broken builds.
Additional Locations (1)
…13 tests (#61637) ## Description 1. Base ray image build + publish (ray-anyscale-cuda-build, anyscalebuild) 2. ray-llm image build + publish (ray-llm-image-cuda-build, ray-llm-anyscale-cuda-build, anyscalellmbuild) 3. New gpu-cu130 and llm-cu130 BYOD types 4. New cu130 release tests (compiled_graphs_GPU_cu130, etc.) ## Related issues - Part of #61384 - Prerequisite: #61497 ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: Jeffrey Wang <[email protected]>
…13 tests (ray-project#61637) ## Description 1. Base ray image build + publish (ray-anyscale-cuda-build, anyscalebuild) 2. ray-llm image build + publish (ray-llm-image-cuda-build, ray-llm-anyscale-cuda-build, anyscalellmbuild) 3. New gpu-cu130 and llm-cu130 BYOD types 4. New cu130 release tests (compiled_graphs_GPU_cu130, etc.) ## Related issues - Part of ray-project#61384 - Prerequisite: ray-project#61497 ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: Jeffrey Wang <[email protected]>
## What `docker/base-extra/Dockerfile` installs the apt package `google-cloud-sdk`, which no longer exists. Renames it to `google-cloud-cli`. One word, one line. ## Why Any `base-extra` build that misses the layer cache fails outright: ``` Package google-cloud-sdk is not available, but is referred to by another package. However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate => ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100 ``` The package name is simply gone from Google's repo — confirmed against the live index, in every suite it serves: ``` $ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \ | awk '/^Package: /{print $2}' | sort -u google-cloud-cli google-cloud-cli-anthos-auth ... (28 more google-cloud-cli-* components) kubectl # google-cloud-sdk stanzas per suite (amd64 / arm64): cloud-sdk 0 cloud-sdk-jammy 0 cloud-sdk-bullseye 0 # google-cloud-cli stanzas: 49 in each ``` The rename happened at 467.0.0 — `google-cloud-cli` still carries `Replaces: google-cloud-sdk (<< 467.0.0-0)`, which is the metadata apt is reading when it suggests the replacement. A `Replaces` relationship is not an installation candidate, so the install fails anyway. The old name kept resolving only while some version providing it remained in the repo's retention window; the oldest version now retained is `536.0.1-0`, so that window has rolled past. ## Why this surfaced now, not at the rename The layer is normally an ECR cache hit, so the apt step never executes. It only runs on a cache miss: ``` cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found ``` The same commit and the same Dockerfile therefore built green on 2026-08-24 (`cache hit: sha256:09ec1be3...`) and failed on 2026-08-27. A green older build is not evidence the Dockerfile still builds — every image layering on `base-extra` (ray, ray-ml, ray-torch, all Python versions) hits this once its cache entry is gone. ## Precedent `ci/docker/forge.Dockerfile:64` already installs `google-cloud-cli` from the same repo, same key, same apt source line. This only brings `base-extra` in line with it; the source list and key handling are unchanged. ## Testing Reproduced the CI failure and verified the fix in `ubuntu:22.04` (the image's base), using the same apt source and key as the Dockerfile: ``` --- OLD NAME (expected to fail) --- However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate --- NEW NAME (expected to resolve) --- Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Google Cloud SDK 582.0.0 ``` No loss of tooling — the CLI entry points are all still provided: ``` gcloud -> /usr/bin/gcloud gsutil -> /usr/bin/gsutil (gsutil version: 5.37) bq -> /usr/bin/bq ``` Both architectures the image builds are covered: `google-cloud-cli` has 49 versions in the `binary-amd64` index and 49 in `binary-arm64`. Real verification is CI building `base-extra` on this PR. ## Not a duplicate `gh pr list --state open --search "google-cloud-cli"` returns nothing, and no open PR touches `docker/base-extra/Dockerfile`. Its last three commits (#61497, #60878, #60687) are unrelated. ## AI assistance AI assistance was used: diagnosing the failing Buildkite job, confirming the package's absence against the live apt index, and running the container reproduction above. Every changed line was reviewed and every command shown was run and its output confirmed before requesting review. Signed-off-by: elliot-barn <[email protected]>
## What `docker/base-extra/Dockerfile` installs the apt package `google-cloud-sdk`, which no longer exists. Renames it to `google-cloud-cli`. One word, one line. ## Why Any `base-extra` build that misses the layer cache fails outright: ``` Package google-cloud-sdk is not available, but is referred to by another package. However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate => ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100 ``` The package name is simply gone from Google's repo — confirmed against the live index, in every suite it serves: ``` $ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \ | awk '/^Package: /{print $2}' | sort -u google-cloud-cli google-cloud-cli-anthos-auth ... (28 more google-cloud-cli-* components) kubectl # google-cloud-sdk stanzas per suite (amd64 / arm64): cloud-sdk 0 cloud-sdk-jammy 0 cloud-sdk-bullseye 0 # google-cloud-cli stanzas: 49 in each ``` The rename happened at 467.0.0 — `google-cloud-cli` still carries `Replaces: google-cloud-sdk (<< 467.0.0-0)`, which is the metadata apt is reading when it suggests the replacement. A `Replaces` relationship is not an installation candidate, so the install fails anyway. The old name kept resolving only while some version providing it remained in the repo's retention window; the oldest version now retained is `536.0.1-0`, so that window has rolled past. ## Why this surfaced now, not at the rename The layer is normally an ECR cache hit, so the apt step never executes. It only runs on a cache miss: ``` cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found ``` The same commit and the same Dockerfile therefore built green on 2026-08-24 (`cache hit: sha256:09ec1be3...`) and failed on 2026-08-27. A green older build is not evidence the Dockerfile still builds — every image layering on `base-extra` (ray, ray-ml, ray-torch, all Python versions) hits this once its cache entry is gone. ## Precedent `ci/docker/forge.Dockerfile:64` already installs `google-cloud-cli` from the same repo, same key, same apt source line. This only brings `base-extra` in line with it; the source list and key handling are unchanged. ## Testing Reproduced the CI failure and verified the fix in `ubuntu:22.04` (the image's base), using the same apt source and key as the Dockerfile: ``` --- OLD NAME (expected to fail) --- However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate --- NEW NAME (expected to resolve) --- Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Google Cloud SDK 582.0.0 ``` No loss of tooling — the CLI entry points are all still provided: ``` gcloud -> /usr/bin/gcloud gsutil -> /usr/bin/gsutil (gsutil version: 5.37) bq -> /usr/bin/bq ``` Both architectures the image builds are covered: `google-cloud-cli` has 49 versions in the `binary-amd64` index and 49 in `binary-arm64`. Real verification is CI building `base-extra` on this PR. ## Not a duplicate `gh pr list --state open --search "google-cloud-cli"` returns nothing, and no open PR touches `docker/base-extra/Dockerfile`. Its last three commits (ray-project#61497, ray-project#60878, ray-project#60687) are unrelated. ## AI assistance AI assistance was used: diagnosing the failing Buildkite job, confirming the package's absence against the live apt index, and running the container reproduction above. Every changed line was reviewed and every command shown was run and its output confirmed before requesting review. Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Aarrya <[email protected]>
## What `docker/base-extra/Dockerfile` installs the apt package `google-cloud-sdk`, which no longer exists. Renames it to `google-cloud-cli`. One word, one line. ## Why Any `base-extra` build that misses the layer cache fails outright: ``` Package google-cloud-sdk is not available, but is referred to by another package. However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate => ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100 ``` The package name is simply gone from Google's repo — confirmed against the live index, in every suite it serves: ``` $ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \ | awk '/^Package: /{print $2}' | sort -u google-cloud-cli google-cloud-cli-anthos-auth ... (28 more google-cloud-cli-* components) kubectl # google-cloud-sdk stanzas per suite (amd64 / arm64): cloud-sdk 0 cloud-sdk-jammy 0 cloud-sdk-bullseye 0 # google-cloud-cli stanzas: 49 in each ``` The rename happened at 467.0.0 — `google-cloud-cli` still carries `Replaces: google-cloud-sdk (<< 467.0.0-0)`, which is the metadata apt is reading when it suggests the replacement. A `Replaces` relationship is not an installation candidate, so the install fails anyway. The old name kept resolving only while some version providing it remained in the repo's retention window; the oldest version now retained is `536.0.1-0`, so that window has rolled past. ## Why this surfaced now, not at the rename The layer is normally an ECR cache hit, so the apt step never executes. It only runs on a cache miss: ``` cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found ``` The same commit and the same Dockerfile therefore built green on 2026-08-24 (`cache hit: sha256:09ec1be3...`) and failed on 2026-08-27. A green older build is not evidence the Dockerfile still builds — every image layering on `base-extra` (ray, ray-ml, ray-torch, all Python versions) hits this once its cache entry is gone. ## Precedent `ci/docker/forge.Dockerfile:64` already installs `google-cloud-cli` from the same repo, same key, same apt source line. This only brings `base-extra` in line with it; the source list and key handling are unchanged. ## Testing Reproduced the CI failure and verified the fix in `ubuntu:22.04` (the image's base), using the same apt source and key as the Dockerfile: ``` --- OLD NAME (expected to fail) --- However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate --- NEW NAME (expected to resolve) --- Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Google Cloud SDK 582.0.0 ``` No loss of tooling — the CLI entry points are all still provided: ``` gcloud -> /usr/bin/gcloud gsutil -> /usr/bin/gsutil (gsutil version: 5.37) bq -> /usr/bin/bq ``` Both architectures the image builds are covered: `google-cloud-cli` has 49 versions in the `binary-amd64` index and 49 in `binary-arm64`. Real verification is CI building `base-extra` on this PR. ## Not a duplicate `gh pr list --state open --search "google-cloud-cli"` returns nothing, and no open PR touches `docker/base-extra/Dockerfile`. Its last three commits (ray-project#61497, ray-project#60878, ray-project#60687) are unrelated. ## AI assistance AI assistance was used: diagnosing the failing Buildkite job, confirming the package's absence against the live apt index, and running the container reproduction above. Every changed line was reviewed and every command shown was run and its output confirmed before requesting review. Signed-off-by: elliot-barn <[email protected]> Signed-off-by: Aarrya <[email protected]>
## What `docker/base-extra/Dockerfile` installs the apt package `google-cloud-sdk`, which no longer exists. Renames it to `google-cloud-cli`. One word, one line. ## Why Any `base-extra` build that misses the layer cache fails outright: ``` Package google-cloud-sdk is not available, but is referred to by another package. However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate => ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100 ``` The package name is simply gone from Google's repo — confirmed against the live index, in every suite it serves: ``` $ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \ | awk '/^Package: /{print $2}' | sort -u google-cloud-cli google-cloud-cli-anthos-auth ... (28 more google-cloud-cli-* components) kubectl # google-cloud-sdk stanzas per suite (amd64 / arm64): cloud-sdk 0 cloud-sdk-jammy 0 cloud-sdk-bullseye 0 # google-cloud-cli stanzas: 49 in each ``` The rename happened at 467.0.0 — `google-cloud-cli` still carries `Replaces: google-cloud-sdk (<< 467.0.0-0)`, which is the metadata apt is reading when it suggests the replacement. A `Replaces` relationship is not an installation candidate, so the install fails anyway. The old name kept resolving only while some version providing it remained in the repo's retention window; the oldest version now retained is `536.0.1-0`, so that window has rolled past. ## Why this surfaced now, not at the rename The layer is normally an ECR cache hit, so the apt step never executes. It only runs on a cache miss: ``` cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found ``` The same commit and the same Dockerfile therefore built green on 2026-08-24 (`cache hit: sha256:09ec1be3...`) and failed on 2026-08-27. A green older build is not evidence the Dockerfile still builds — every image layering on `base-extra` (ray, ray-ml, ray-torch, all Python versions) hits this once its cache entry is gone. ## Precedent `ci/docker/forge.Dockerfile:64` already installs `google-cloud-cli` from the same repo, same key, same apt source line. This only brings `base-extra` in line with it; the source list and key handling are unchanged. ## Testing Reproduced the CI failure and verified the fix in `ubuntu:22.04` (the image's base), using the same apt source and key as the Dockerfile: ``` --- OLD NAME (expected to fail) --- However the following packages replace it: google-cloud-cli E: Package 'google-cloud-sdk' has no installation candidate --- NEW NAME (expected to resolve) --- Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64]) Google Cloud SDK 582.0.0 ``` No loss of tooling — the CLI entry points are all still provided: ``` gcloud -> /usr/bin/gcloud gsutil -> /usr/bin/gsutil (gsutil version: 5.37) bq -> /usr/bin/bq ``` Both architectures the image builds are covered: `google-cloud-cli` has 49 versions in the `binary-amd64` index and 49 in `binary-arm64`. Real verification is CI building `base-extra` on this PR. ## Not a duplicate `gh pr list --state open --search "google-cloud-cli"` returns nothing, and no open PR touches `docker/base-extra/Dockerfile`. Its last three commits (ray-project#61497, ray-project#60878, ray-project#60687) are unrelated. ## AI assistance AI assistance was used: diagnosing the failing Buildkite job, confirming the package's absence against the live apt index, and running the container reproduction above. Every changed line was reviewed and every command shown was run and its output confirmed before requesting review. Signed-off-by: elliot-barn <[email protected]>


Description
vLLM is moving to py312 + cuda13. To accommodate that, add CUDA 13 CI and release images for ray-llm and core-gpu.
Approach
Ray-LLM on CUDA 13
llmgpubuild-py312build step usingcu130base (.buildkite/llm.rayci.yml)ray-llm-anyscalepy3.12 +cu13.0.0-cudnnbuilt and published (.buildkite/release/build.rayci.yml)llm-cu130(requires Python 3.12)Core-GPU (Compiled Graphs) on CUDA 13
coregpu-cu130-build+core-multi-gpu-cu130-testssteps (.buildkite/core.rayci.yml)ray-ml-anyscalepy3.10 +cu13.0.0-cudnnbuilt and published through the full ray-ml chaingpu-cu130(requires Python 3.10)compiled_graphs_GPU_cu130andcompiled_graphs_GPU_multinode_cu130on L4 instancesSummary Table
Prerequisite
#61496
Follow up
Related issues
This is the first step to resolve #61384.
Additional information