Skip to content

[ci] Build and publish cu133 (CUDA 13.3.1) images + hello_world release test - #66547

Merged
elliot-barn merged 6 commits into
masterfrom
elliot-barn/cu133-nightly
Oct 28, 2026
Merged

elliot-barn merged 6 commits into
masterfrom
elliot-barn/cu133-nightly

Conversation

@elliot-barn

@elliot-barn elliot-barn commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Stack: this PR (base, targets master) → #67099 (torch-cu133 release test image, stacked on this branch).

Description

Adds CUDA 13.3 (13.3.1-cudnn, tag suffix -cu133) as a new platform for the ray and ray-extra images so it ships in nightlies (rayproject/ray:nightly-py3xx-cu133[-aarch64]).

Follows the same pattern as cu130 (#63801, #63972):

  • .buildkite/_images.rayci.yml: add 13.3.1-cudnn to raycudabase / raycudabaseextra, and 13.3.1 to ray-slimcudabase.
  • .buildkite/build.rayci.yml (x86_64): add to ray-image-cuda-build / ray-extra-image-cuda-build and --platform cu13.3.1-cudnn to ray_images_push / ray_extra_images_push.
  • .buildkite/linux_aarch64.rayci.yml: same for the aarch64 bases, image builds and pushes.
  • ray-images.json: add cu13.3.1-cudnn to ray platforms, so nightly verification expects the new tags.
  • ci/ray_ci/test_ray_docker_container.py: assert cu13.3.1-cudnn → -cu133.

Nightly only for now. Unlike cu130, cu133 is not published as part of a Ray release yet:

  • ci/ray_ci/automation/push_ray_image.py: new NIGHTLY_ONLY_PLATFORMS = {"cu13.3.1-cudnn"}. On releases/* branches the publish step skips those platforms; the images are still built there, just not pushed. Master nightly publishing is unchanged. To ship cu133 in releases later, remove it from the set.
  • ci/ray_ci/automation/test_push_ray_image.py: on a release branch cu130 is pushed and cu133 is skipped; on master nightly both are pushed.

No new lock files. The base / base-extra layers use CUDA-agnostic locks, and the cupy-cuda12x → cupy-cuda13x swap in ci/docker/ray-image.Dockerfile keys on cu13*, so cu133 already picks it up. nvidia/cuda:13.3.1-{cudnn-devel,runtime}-ubuntu22.04 exists for both amd64 and arm64.

Release test (hello world):

  • .buildkite/release/build.rayci.yml: add 13.3.1-cudnn to raycudabaseextra-testdeps, and cu13.3.1-cudnn to ray-anyscale-cuda-build / anyscalecudabuild. The testdeps lock is keyed by image type, not CUDA, so no new locks are needed.
  • release/ray_release/config.py: allow BYOD type gpu-cu133.
  • release/release_tests.yaml: new nightly hello_world_cu133_py{3.10..3.13}, mirroring hello_world_cu130. It resolves to ray:<build>-py31x-cu133 and depends on anyscalecudabuild--gpucu1331cudnn-python31x.

Out of scope: ray-llm stays on cu130. GPU release tests for cu133 (RDT, jobs_check_cuda_version) run on the torch-cu133 ray-torch image in #67099.

Related issues

N/A

Additional information

🤖 Generated with Claude Code

@elliot-barn
elliot-barn requested a review from a team as a code owner September 28, 2026 20:27

@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 adds support for CUDA version 13.3.1 (including 13.3.1-cudnn) across various Buildkite CI configuration files, updates the Docker container tests to verify the platform tag mapping for this version, and registers it in ray-images.json. There are no review comments, so I have no feedback to provide.

@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core devprod labels Sep 29, 2026
@elliot-barn
elliot-barn force-pushed the elliot-barn/cu133-nightly branch from 094f73e to 07f11c2 Compare October 6, 2026 20:54
@elliot-barn elliot-barn changed the title [ci] Build and publish cu133 (CUDA 13.3.1) ray and ray-extra images [ci] Build and publish cu133 (CUDA 13.3.1) images + hello_world release test Oct 6, 2026
@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Oct 13, 2026
elliot-barn added a commit that referenced this pull request Oct 19, 2026
Restore rdt_T4_2x1_microbenchmark_cu133 (gpu-cu133, py3.12, cu130 depset)
from #66547 instead of renaming it, and add
rdt_T4_2x1_microbenchmark_torch_cu133 as a separate entry.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn
elliot-barn force-pushed the elliot-barn/cu133-nightly branch from 6f887cd to 2e531b4 Compare October 21, 2026 19:20
elliot-barn added a commit that referenced this pull request Oct 21, 2026
)

## Why

Any py3.10 base image built without a cache hit currently fails:

```
Verifying transaction: / failed
RemoveError: This operation will remove conda without replacing it with
another version of conda.
```

`docker/base-deps` and `docker/base-slim` install Miniforge 24.11.3,
which ships Python 3.12, and then run `conda install python=3.10`.
conda-forge `certifi` builds uploaded from 2026-10-19 on require `python
>=3.11`. That includes 2026.10.18, 2026.10.19 and a re-upload of
2026.7.22. With no certifi left that supports 3.10, the solver drops
`certifi`, `requests` and `conda`, and conda refuses the transaction.

Cached images still pass, so this only shows up on a cache miss:
- New platforms, e.g. `ray-py3.10-cu13.3.1-cudnn-base` in #66547
(premerge build 75291).
- Any change to base-deps inputs, e.g. premerge build 75286.
- `smoke test build-docker.sh`, which always builds base-deps from
scratch. It has failed on master postmerge since build 20426 (2026-10-21
16:05 UTC); build 20420 earlier that day passed.

## Change

Add `certifi<2026` to the `conda install python=...` call in both
Dockerfiles, for Python 3.10 only. Other Python versions are unchanged
and keep the latest certifi.

With the cap, the py3.10 solve settles on certifi 2025.11.12 and conda
23.9.0. That conda version is the newest the solver can pair with Python
3.10 under the cap. Pinning `conda>=24.11` as well made the libmamba
solver segfault locally. Python packages that Ray installs with pip/uv
afterwards are unaffected; they come from the lock files.

## Duplicate check

I searched open PRs for `certifi` and `conda`. #67203 bumps pip's
certifi pin, which is unrelated (and closed); nothing else touches this.

## Testing

Locally, in `condaforge/miniforge3:24.11.3-0` (the same Miniforge as the
Dockerfiles), I ran the exact install and clean commands from each
Dockerfile:
- base-deps, py3.10: passes (Python 3.10.22, conda 23.9.0, certifi
2025.11.12).
- base-slim, py3.10: passes (same versions).
- base-deps and base-slim, py3.11: pass. The cap isn't applied (conda
26.9.4, certifi 2026.10.19).
- Without the cap, py3.10 fails with the `RemoveError` above.

This PR changes the base image inputs, so premerge rebuilds every base
image from scratch, which also exercises the change on every Python
version.

AI assistance (Claude Code) was used to investigate and write this
change.

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

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@elliot-barn
elliot-barn force-pushed the elliot-barn/cu133-nightly branch from 2e531b4 to 8dc026f Compare October 21, 2026 23:33
sai-miduthuri pushed a commit that referenced this pull request Oct 23, 2026
)

## Why

Any py3.10 base image built without a cache hit currently fails:

```
Verifying transaction: / failed
RemoveError: This operation will remove conda without replacing it with
another version of conda.
```

`docker/base-deps` and `docker/base-slim` install Miniforge 24.11.3,
which ships Python 3.12, and then run `conda install python=3.10`.
conda-forge `certifi` builds uploaded from 2026-10-19 on require `python
>=3.11`. That includes 2026.10.18, 2026.10.19 and a re-upload of
2026.7.22. With no certifi left that supports 3.10, the solver drops
`certifi`, `requests` and `conda`, and conda refuses the transaction.

Cached images still pass, so this only shows up on a cache miss:
- New platforms, e.g. `ray-py3.10-cu13.3.1-cudnn-base` in #66547
(premerge build 75291).
- Any change to base-deps inputs, e.g. premerge build 75286.
- `smoke test build-docker.sh`, which always builds base-deps from
scratch. It has failed on master postmerge since build 20426 (2026-10-21
16:05 UTC); build 20420 earlier that day passed.

## Change

Add `certifi<2026` to the `conda install python=...` call in both
Dockerfiles, for Python 3.10 only. Other Python versions are unchanged
and keep the latest certifi.

With the cap, the py3.10 solve settles on certifi 2025.11.12 and conda
23.9.0. That conda version is the newest the solver can pair with Python
3.10 under the cap. Pinning `conda>=24.11` as well made the libmamba
solver segfault locally. Python packages that Ray installs with pip/uv
afterwards are unaffected; they come from the lock files.

## Duplicate check

I searched open PRs for `certifi` and `conda`. #67203 bumps pip's
certifi pin, which is unrelated (and closed); nothing else touches this.

## Testing

Locally, in `condaforge/miniforge3:24.11.3-0` (the same Miniforge as the
Dockerfiles), I ran the exact install and clean commands from each
Dockerfile:
- base-deps, py3.10: passes (Python 3.10.22, conda 23.9.0, certifi
2025.11.12).
- base-slim, py3.10: passes (same versions).
- base-deps and base-slim, py3.11: pass. The cap isn't applied (conda
26.9.4, certifi 2026.10.19).
- Without the cap, py3.10 fails with the `RemoveError` above.

This PR changes the base image inputs, so premerge rebuilds every base
image from scratch, which also exercises the change on every Python
version.

AI assistance (Claude Code) was used to investigate and write this
change.

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

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit dc5d25c)
Signed-off-by: Sai Miduthuri <[email protected]>
elliot-barn and others added 3 commits October 26, 2026 22:00
Add 13.3.1-cudnn to the ray / ray-extra CUDA image matrices on x86_64 and
aarch64 (base, base-extra, slim base, image build and push steps), and to
PLATFORMS_RAY in ray-images.json so nightly verification expects the new
nightly-cu133 tags. ray-llm stays on cu130.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Build the cu13.3.1-cudnn ray-anyscale release test image (base-extra-testdeps,
build and publish steps), allow the gpu-cu133 BYOD type, and add a nightly
hello_world_cu133_py{3.10..3.13} test mirroring hello_world_cu130.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Skip cu13.3.1-cudnn in push_ray_image on releases/* branches, so the cu133
ray and ray-extra images are published to Docker Hub as nightly images only
and don't ship with a Ray release yet. The images are still built on release
branches. Remove the platform from NIGHTLY_ONLY_PLATFORMS to start shipping
it in releases.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn
elliot-barn force-pushed the elliot-barn/cu133-nightly branch from 41d67a6 to 47fad65 Compare October 26, 2026 22:01
elliot-barn added a commit that referenced this pull request Oct 27, 2026
> **Stacked on #66547** (cu133 base images, nightly-only publishing).
Review only the top commit; retarget to `master` once #66547 merges.

## Why are these changes needed?

#66547 adds CUDA 13.3.1 images, but the only cu133 release test
(`hello_world_cu133`) runs on a CPU-only cluster, so nothing exercises
cu133 on a GPU. This adds a cu133 **ray-torch** release test image,
selectable as `byod: type: torch-cu133`, and GPU tests that run on it.

It mirrors the torch-cu130 change in #66973, but builds on the cu13.3.1
base instead of cu13.0.0. The two PRs share the generic plumbing (the
`PYTHON_DEPSET` wanda arg, the ray-torch cupy swap, and dropping
`cupy-cuda12x` from `torch-requirements.txt`), so whichever lands second
rebases trivially onto those hunks.

### Changes
- **Locks:** new `ray_torch_cu133_base_depset_${PYTHON_SHORT}`
(py3.11/3.14) built on the cupy-relaxed `ray_img_cu130` chain, so the
lock carries no cupy.
- PyTorch publishes no cu133 wheel index, so torch comes from the cu130
index (`torch==2.10.0+cu130`).
- Those wheels bundle a CUDA 13.0 runtime, which runs on the 13.3 image
under CUDA minor-version compatibility.
- **`ci/docker/ray-image.Dockerfile`:** the cupy-cuda12x → cupy-cuda13x
swap now also runs for `IMAGE_TYPE=ray-torch` on `cu13*`.
- **`docker/ray-torch/torch-requirements.txt`:** drop `cupy-cuda12x`.
`ray[all]` still brings it to the cu128 locks; only its `sys_platform !=
'darwin'` marker changes.
- **`.buildkite/release/build.rayci.yml`:** `ray-torchcudabase` adds the
cu133 combinations via array `adjustments` and passes the lock as
`PYTHON_DEPSET`. `cu13.3.1-cudnn` is added to the ray-torch anyscale
build and publish arrays.
- **`release/ray_release/config.py`:** allow `torch-cu133` (py3.11/3.14
only, same as `torch-cu128`).
- **`release/release_tests.yaml`:**
- New nightly `jobs_check_cuda_version_torch_cu133_py{3.11,3.14}` runs
`--expected-cuda-version 13`. It checks the major version only, because
torch reports 13.0.
- Adds `rdt_single_node_T4_microbenchmark_torch_cu133`: the RDT
microbenchmark on `torch-cu133` with py3.11 on one 4xT4 node
(`compute_t4_gpu.yaml`), so NCCL transfers are intra-node.
- Adds `rdt_T4_2x1_microbenchmark_torch_cu133`: the same test on two
1-GPU g4dn.2xlarge nodes (new `compute_t4_gpu_2x1_aws.yaml`), so NCCL
runs between nodes.
- The RDT test is the useful GPU check: its NCCL tensor transport goes
through `cupy.cuda.nccl`, so it fails if the cupy-cuda13x swap is
broken.
-
**`release/microbenchmark/experimental/rdt_single_node_microbenchmark.py`:**
kill each round's sender/receiver actors at the end of the round. The
benchmark creates a new 1-GPU actor pair per round and the previous
round's actors could outlive it, so on a 2-GPU cluster round 2 never
scheduled.

## Related issue number

Follow-up to #66547; same pattern as #66973.

## Testing
- `bazel run //ci/raydepsets:raydepsets -- build
ci/raydepsets/configs/ray_torch.depsets.yaml`
  - All depsets compile.
  - The regenerated cu128 locks are byte-identical to #66973's.
- The cu133 locks have torch/torchvision `+cu130`, no cupy, and
`nvidia-nccl-cu13==2.28.9`.
-
`read_and_validate_release_test_collection(["release/release_tests.yaml"])`
passes. The cu133 entries resolve to tag suffix `cu133`.
- Release build https://buildkite.com/ray-project/release/builds/111347:
all cu133 ray-torch images built, and
`jobs_check_cuda_version_torch_cu133_py3.11/3.14` passed. The RDT test,
then on 2x g4dn.2xlarge, timed out after the NCCL round. Each benchmark
round leaves its 1-GPU actors holding their GPUs, so a 2-GPU cluster has
nothing left for round 2. The actor-kill fix above addresses this.
- Release build https://buildkite.com/ray-project/release/builds/111527:
`rdt_single_node_T4_microbenchmark_torch_cu133` passed.
- Release build https://buildkite.com/ray-project/release/builds/111722:
`jobs_check_cuda_version_torch_cu133_py3.11/3.14` and
`rdt_single_node_T4_microbenchmark_torch_cu133` passed.
- Release build https://buildkite.com/ray-project/release/builds/111735:
`rdt_T4_2x1_microbenchmark_torch_cu133` passed with the actor-kill fix.
All 6 rounds ran across the two nodes (NCCL 1GB x10 in ~3.6s, gloo
~18.5s).

Duplicate check: `gh pr list --search "torch-cu133"` finds only #66547
(the base). AI assistance (Claude Code) was used to write this change.

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


RDT release tests:
https://buildkite.com/ray-project/release/builds/111735/list

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@elliot-barn
elliot-barn requested a review from a team as a code owner October 27, 2026 19:33
> **Stacked on #66547** (cu133 base images, nightly-only publishing).
Review only the top commit; retarget to `master` once #66547 merges.

## Why are these changes needed?

#66547 adds CUDA 13.3.1 images, but the only cu133 release test
(`hello_world_cu133`) runs on a CPU-only cluster, so nothing exercises
cu133 on a GPU. This adds a cu133 **ray-torch** release test image,
selectable as `byod: type: torch-cu133`, and GPU tests that run on it.

It mirrors the torch-cu130 change in #66973, but builds on the cu13.3.1
base instead of cu13.0.0. The two PRs share the generic plumbing (the
`PYTHON_DEPSET` wanda arg, the ray-torch cupy swap, and dropping
`cupy-cuda12x` from `torch-requirements.txt`), so whichever lands second
rebases trivially onto those hunks.

### Changes
- **Locks:** new `ray_torch_cu133_base_depset_${PYTHON_SHORT}`
(py3.11/3.14) built on the cupy-relaxed `ray_img_cu130` chain, so the
lock carries no cupy.
- PyTorch publishes no cu133 wheel index, so torch comes from the cu130
index (`torch==2.10.0+cu130`).
- Those wheels bundle a CUDA 13.0 runtime, which runs on the 13.3 image
under CUDA minor-version compatibility.
- **`ci/docker/ray-image.Dockerfile`:** the cupy-cuda12x → cupy-cuda13x
swap now also runs for `IMAGE_TYPE=ray-torch` on `cu13*`.
- **`docker/ray-torch/torch-requirements.txt`:** drop `cupy-cuda12x`.
`ray[all]` still brings it to the cu128 locks; only its `sys_platform !=
'darwin'` marker changes.
- **`.buildkite/release/build.rayci.yml`:** `ray-torchcudabase` adds the
cu133 combinations via array `adjustments` and passes the lock as
`PYTHON_DEPSET`. `cu13.3.1-cudnn` is added to the ray-torch anyscale
build and publish arrays.
- **`release/ray_release/config.py`:** allow `torch-cu133` (py3.11/3.14
only, same as `torch-cu128`).
- **`release/release_tests.yaml`:**
- New nightly `jobs_check_cuda_version_torch_cu133_py{3.11,3.14}` runs
`--expected-cuda-version 13`. It checks the major version only, because
torch reports 13.0.
- Adds `rdt_single_node_T4_microbenchmark_torch_cu133`: the RDT
microbenchmark on `torch-cu133` with py3.11 on one 4xT4 node
(`compute_t4_gpu.yaml`), so NCCL transfers are intra-node.
- Adds `rdt_T4_2x1_microbenchmark_torch_cu133`: the same test on two
1-GPU g4dn.2xlarge nodes (new `compute_t4_gpu_2x1_aws.yaml`), so NCCL
runs between nodes.
- The RDT test is the useful GPU check: its NCCL tensor transport goes
through `cupy.cuda.nccl`, so it fails if the cupy-cuda13x swap is
broken.
-
**`release/microbenchmark/experimental/rdt_single_node_microbenchmark.py`:**
kill each round's sender/receiver actors at the end of the round. The
benchmark creates a new 1-GPU actor pair per round and the previous
round's actors could outlive it, so on a 2-GPU cluster round 2 never
scheduled.

## Related issue number

Follow-up to #66547; same pattern as #66973.

## Testing
- `bazel run //ci/raydepsets:raydepsets -- build
ci/raydepsets/configs/ray_torch.depsets.yaml`
  - All depsets compile.
  - The regenerated cu128 locks are byte-identical to #66973's.
- The cu133 locks have torch/torchvision `+cu130`, no cupy, and
`nvidia-nccl-cu13==2.28.9`.
-
`read_and_validate_release_test_collection(["release/release_tests.yaml"])`
passes. The cu133 entries resolve to tag suffix `cu133`.
- Release build https://buildkite.com/ray-project/release/builds/111347:
all cu133 ray-torch images built, and
`jobs_check_cuda_version_torch_cu133_py3.11/3.14` passed. The RDT test,
then on 2x g4dn.2xlarge, timed out after the NCCL round. Each benchmark
round leaves its 1-GPU actors holding their GPUs, so a 2-GPU cluster has
nothing left for round 2. The actor-kill fix above addresses this.
- Release build https://buildkite.com/ray-project/release/builds/111527:
`rdt_single_node_T4_microbenchmark_torch_cu133` passed.
- Release build https://buildkite.com/ray-project/release/builds/111722:
`jobs_check_cuda_version_torch_cu133_py3.11/3.14` and
`rdt_single_node_T4_microbenchmark_torch_cu133` passed.
- Release build https://buildkite.com/ray-project/release/builds/111735:
`rdt_T4_2x1_microbenchmark_torch_cu133` passed with the actor-kill fix.
All 6 rounds ran across the two nodes (NCCL 1GB x10 in ~3.6s, gloo
~18.5s).

Duplicate check: `gh pr list --search "torch-cu133"` finds only #66547
(the base). AI assistance (Claude Code) was used to write this change.

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

RDT release tests:
https://buildkite.com/ray-project/release/builds/111735/list

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Elliot Barnwell <[email protected]>
@elliot-barn
elliot-barn force-pushed the elliot-barn/cu133-nightly branch from cfa32eb to 43b9a69 Compare October 27, 2026 19:34
The torch-cu133 locks came in with the #67099 squash-merge, which was
compiled against an older master than the one merged into this branch.
Recompiled with raydepsets build --all-configs; the only changes are
master's newer pins (aiohttp 3.14.4, certifi 2026.10.19, packaging 26.3,
virtualenv 21.14.12, and their deps).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn
elliot-barn merged commit 18b179a into master Oct 28, 2026
6 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/cu133-nightly branch October 28, 2026 06:23
justinyeh1995 pushed a commit to justinyeh1995/ray that referenced this pull request Oct 28, 2026
…se test (ray-project#66547)

> **Stack:** this PR (base, targets `master`) → ray-project#67099 (torch-cu133
release test image, stacked on this branch).

## Description

Adds CUDA 13.3 (`13.3.1-cudnn`, tag suffix `-cu133`) as a new platform
for the `ray` and `ray-extra` images so it ships in nightlies
(`rayproject/ray:nightly-py3xx-cu133[-aarch64]`).

Follows the same pattern as cu130 (ray-project#63801, ray-project#63972):

- **`.buildkite/_images.rayci.yml`**: add `13.3.1-cudnn` to
`raycudabase` / `raycudabaseextra`, and `13.3.1` to `ray-slimcudabase`.
- **`.buildkite/build.rayci.yml`** (x86_64): add to
`ray-image-cuda-build` / `ray-extra-image-cuda-build` and `--platform
cu13.3.1-cudnn` to `ray_images_push` / `ray_extra_images_push`.
- **`.buildkite/linux_aarch64.rayci.yml`**: same for the aarch64 bases,
image builds and pushes.
- **`ray-images.json`**: add `cu13.3.1-cudnn` to `ray` platforms, so
nightly verification expects the new tags.
- **`ci/ray_ci/test_ray_docker_container.py`**: assert `cu13.3.1-cudnn`
→ `-cu133`.

**Nightly only for now.** Unlike cu130, cu133 is not published as part
of a Ray release yet:
- **`ci/ray_ci/automation/push_ray_image.py`**: new
`NIGHTLY_ONLY_PLATFORMS = {"cu13.3.1-cudnn"}`. On `releases/*` branches
the publish step skips those platforms; the images are still built
there, just not pushed. Master nightly publishing is unchanged. To ship
cu133 in releases later, remove it from the set.
- **`ci/ray_ci/automation/test_push_ray_image.py`**: on a release branch
cu130 is pushed and cu133 is skipped; on master nightly both are pushed.

No new lock files. The base / base-extra layers use CUDA-agnostic locks,
and the cupy-cuda12x → cupy-cuda13x swap in
`ci/docker/ray-image.Dockerfile` keys on `cu13*`, so cu133 already picks
it up. `nvidia/cuda:13.3.1-{cudnn-devel,runtime}-ubuntu22.04` exists for
both amd64 and arm64.

**Release test (hello world):**
- **`.buildkite/release/build.rayci.yml`**: add `13.3.1-cudnn` to
`raycudabaseextra-testdeps`, and `cu13.3.1-cudnn` to
`ray-anyscale-cuda-build` / `anyscalecudabuild`. The testdeps lock is
keyed by image type, not CUDA, so no new locks are needed.
- **`release/ray_release/config.py`**: allow BYOD type `gpu-cu133`.
- **`release/release_tests.yaml`**: new nightly
`hello_world_cu133_py{3.10..3.13}`, mirroring `hello_world_cu130`. It
resolves to `ray:<build>-py31x-cu133` and depends on
`anyscalecudabuild--gpucu1331cudnn-python31x`.

Out of scope: ray-llm stays on cu130. GPU release tests for cu133 (RDT,
`jobs_check_cuda_version`) run on the torch-cu133 ray-torch image in
ray-project#67099.

## Related issues

N/A

## Additional information

- The push steps are `skip-on-premerge`, so the real check is the first
postmerge/nightly run after merge.
- `bazel test //ci/ray_ci/automation:test_push_ray_image` passes.
- Release build https://buildkite.com/ray-project/release/builds/111722:
`hello_world_cu133_py3.10`–`3.13` passed.
- Local: `ci/ray_ci` docker-container / image / supported-images tests
pass; `release/ray_release` config / BYOD-init / test tests pass (81),
and the release test collection validates.

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

---------

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Elliot Barnwell <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
elliot-barn added a commit that referenced this pull request Nov 3, 2026
#66547 added cu13.3.1-cudnn to the image matrix but kept it nightly-only:
NIGHTLY_ONLY_PLATFORMS made push_ray_image skip it on releases/* branches.
cu133 has been in nightlies since 2026-10-29, so remove the gate. Starting
with the 2.61.0 branch cut, the ray / ray-extra -cu133 images ship as
part of the release, the same way cu130 does.

The test now asserts that cu133 is pushed on both a releases/* branch and
a master nightly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
elliot-barn added a commit that referenced this pull request Nov 8, 2026
#67723)

## Why

#66547 added `cu13.3.1-cudnn` images but kept them nightly-only.
`NIGHTLY_ONLY_PLATFORMS` in `push_ray_image.py` skipped cu133 when
pushing from `releases/*`. Nightly cu133 images have shipped since
2026-10-29, and the rayturbo and product nightly support has merged
(anyscale/rayturbo#4453, anyscale/product#45847). This PR removes the
gate so that, from the 2.61.0 branch cut,
`rayproject/ray:X.Y.Z-pyXY-cu133` and `ray-extra` cu133 images are
published as part of the release, like cu130.

## Changes

- Remove `NIGHTLY_ONLY_PLATFORMS` and the release-branch skip in
`push_ray_image.main`.
- Repurpose the gate's test: it now asserts that cu133 is pushed on both
a `releases/*` branch and a master nightly.

## Duplicate check

The gate was added by #66547 (mine). No other open PR touches it.

## Testing

- `PYTHONPATH=release:. pytest
ci/ray_ci/automation/test_push_ray_image.py`: 66 passed.

AI assistance (Claude Code) was used to write this change. I reviewed
every changed line.

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

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core devprod go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants