Skip to content

Commit 101586e

Browse files
Merge branch 'master' into ruff_rllib_import_4
2 parents b1a4c27 + ebb9337 commit 101586e

File tree

422 files changed

+40742
-9339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

422 files changed

+40742
-9339
lines changed

.buildkite/build.rayci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
group: build
22
steps:
3+
- name: ray-core-build
4+
label: "wanda: core binary parts py{{matrix}} (x86_64)"
5+
wanda: ci/docker/ray-core.wanda.yaml
6+
matrix:
7+
- "3.9"
8+
- "3.10"
9+
- "3.11"
10+
- "3.12"
11+
- "3.13"
12+
env:
13+
PYTHON_VERSION: "{{matrix}}"
14+
ARCH_SUFFIX: ""
15+
tags: release_wheels
16+
depends_on: manylinux
17+
18+
- name: ray-dashboard-build
19+
label: "wanda: dashboard"
20+
wanda: ci/docker/ray-dashboard.wanda.yaml
21+
tags: release_wheels
22+
depends_on: manylinux
23+
24+
- name: ray-java-build
25+
label: "wanda: java build (x86_64)"
26+
wanda: ci/docker/ray-java.wanda.yaml
27+
tags:
28+
- release_wheels
29+
- oss
30+
env:
31+
ARCH_SUFFIX: ""
32+
depends_on: manylinux
33+
334
- label: ":tapioca: build: wheel {{matrix}} (x86_64)"
435
key: linux_wheels
536
tags:

.buildkite/core.rayci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ steps:
6060
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... //python/ray/_common/tests/... //python/ray/dag/... //python/ray/autoscaler/v2/... core
6161
--install-mask all-ray-libraries
6262
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
63-
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,runtime_env_container,manual,multi_gpu,spark_on_ray,ray_client,dask
63+
--except-tags custom_setup
6464
--install-mask all-ray-libraries
6565

6666
- label: ":ray: core: python {{matrix.python}} tests ({{matrix.worker_id}})"
@@ -74,7 +74,7 @@ steps:
7474
--install-mask all-ray-libraries
7575
--workers 4 --worker-id "{{matrix.worker_id}}" --parallelism-per-worker 3
7676
--python-version {{matrix.python}}
77-
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,runtime_env_container,manual,multi_gpu,spark_on_ray,ray_client,dask
77+
--except-tags custom_setup
7878
depends_on: corebuild-multipy
7979
matrix:
8080
setup:
@@ -103,7 +103,7 @@ steps:
103103
--install-mask all-ray-libraries
104104
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
105105
--test-env=TEST_EXTERNAL_REDIS=1
106-
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,runtime_env_container,manual,multi_gpu,spark_on_ray,ray_client,dask
106+
--except-tags custom_setup
107107

108108
- label: ":ray: core: memory pressure tests"
109109
tags:

.buildkite/linux_aarch64.rayci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ steps:
1313
wanda: ci/docker/manylinux.aarch64.wanda.yaml
1414
instance_type: builder-arm64
1515

16+
- name: ray-java-build-aarch64
17+
label: "wanda: java build (aarch64)"
18+
wanda: ci/docker/ray-java.wanda.yaml
19+
tags:
20+
- release_wheels
21+
- oss
22+
env:
23+
ARCH_SUFFIX: "-aarch64"
24+
instance_type: builder-arm64
25+
depends_on: manylinux-aarch64
26+
1627
- name: raycpubase-aarch64
1728
label: "wanda: ray.py{{matrix}}.cpu.base (aarch64)"
1829
tags:

.buildkite/release/build.rayci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ steps:
55
wanda: docker/base-extra-testdeps/cpu.wanda.yaml
66
matrix:
77
- "3.9"
8+
- "3.10"
89
- "3.11"
910
- "3.12"
1011
env:
1112
PYTHON_VERSION: "{{matrix}}"
1213
IMAGE_TYPE: "ray"
13-
REQUIREMENTS_FILE: "requirements_byod_{{matrix}}.txt"
14+
REQUIREMENTS_FILE: "ray_base_extra_testdeps_py{{matrix}}.lock"
1415
depends_on:
1516
- raycpubaseextra
1617

@@ -21,6 +22,7 @@ steps:
2122
setup:
2223
python:
2324
- "3.9"
25+
- "3.10"
2426
- "3.11"
2527
- "3.12"
2628
cuda:
@@ -29,7 +31,7 @@ steps:
2931
PYTHON_VERSION: "{{matrix.python}}"
3032
CUDA_VERSION: "{{matrix.cuda}}"
3133
IMAGE_TYPE: "ray"
32-
REQUIREMENTS_FILE: "requirements_byod_{{matrix.python}}.txt"
34+
REQUIREMENTS_FILE: "ray_base_extra_testdeps_py{{matrix.python}}.lock"
3335
depends_on:
3436
- raycudabaseextra
3537

@@ -57,13 +59,14 @@ steps:
5759
setup:
5860
python:
5961
- "3.9"
62+
- "3.10"
6063
cuda:
6164
- "12.1.1-cudnn8"
6265
env:
6366
PYTHON_VERSION: "{{matrix.python}}"
6467
CUDA_VERSION: "{{matrix.cuda}}"
6568
IMAGE_TYPE: "ray-ml"
66-
REQUIREMENTS_FILE: "requirements_ml_byod_{{matrix.python}}.txt"
69+
REQUIREMENTS_FILE: "ray_ml_base_extra_testdeps_py{{matrix.python}}.lock"
6770
depends_on:
6871
- ray-mlcudabaseextra
6972

@@ -87,6 +90,7 @@ steps:
8790
# This list should be kept in sync with the list of supported Python in
8891
# release test suite. We don't have release tests for Python 3.10 yet.
8992
- "3.9"
93+
- "3.10"
9094
- "3.11"
9195
- "3.12"
9296
platform:
@@ -125,3 +129,4 @@ steps:
125129
# release test suite. We don't have ray-ml release tests for Python 3.10 and 3.11
126130
# yet.
127131
- "3.9"
132+
- "3.10"
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
if [[ ${BUILDKITE_COMMIT} == "HEAD" ]]; then
6+
BUILDKITE_COMMIT="$(git rev-parse HEAD)"
7+
export BUILDKITE_COMMIT
8+
fi
9+
10+
# Get build ID from environment variables
11+
BUILD_ID="${RAYCI_BUILD_ID:-}"
12+
13+
if [[ -z "${BUILD_ID}" ]]; then
14+
if [[ -n "${BUILDKITE_BUILD_ID:-}" ]]; then
15+
# Generate SHA256 hash of BUILDKITE_BUILD_ID and take first 8 chars
16+
BUILD_ID=$(echo -n "${BUILDKITE_BUILD_ID}" | sha256sum | cut -c1-8)
17+
fi
18+
fi
19+
20+
export RAYCI_BUILD_ID="${BUILD_ID}"
21+
echo "RAYCI_BUILD_ID: ${RAYCI_BUILD_ID}"
22+
23+
24+
aws ecr get-login-password --region us-west-2 | \
25+
docker login --username AWS --password-stdin 029272617770.dkr.ecr.us-west-2.amazonaws.com
26+
27+
bash release/gcloud_docker_login.sh release/aws2gce_iam.json
28+
export PATH="${PWD}/google-cloud-sdk/bin:$PATH"
29+
30+
echo "Generate custom build steps"
31+
echo "Downloading Bazel"
32+
curl -sSfLo /tmp/bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64
33+
echo "Making Bazel executable"
34+
chmod +x /tmp/bazel
35+
36+
if [[ "${AUTOMATIC:-0}" == "1" && "${BUILDKITE_BRANCH}" == "master" ]]; then
37+
export REPORT_TO_RAY_TEST_DB=1
38+
fi
39+
40+
RUN_FLAGS=()
41+
42+
if [[ "${AUTOMATIC:-0}" == "0" || "${BUILDKITE_BRANCH}" == "releases/"* ]]; then
43+
RUN_FLAGS+=(--run-jailed-tests)
44+
fi
45+
if [[ "${BUILDKITE_BRANCH}" != "releases/"* ]]; then
46+
RUN_FLAGS+=(--run-unstable-tests)
47+
fi
48+
49+
echo "---- Build test steps"
50+
/tmp/bazel run //release:custom_image_build_and_test_init\
51+
-- "${RUN_FLAGS[@]}" \
52+
--custom-build-jobs-output-file .buildkite/release/custom_build_jobs.rayci.yaml \
53+
--test-jobs-output-file .buildkite/release/release_tests.json \
54+
55+
buildkite-agent pipeline upload .buildkite/release/release_tests.json

.buildkite/release/test.rayci.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.buildkite/rllib.rayci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ steps:
180180
tags:
181181
- rllib_gpu
182182
- gpu
183+
- rllib_flaky
183184
- skip-on-premerge
184185
instance_type: gpu-large
185186
commands:
@@ -196,7 +197,7 @@ steps:
196197
tags:
197198
- rllib_gpu
198199
- gpu
199-
- flaky
200+
- rllib_flaky
200201
- skip-on-premerge
201202
instance_type: gpu
202203
commands:
@@ -212,7 +213,7 @@ steps:
212213
key: rllib_flaky_tests_01
213214
tags:
214215
- rllib
215-
- flaky
216+
- rllib_flaky
216217
- skip-on-premerge
217218
instance_type: large
218219
commands:
@@ -242,7 +243,7 @@ steps:
242243
key: rllib_flaky_tests_02
243244
tags:
244245
- rllib
245-
- flaky
246+
- rllib_flaky
246247
- skip-on-premerge
247248
instance_type: large
248249
commands:

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
# Ray data.
4545
/python/ray/data/ @ray-project/ray-data
4646
/doc/source/data/ @ray-project/ray-data
47+
/python/ray/dashboard/modules/data/ @ray-project/ray-data
4748
/python/ray/dashboard/modules/metrics/dashboards/data_dashboard_panels.py @ray-project/ray-data
4849

4950
# Ray workflows.
@@ -72,6 +73,7 @@
7273
# Ray Serve
7374
/python/ray/serve/ @ray-project/ray-serve
7475
/src/ray/protobuf/serve.proto @ray-project/ray-serve
76+
/python/ray/dashboard/modules/serve/ @ray-project/ray-serve
7577
/doc/source/serve/ @ray-project/ray-serve @ray-project/ray-docs
7678

7779
# ML Docker Dependencies

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## Checks
1414

1515
- [ ] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR.
16-
- [ ] I've run `scripts/format.sh` to lint the changes in this PR.
16+
- [ ] I've run pre-commit jobs to lint the changes in this PR. ([pre-commit setup](https://docs.ray.io/en/latest/ray-contribute/getting-involved.html#lint-and-formatting))
1717
- [ ] I've included any doc changes needed for https://docs.ray.io/en/master/.
1818
- [ ] I've added any new APIs to the API Reference. For example, if I added a
1919
method in Tune, I've added it in `doc/source/tune/api/` under the

.rayciversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.19.0
1+
0.20.0

0 commit comments

Comments
 (0)