Repository navigation
Add cu130 variants for all ray images - #63801
Conversation
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request adds support for CUDA 13.0.0 across Buildkite CI configurations, docker container tests, and release tests. The review feedback identifies three issues: the build steps for ray-extra images on both x86_64 and aarch64 are missing the CUDA 13.0.0 version (even though the push steps include it), and the new release test in release_tests.yaml incorrectly references the python matrix variable as {{array.python}} instead of {{python}}.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
…i/cu130-upgrade-2 Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
…i/cu130-upgrade-2 Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f3e9fbf. Configure here.
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Adds first-class cu130 (CUDA 13.0) support to Ray's image build pipeline
and release
test suite. Previously cu130 existed only as a one-off compiled_graph
experiment pinned
to py3.12; this generalizes it into proper cu130 base images plus a
reusable cu130 GPU
test dependency layer spanning Python 3.10–3.13.
Image builds
- ci/raydepsets/configs/rayimg.depsets.yaml
- Added cu130 build-arg sets and made CUDA explicit in the build-arg key
rather than
implied: regular keys (py310…py314) carry no CUDA_CODE, and CUDA builds
use explicit
*_cu128 / *_cu130 keys. This prevents a "regular" Python build from
silently pulling a
CUDA index.
- New ray_img_cu130_* depset that relaxes cupy-cuda12x → cupy-cuda13x
for the cu130
image chain.
- New ray-gpu-cu130-base_extra_testdeps_* depset for the cu130 GPU
base-extra-testdeps image.
- Left the ray-ml depset as a single, non-cuda-coded, py3.10-only lock
(ray-ml only
ships a CUDA 12.x image), keeping the lock that byod.Dockerfile actually
consumes.
- .buildkite/{base,build,_images,linux_aarch64,release/build}.rayci.yml:
wire
cu13.0.0-cudnn into the base/release image matrices.
- New compiled locks:
python/deplocks/ray_img/ray_img_cu130_py3.{10–14}.lock and
ray-gpu-cu130-base_extra_testdeps_py3.{10–14}.lock.
- ray-images.json / ci/ray_ci/test_ray_docker_container.py updated for
cu130.
GPU release tests
- ci/raydepsets/configs/release_gpu_cu130.depsets.yaml (new): a shared
gpu_cu130_py3.{10–13}.lock torch layer that expands the gpu-cu130 base
image with a
CUDA 13.x torch build, constrained to the base image lock so versions
(e.g.
cupy-cuda13x) stay consistent. Installed via python_depset (BYOD) —
replaces the old
post_build_script + ray-ml-image approach.
- Removed the legacy release_compiled_graph_gpu_cu130.depsets.yaml,
byod_compiled_graph_gpu_cu130.sh, and
requirements_compiled_graph_gpu_cu130.in.
- New requirements_gpu_cu130.in / requirements_byod_gpu_cu130.in.
- New workload jobs_check_cuda_version.py asserting the runtime torch
CUDA version is
13.0.
- release/release_tests.yaml — cu130 tests across Python 3.10–3.13:
- hello_world_cu130_py{3.10–3.13}
- jobs_check_cuda_version_cu130_py{3.10–3.13}
- jobs_check_cuda_available.py3{10–13}_cu130 (new variations)
- compiled_graphs_GPU_cu130_py{3.10–3.13} and
compiled_graphs_GPU_multinode_cu130_py{3.10–3.13} (converted from a
single py3.12 test
to a full Python matrix on the shared cu130 torch layer)
Testing
Running the new cu130 GPU release tests (20 total, Python 3.10–3.13):
hello_world_cu130, jobs_check_cuda_version_cu130,
jobs_check_cuda_available.*_cu130,
compiled_graphs_GPU_cu130, compiled_graphs_GPU_multinode_cu130.
Release tests:
https://buildkite.com/ray-project/release/builds/96047/canvas?sid=019eab1c-8fd9-4539-a08d-44f060784f05&open=false
---------
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: elliot-barn <[email protected]>
Adds first-class cu130 (CUDA 13.0) support to Ray's image build pipeline
and release
test suite. Previously cu130 existed only as a one-off compiled_graph
experiment pinned
to py3.12; this generalizes it into proper cu130 base images plus a
reusable cu130 GPU
test dependency layer spanning Python 3.10–3.13.
Image builds
- ci/raydepsets/configs/rayimg.depsets.yaml
- Added cu130 build-arg sets and made CUDA explicit in the build-arg key
rather than
implied: regular keys (py310…py314) carry no CUDA_CODE, and CUDA builds
use explicit
*_cu128 / *_cu130 keys. This prevents a "regular" Python build from
silently pulling a
CUDA index.
- New ray_img_cu130_* depset that relaxes cupy-cuda12x → cupy-cuda13x
for the cu130
image chain.
- New ray-gpu-cu130-base_extra_testdeps_* depset for the cu130 GPU
base-extra-testdeps image.
- Left the ray-ml depset as a single, non-cuda-coded, py3.10-only lock
(ray-ml only
ships a CUDA 12.x image), keeping the lock that byod.Dockerfile actually
consumes.
- .buildkite/{base,build,_images,linux_aarch64,release/build}.rayci.yml:
wire
cu13.0.0-cudnn into the base/release image matrices.
- New compiled locks:
python/deplocks/ray_img/ray_img_cu130_py3.{10–14}.lock and
ray-gpu-cu130-base_extra_testdeps_py3.{10–14}.lock.
- ray-images.json / ci/ray_ci/test_ray_docker_container.py updated for
cu130.
GPU release tests
- ci/raydepsets/configs/release_gpu_cu130.depsets.yaml (new): a shared
gpu_cu130_py3.{10–13}.lock torch layer that expands the gpu-cu130 base
image with a
CUDA 13.x torch build, constrained to the base image lock so versions
(e.g.
cupy-cuda13x) stay consistent. Installed via python_depset (BYOD) —
replaces the old
post_build_script + ray-ml-image approach.
- Removed the legacy release_compiled_graph_gpu_cu130.depsets.yaml,
byod_compiled_graph_gpu_cu130.sh, and
requirements_compiled_graph_gpu_cu130.in.
- New requirements_gpu_cu130.in / requirements_byod_gpu_cu130.in.
- New workload jobs_check_cuda_version.py asserting the runtime torch
CUDA version is
13.0.
- release/release_tests.yaml — cu130 tests across Python 3.10–3.13:
- hello_world_cu130_py{3.10–3.13}
- jobs_check_cuda_version_cu130_py{3.10–3.13}
- jobs_check_cuda_available.py3{10–13}_cu130 (new variations)
- compiled_graphs_GPU_cu130_py{3.10–3.13} and
compiled_graphs_GPU_multinode_cu130_py{3.10–3.13} (converted from a
single py3.12 test
to a full Python matrix on the shared cu130 torch layer)
Testing
Running the new cu130 GPU release tests (20 total, Python 3.10–3.13):
hello_world_cu130, jobs_check_cuda_version_cu130,
jobs_check_cuda_available.*_cu130,
compiled_graphs_GPU_cu130, compiled_graphs_GPU_multinode_cu130.
Release tests:
https://buildkite.com/ray-project/release/builds/96047/canvas?sid=019eab1c-8fd9-4539-a08d-44f060784f05&open=false
---------
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: elliot-barn <[email protected]>
Adds first-class cu130 (CUDA 13.0) support to Ray's image build pipeline
and release
test suite. Previously cu130 existed only as a one-off compiled_graph
experiment pinned
to py3.12; this generalizes it into proper cu130 base images plus a
reusable cu130 GPU
test dependency layer spanning Python 3.10–3.13.
Image builds
- ci/raydepsets/configs/rayimg.depsets.yaml
- Added cu130 build-arg sets and made CUDA explicit in the build-arg key
rather than
implied: regular keys (py310…py314) carry no CUDA_CODE, and CUDA builds
use explicit
*_cu128 / *_cu130 keys. This prevents a "regular" Python build from
silently pulling a
CUDA index.
- New ray_img_cu130_* depset that relaxes cupy-cuda12x → cupy-cuda13x
for the cu130
image chain.
- New ray-gpu-cu130-base_extra_testdeps_* depset for the cu130 GPU
base-extra-testdeps image.
- Left the ray-ml depset as a single, non-cuda-coded, py3.10-only lock
(ray-ml only
ships a CUDA 12.x image), keeping the lock that byod.Dockerfile actually
consumes.
- .buildkite/{base,build,_images,linux_aarch64,release/build}.rayci.yml:
wire
cu13.0.0-cudnn into the base/release image matrices.
- New compiled locks:
python/deplocks/ray_img/ray_img_cu130_py3.{10–14}.lock and
ray-gpu-cu130-base_extra_testdeps_py3.{10–14}.lock.
- ray-images.json / ci/ray_ci/test_ray_docker_container.py updated for
cu130.
GPU release tests
- ci/raydepsets/configs/release_gpu_cu130.depsets.yaml (new): a shared
gpu_cu130_py3.{10–13}.lock torch layer that expands the gpu-cu130 base
image with a
CUDA 13.x torch build, constrained to the base image lock so versions
(e.g.
cupy-cuda13x) stay consistent. Installed via python_depset (BYOD) —
replaces the old
post_build_script + ray-ml-image approach.
- Removed the legacy release_compiled_graph_gpu_cu130.depsets.yaml,
byod_compiled_graph_gpu_cu130.sh, and
requirements_compiled_graph_gpu_cu130.in.
- New requirements_gpu_cu130.in / requirements_byod_gpu_cu130.in.
- New workload jobs_check_cuda_version.py asserting the runtime torch
CUDA version is
13.0.
- release/release_tests.yaml — cu130 tests across Python 3.10–3.13:
- hello_world_cu130_py{3.10–3.13}
- jobs_check_cuda_version_cu130_py{3.10–3.13}
- jobs_check_cuda_available.py3{10–13}_cu130 (new variations)
- compiled_graphs_GPU_cu130_py{3.10–3.13} and
compiled_graphs_GPU_multinode_cu130_py{3.10–3.13} (converted from a
single py3.12 test
to a full Python matrix on the shared cu130 torch layer)
Testing
Running the new cu130 GPU release tests (20 total, Python 3.10–3.13):
hello_world_cu130, jobs_check_cuda_version_cu130,
jobs_check_cuda_available.*_cu130,
compiled_graphs_GPU_cu130, compiled_graphs_GPU_multinode_cu130.
Release tests:
https://buildkite.com/ray-project/release/builds/96047/canvas?sid=019eab1c-8fd9-4539-a08d-44f060784f05&open=false
---------
Signed-off-by: sai.miduthuri <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: elliot-barn <[email protected]>
Signed-off-by: 400Ping <[email protected]>
…se test (#66547) > **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 - 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]>
…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]>

Adds first-class cu130 (CUDA 13.0) support to Ray's image build pipeline and release
test suite. Previously cu130 existed only as a one-off compiled_graph experiment pinned
to py3.12; this generalizes it into proper cu130 base images plus a reusable cu130 GPU
test dependency layer spanning Python 3.10–3.13.
Image builds
implied: regular keys (py310…py314) carry no CUDA_CODE, and CUDA builds use explicit
*_cu128 / *_cu130 keys. This prevents a "regular" Python build from silently pulling a
CUDA index.
image chain.
base-extra-testdeps image.
ships a CUDA 12.x image), keeping the lock that byod.Dockerfile actually consumes.
cu13.0.0-cudnn into the base/release image matrices.
ray-gpu-cu130-base_extra_testdeps_py3.{10–14}.lock.
GPU release tests
gpu_cu130_py3.{10–13}.lock torch layer that expands the gpu-cu130 base image with a
CUDA 13.x torch build, constrained to the base image lock so versions (e.g.
cupy-cuda13x) stay consistent. Installed via python_depset (BYOD) — replaces the old
post_build_script + ray-ml-image approach.
byod_compiled_graph_gpu_cu130.sh, and requirements_compiled_graph_gpu_cu130.in.
13.0.
compiled_graphs_GPU_multinode_cu130_py{3.10–3.13} (converted from a single py3.12 test
to a full Python matrix on the shared cu130 torch layer)
Testing
Running the new cu130 GPU release tests (20 total, Python 3.10–3.13):
hello_world_cu130, jobs_check_cuda_version_cu130, jobs_check_cuda_available.*_cu130,
compiled_graphs_GPU_cu130, compiled_graphs_GPU_multinode_cu130.
Release tests: https://buildkite.com/ray-project/release/builds/96047/canvas?sid=019eab1c-8fd9-4539-a08d-44f060784f05&open=false