Repository navigation
[Release / DO NOT MERGE] Update release tests to Python 3.14 - #63270
pseudo-rnd-thoughts wants to merge 85 commits into
Conversation
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates the Python version for various release tests from 3.10 or 3.12 to 3.14. The reviewer identified several critical issues: Python 3.14 is not yet a released version, suggesting a widespread typo, and the change introduces incompatibilities with existing Python 3.12 lockfiles and specialized Docker images used in the testing infrastructure.
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
aslonnie
left a comment
There was a problem hiding this comment.
(skipping review on draft pr)
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
…14-release-testing
| diff -u ./python/deplocks/llm/"${LOCK_TYPE}"_py312_"${VARIANT}".lock "$TEMP_DIR/${LOCK_TYPE}_py312_${VARIANT}_backup.lock" || { | ||
| echo "${LOCK_TYPE}_py312_${VARIANT}.lock is not up to date. Please download it from Artifacts tab and git push the changes." | ||
| diff -u ./python/deplocks/llm/"${LOCK_TYPE}"_py314_"${VARIANT}".lock "$TEMP_DIR/${LOCK_TYPE}_py314_${VARIANT}_backup.lock" || { | ||
| echo "${LOCK_TYPE}_py314_${VARIANT}.lock is not up to date. Please download it from Artifacts tab and git push the changes." |
There was a problem hiding this comment.
LLM compile script wrong variant
High Severity
The LLM lockfile verification script still loops over the cu130 variant after the depsets and committed locks moved Python 3.14 GPU artifacts to cu128. It copies and diffs *_py314_cu130.lock paths that are not produced anymore, so the check fails immediately or never validates the real lockfiles.
Reviewed by Cursor Bugbot for commit b90cfe9. Configure here.
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: pseudo-rnd-thoughts <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
# Conflicts: # python/deplocks/base_extra_testdeps/ray-base_extra_testdeps_py3.14.lock # python/requirements.txt # release/release_multimodal_inference_benchmarks_tests.yaml
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[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 3 total unresolved issues (including 2 from previous reviews).
Reviewed by Cursor Bugbot for commit 425a936. Configure here.
| - PYTHON_VERSION | ||
| - ARCH_SUFFIX | ||
| - IMAGE_TYPE=ray-torch | ||
| - BASE_VARIANT=base |
There was a problem hiding this comment.
Ray-torch image skips testdeps
Medium Severity
The new ray-torch Anyscale CUDA image is built from ray-torch-py…-base with BASE_VARIANT=base, unlike ray-anyscale-cuda, which uses ray-py…-base-extra-testdeps and BASE_VARIANT=base-extra-testdeps. Release tests that pull anyscale/ray-torch therefore miss the BYOD/test dependency layer other GPU Anyscale images include.
Reviewed by Cursor Bugbot for commit 425a936. Configure here.
Signed-off-by: Mark Towers <[email protected]>
|
All release tests are passing in Python 3.14, therefore, closing this PR |
…h image Adds a nightly variant of torch_local_mode (picked from the #63270 port list as the smallest torch test with no extra deps) that runs on the new anyscale/ray-torch py3.14 cu12.8 image via the torch-cu128 BYOD type, exercising the image end to end. The existing torch_local_mode test is unchanged. Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: elliot-barn <[email protected]>
## Description Adds a **ray-torch** release test image, extracted from the py3.14 release testing branch (#63270). This image bundles torch + common ML test dependencies (no vllm, which has no py3.14 wheels yet) on top of the ray py3.14 cu12.8 base, so release tests can be run against Python 3.14 where the ray-ml image is not available. This is crucial for verifying the py3.14 images work. ### Changes - `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch requirements - `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of `ray_img_depset_314` against the cu128 torch index, regenerated against current master) - `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`, `ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish steps (py3.14 / cu12.8.1-cudnn) - `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the `torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only) - `release/release_tests.yaml`: new manual-frequency `torch_local_mode_ray_torch` test — a variant of `torch_local_mode` (smallest torch test from the #63270 port list, no extra deps) running on the ray-torch image via the `torch-cu128` BYOD type, so the image is exercised end to end. The existing test is unchanged. **Verified passing on the release pipeline: [build #103115](https://buildkite.com/ray-project/release/builds/103115)** (image build, publish, and test all green). ## Related issues Extracted from #63270 (py3.14 release testing, DO NOT MERGE branch) so the image lands on master independently. ## Additional information AI-assisted (Claude Code); all changes reviewed by the submitter. Not duplicating open work: #63270 is a closed testing-only branch and no other open PR adds this image. Tests run locally: - `pytest release/ray_release/tests/test_global_config.py release/ray_release/tests/test_test.py release/ray_release/tests/test_config.py` — pass - `bazel run //ci/raydepsets:raydepsets -- build ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to date - `pre-commit run` on changed files — pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…ect#65114) ## Description Adds a **ray-torch** release test image, extracted from the py3.14 release testing branch (ray-project#63270). This image bundles torch + common ML test dependencies (no vllm, which has no py3.14 wheels yet) on top of the ray py3.14 cu12.8 base, so release tests can be run against Python 3.14 where the ray-ml image is not available. This is crucial for verifying the py3.14 images work. ### Changes - `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch requirements - `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of `ray_img_depset_314` against the cu128 torch index, regenerated against current master) - `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`, `ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish steps (py3.14 / cu12.8.1-cudnn) - `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the `torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only) - `release/release_tests.yaml`: new manual-frequency `torch_local_mode_ray_torch` test — a variant of `torch_local_mode` (smallest torch test from the ray-project#63270 port list, no extra deps) running on the ray-torch image via the `torch-cu128` BYOD type, so the image is exercised end to end. The existing test is unchanged. **Verified passing on the release pipeline: [build #103115](https://buildkite.com/ray-project/release/builds/103115)** (image build, publish, and test all green). ## Related issues Extracted from ray-project#63270 (py3.14 release testing, DO NOT MERGE branch) so the image lands on master independently. ## Additional information AI-assisted (Claude Code); all changes reviewed by the submitter. Not duplicating open work: ray-project#63270 is a closed testing-only branch and no other open PR adds this image. Tests run locally: - `pytest release/ray_release/tests/test_global_config.py release/ray_release/tests/test_test.py release/ray_release/tests/test_config.py` — pass - `bazel run //ci/raydepsets:raydepsets -- build ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to date - `pre-commit run` on changed files — pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…ect#65114) ## Description Adds a **ray-torch** release test image, extracted from the py3.14 release testing branch (ray-project#63270). This image bundles torch + common ML test dependencies (no vllm, which has no py3.14 wheels yet) on top of the ray py3.14 cu12.8 base, so release tests can be run against Python 3.14 where the ray-ml image is not available. This is crucial for verifying the py3.14 images work. ### Changes - `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch requirements - `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of `ray_img_depset_314` against the cu128 torch index, regenerated against current master) - `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`, `ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish steps (py3.14 / cu12.8.1-cudnn) - `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the `torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only) - `release/release_tests.yaml`: new manual-frequency `torch_local_mode_ray_torch` test — a variant of `torch_local_mode` (smallest torch test from the ray-project#63270 port list, no extra deps) running on the ray-torch image via the `torch-cu128` BYOD type, so the image is exercised end to end. The existing test is unchanged. **Verified passing on the release pipeline: [build #103115](https://buildkite.com/ray-project/release/builds/103115)** (image build, publish, and test all green). ## Related issues Extracted from ray-project#63270 (py3.14 release testing, DO NOT MERGE branch) so the image lands on master independently. ## Additional information AI-assisted (Claude Code); all changes reviewed by the submitter. Not duplicating open work: ray-project#63270 is a closed testing-only branch and no other open PR adds this image. Tests run locally: - `pytest release/ray_release/tests/test_global_config.py release/ray_release/tests/test_test.py release/ray_release/tests/test_config.py` — pass - `bazel run //ci/raydepsets:raydepsets -- build ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to date - `pre-commit run` on changed files — pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]> Signed-off-by: 400Ping <[email protected]>
…ect#65114) ## Description Adds a **ray-torch** release test image, extracted from the py3.14 release testing branch (ray-project#63270). This image bundles torch + common ML test dependencies (no vllm, which has no py3.14 wheels yet) on top of the ray py3.14 cu12.8 base, so release tests can be run against Python 3.14 where the ray-ml image is not available. This is crucial for verifying the py3.14 images work. ### Changes - `docker/ray-torch/`: Dockerfile, cuda wanda spec, and torch requirements - `ci/raydepsets/configs/ray_torch.depsets.yaml` + compiled lock `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` (expand of `ray_img_depset_314` against the cu128 torch index, regenerated against current master) - `.buildkite/release/build.rayci.yml`: `ray-torchcudabase`, `ray-torch-anyscale-cuda-build`, and `anyscaletorchcudabuild` publish steps (py3.14 / cu12.8.1-cudnn) - `ci/ray_ci/oss_config.yaml` + `ray_release`: support for the `torch-cu128` BYOD type (`anyscale/ray-torch` repo, py3.14 only) - `release/release_tests.yaml`: new manual-frequency `torch_local_mode_ray_torch` test — a variant of `torch_local_mode` (smallest torch test from the ray-project#63270 port list, no extra deps) running on the ray-torch image via the `torch-cu128` BYOD type, so the image is exercised end to end. The existing test is unchanged. **Verified passing on the release pipeline: [build #103115](https://buildkite.com/ray-project/release/builds/103115)** (image build, publish, and test all green). ## Related issues Extracted from ray-project#63270 (py3.14 release testing, DO NOT MERGE branch) so the image lands on master independently. ## Additional information AI-assisted (Claude Code); all changes reviewed by the submitter. Not duplicating open work: ray-project#63270 is a closed testing-only branch and no other open PR adds this image. Tests run locally: - `pytest release/ray_release/tests/test_global_config.py release/ray_release/tests/test_test.py release/ray_release/tests/test_config.py` — pass - `bazel run //ci/raydepsets:raydepsets -- build ci/raydepsets/configs/ray_torch.depsets.yaml --check` — lock files up to date - `pre-commit run` on changed files — pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>


[DO NOT MERGE]
Description
Testing all the release tests with Python 3.14
All nightly core, clusters, data, ml are passing with only a single
tunerelated bug.Next: serve test, most tests pass though we need to update the anyscale cli's pydantic implementation to be compatible with 3.14
we can't test llm as cuda-tile hasn't got 3.14 tests yet (May 22nd)