Skip to content

[cuj2] merge latest change to cuj2 (groupby based filtering) and add a debug mode. - #20742

Merged
scv119 merged 3 commits into
ray-project:masterfrom
scv119:optimize-perf
Nov 30, 2021
Merged

scv119 merged 3 commits into
ray-project:masterfrom
scv119:optimize-perf

Conversation

@scv119

@scv119 scv119 commented Nov 27, 2021 •

Copy link
Copy Markdown
Contributor

This PR does two things:

  1. merge latest groupby based filtering to CUJ2
  2. add a debug mode so we only run dummy trainer for measure data processing performance.

Related issue number

Checks

@scv119 scv119 changed the title [cuj2] Optimize perf [cuj2] merge latest change to cuj2 (groupby based filtering) and add a debug mode. Nov 29, 2021
@scv119
scv119 merged commit 6d17fe5 into ray-project:master Nov 30, 2021
elliot-barn added a commit that referenced this pull request Nov 4, 2026
The installed-dependencies section documented the py3.10 ray image, which
this PR stops publishing. Rename the freeze file to
pip_freeze_ray-py311-cpu.txt, seed it from master postmerge #20742
(6fe11a7, ray:6fe11a-py311-cpu_pip-freeze.txt), and point
installation.md at it.

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 10, 2026
## Why

Starting with Ray 2.61.0, the release artifacts (PyPI wheels and
`rayproject/ray` / `ray-extra` images) no longer include Python 3.10.
This PR only stops **publishing** 3.10. CI keeps building py3.10
internally: the core build, kuberay, the HA integration tests and the
runtime_env container tests all depend on it. `python_requires` is
unchanged, so this isn't a full support drop.

## What changes

**Wheels**
- `build.rayci.yml` / `linux_aarch64.rayci.yml`: the 3.10 Linux wheel
*builds* **and their S3 upload** (`linux_wheels_upload`,
`linux_wheels_upload_aarch64`) stay. The Anyscale runtime image builds
(rayturbo) install the OSS cp310 manylinux wheel from
`ray-wheels/<branch>/<commit>/` and gate their whole image pipeline on
it existing, on master and on release branches. These S3 wheels are not
released: `ray_wheels_lib.PYTHON_VERSIONS` drops cp310 (below), so the
release download and PyPI upload never pick them up.
- `windows.rayci.yml`: drop 3.10 from the `windows_wheels` matrix.
- `python/build-wheel-macos.sh`: stop building cp310.
`ci/build/test-macos-wheels.sh` now tests 3.11/3.12, and the 3.10-only
conda pip workaround is removed from both scripts.
- `ray_wheels_lib.PYTHON_VERSIONS`: drop `cp310`, so release
download/upload doesn't expect cp310 wheels.
- release-automation: drop 3.10 from the Linux x86_64/arm64 TestPyPI
validation matrices and from `verify-macos-wheels.sh`.

**Images**
- Drop 3.10 from the `ray_images_push`, `ray_extra_images_push` and
`*_aarch64` publish steps.
- `ray-images.json`: remove 3.10 from `ray.python`. This list drives
`push_ray_image` validation, nightly index generation (`generate_index`)
and the image commit checks.
- **Default python tag 3.10 → 3.11** (`DEFAULT_PYTHON_TAG_VERSION` and
the `ray-images.json` default). Untagged tags (`X.Y.Z`, `nightly`,
`latest`, `-cpu`, `-gpu`, …) now point at py3.11. This also applies to
the `anyscale/ray` release-test image tags pushed by
`push_release_test_image`. Release tests always use explicit `-pyXY`
tags, so they aren't affected.
- `DockerContainer` (the legacy `build_in_docker docker` path, no longer
used to publish) now validates python against the CI-buildable set
(`configs.PYTHON_VERSIONS`) instead of the published set. This keeps the
py3.10 HA-integration / kuberay / runtime_env test images building.

**Docs**
- Remove the 3.10 nightly wheel links. Update the image-tag docs
(default is py3.11; no py310 images from 2.61) and the dev-install wheel
example.
- Installed-dependencies section: document the **py3.11** image.
`pip_freeze_ray-py310-cpu.txt` is renamed to
`pip_freeze_ray-py311-cpu.txt` and seeded from master postmerge #20742
(`6fe11a7b4c`, artifact `ray:6fe11a-py311-cpu_pip-freeze.txt`). The
release docs-deps automation (anyscale/product `devprod/rayrelease`)
needs a matching change to read the py3.11 artifact. That change goes in
separately.

Not changed here: ray-ml, which #67518 removes, and the runtime_env
conda py-version list.

## Duplicate check

`gh pr list --state open --search "python 3.10"` / `"3.10 release wheels
images"` returns no open PR for this.

## Testing

- `PYTHONPATH=release:. pytest ci/ray_ci ci/build
release/ray_release/tests` on this branch vs a clean checkout of the
same master commit (944780d): identical failure set (8 failed / 9
errors, all pre-existing local-env issues such as the missing bazel
runfiles `Rlocation`), and 1435 vs 1433 passed. The +2 is the new
`test_python_310_not_published_for_ray` cases. Parametrized test IDs
changed only where the version was bumped.
- YAML parse check that each edited publish/upload/validate step's
python matrix is now `3.11–3.14`. `bash -n` on the edited shell scripts.
- Pre-commit hooks pass.
- Combined with #67723 (cu133 release publishing) on top of master: the
two merge cleanly, and `bazelisk test
//ci/ray_ci/automation:test_push_ray_image` passes.

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants