Skip to content

[ci] Introduce CUDA 13 images for ray-llm and core-gpu - #61497

Merged
aslonnie merged 7 commits into
masterfrom
cuda13-image-additions
Mar 12, 2026
Merged

aslonnie merged 7 commits into
masterfrom
cuda13-image-additions

Conversation

@jeffreywang88

@jeffreywang88 jeffreywang88 commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor

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

  • CI: llmgpubuild-py312 build step using cu130 base (.buildkite/llm.rayci.yml)
  • Release images: ray-llm-anyscale py3.12 + cu13.0.0-cudnn built and published (.buildkite/release/build.rayci.yml)
  • BYOD type: llm-cu130 (requires Python 3.12)
  • Python: 3.12

Core-GPU (Compiled Graphs) on CUDA 13

  • CI: coregpu-cu130-build + core-multi-gpu-cu130-tests steps (.buildkite/core.rayci.yml)
  • Release images: ray-ml-anyscale py3.10 + cu13.0.0-cudnn built and published through the full ray-ml chain
  • BYOD type: gpu-cu130 (requires Python 3.10)
  • Release tests: compiled_graphs_GPU_cu130 and compiled_graphs_GPU_multinode_cu130 on L4 instances
  • Python: 3.10

Summary Table

Workload BYOD Type Python CUDA Image Repo
Ray-LLM llm-cu128 3.11 12.8 anyscale/ray-llm
Ray-LLM llm-cu130 3.12 13.0 anyscale/ray-llm
Core-GPU gpu 3.10 12.1 anyscale/ray-ml
Core-GPU gpu-cu130 3.10 13.0 anyscale/ray-ml

Prerequisite

#61496

Follow up

  • Add BYOD types (llm-cu130, gpu-cu130), release test entries, and compute configs for compiled graph tests on CUDA 13.
  • Switch ray-llm tests to the new py312 + cuda13 image & core-gpu tests (compiled graphs) to run on the new cuda13 image.

Related issues

This is the first step to resolve #61384.

Additional information

Optional: Add implementation details, API changes, usage examples, screenshots, etc.

@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 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

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.

critical

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 aslonnie 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.

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?

@ray-gardener ray-gardener Bot added the devprod label Mar 5, 2026
aslonnie pushed a commit that referenced this pull request Mar 5, 2026
## 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]>
@jeffreywang88
jeffreywang88 force-pushed the cuda13-image-additions branch from dbe2efd to 3c9e0a7 Compare March 6, 2026 23:51
Comment thread ci/docker/base.cu130.wanda.yaml Resolved
@jeffreywang88

jeffreywang88 commented Mar 6, 2026 •

Copy link
Copy Markdown
Contributor Author

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.

Took a stab at this by adjusting release/ray_release/config.py to allow llm release tests to use the cuda 13 image. To run compiled graph tests (core-gpu tests) on cuda 13, I think we need to:

  1. Build ray-ml images for cu130
  2. Add a gpu-cu130 BYOD type
  3. Update use_byod_ml_image() to handle gpu-cu130

This is going to be a larger change. @andrew-anyscale wdyt?

@jeffreywang88 jeffreywang88 added the go add ONLY when ready to merge, run all tests label Mar 7, 2026

@andrew-anyscale andrew-anyscale 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.

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/?

ParagEkbote pushed a commit to ParagEkbote/ray that referenced this pull request Mar 10, 2026
## 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]>
@jeffreywang88
jeffreywang88 force-pushed the cuda13-image-additions branch from 36a56ab to 90042de Compare March 10, 2026 21:57
Comment thread .buildkite/build.rayci.yml Resolved
@jeffreywang88

Copy link
Copy Markdown
Contributor Author

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/?

Hey @andrew-anyscale I extracted the release pieces into #61637.

@andrew-anyscale andrew-anyscale 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.

This is the necessary change to make sure caches don't clash. Once this is fixed, we should be good to go

Comment thread ci/docker/base.cu130.wanda.yaml Resolved
jeffreywang88 and others added 2 commits March 11, 2026 11:26
Co-authored-by: Andrew Pollack-Gray <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
Comment thread .buildkite/release/build.rayci.yml Resolved
Signed-off-by: Jeffrey Wang <[email protected]>
Comment thread .buildkite/_images.rayci.yml Resolved
Signed-off-by: Jeffrey Wang <[email protected]>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Comment thread ray-images.yaml
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]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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)
Fix in Cursor Fix in Web

@aslonnie
aslonnie merged commit 518de83 into master Mar 12, 2026
3 checks passed
@aslonnie
aslonnie deleted the cuda13-image-additions branch March 12, 2026 19:54
aslonnie pushed a commit that referenced this pull request Mar 17, 2026
…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]>
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
…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]>
elliot-barn added a commit that referenced this pull request Aug 28, 2026
## 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]>
AarryaSaraf pushed a commit to AarryaSaraf/ray that referenced this pull request Aug 31, 2026
## 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]>
AarryaSaraf pushed a commit to AarryaSaraf/ray that referenced this pull request Aug 31, 2026
## 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]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
## 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devprod go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ray Compiled Graph] Support CUDA 13

3 participants