Skip to content

Commit 173d860

Browse files
committed
Merge branch 'master' into serve-llm-cross-node-parallelism-docs
Signed-off-by: Nikhil Ghosh <nikhil@anyscale.com>
2 parents 835a18a + 01ad74f commit 173d860

File tree

287 files changed

+5314
-1177
lines changed

Some content is hidden

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

287 files changed

+5314
-1177
lines changed

.buildkite/base.rayci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ steps:
6464
label: "wanda: oss-ci-base_gpu-py{{matrix}}"
6565
wanda: ci/docker/base.gpu.wanda.yaml
6666
matrix:
67+
- "3.10"
6768
- "3.11"
6869
- "3.12"
6970
env:
@@ -93,6 +94,9 @@ steps:
9394
tags: cibase
9495

9596
- name: docgpubuild
97+
label: "wanda: docgpubuild-py3.10"
9698
wanda: ci/docker/docgpu.build.wanda.yaml
97-
depends_on: oss-ci-base_gpu
99+
depends_on: oss-ci-base_gpu-multipy
100+
env:
101+
PYTHON: "3.10"
98102
tags: cibase

.buildkite/build.rayci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ steps:
9797
- raycudabase
9898
- raycpubase
9999
matrix:
100-
- "3.9"
101100
- "3.10"
102101
- "3.11"
103102
- "3.12"
@@ -123,7 +122,6 @@ steps:
123122
- raycpubaseextra
124123
- raycudabaseextra
125124
matrix:
126-
- "3.9"
127125
- "3.10"
128126
- "3.11"
129127
- "3.12"

.buildkite/cicd.rayci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ steps:
77
//ci/ray_ci/... //release/... //ci/pipeline/... ci
88
--only-tags=release_unit,ci_unit
99
--cache-test-results --parallelism-per-worker 2
10-
--build-name oss-ci-base_test
10+
--build-name oss-ci-base_test-py3.10
1111
--build-type skip
1212
instance_type: small
1313
depends_on:
14-
- oss-ci-base_test
14+
- oss-ci-base_test-multipy
1515
- forge
1616
tags: tools
1717
- label: ":coral: reef: raydepsets tests"
@@ -20,30 +20,30 @@ steps:
2020
- bazel run //ci/ray_ci:test_in_docker --
2121
//ci/raydepsets/... ci
2222
--cache-test-results
23-
--build-name oss-ci-base_test
23+
--build-name oss-ci-base_test-py3.10
2424
--build-type skip
2525
instance_type: small
2626
depends_on:
27-
- oss-ci-base_test
27+
- oss-ci-base_test-multipy
2828
- forge
2929
tags: tools
3030
- label: ":coral: reef: privileged container tests"
3131
commands:
3232
- bazel run //ci/ray_ci:test_in_docker --
3333
//ci/ray_ci:test_privileged ci
3434
--cache-test-results
35-
--build-name oss-ci-base_test
35+
--build-name oss-ci-base_test-py3.10
3636
--build-type cgroup
3737
--privileged
3838
instance_type: small
3939
depends_on:
40-
- oss-ci-base_test
40+
- oss-ci-base_test-multipy
4141
- forge
4242
tags: tools
4343
- label: ":coral: reef: iwyu tests"
4444
commands:
4545
- bazel test --config iwyu //bazel/tests/cpp:example_test
4646
instance_type: small
47-
depends_on: oss-ci-base_build
48-
job_env: oss-ci-base_build
47+
depends_on: oss-ci-base_build-multipy
48+
job_env: oss-ci-base_build-py3.10
4949
tags: tools

.buildkite/data.rayci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,17 @@ steps:
217217
commands:
218218
# doc tests
219219
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/data/... //doc/... data
220-
--build-name docgpubuild
220+
--build-name docgpubuild-py3.10
221221
--only-tags doctest
222222
--except-tags cpu
223+
--python-version 3.10
223224
# doc examples
224225
- bazel run //ci/ray_ci:test_in_docker -- //doc/... data
225-
--build-name docgpubuild
226+
--build-name docgpubuild-py3.10
226227
--except-tags doctest
227228
--only-tags gpu
228229
--skip-ray-installation
230+
--python-version 3.10
229231
depends_on: docgpubuild
230232

231233
- label: ":database: data: integration tests"
@@ -279,8 +281,9 @@ steps:
279281
soft_fail: true
280282
commands:
281283
- bazel run //ci/ray_ci:test_in_docker -- //... data --run-flaky-tests
282-
--build-name docgpubuild
284+
--build-name docgpubuild-py3.10
283285
--only-tags gpu,gpu_only
286+
--python-version 3.10
284287
depends_on: docgpubuild
285288
- label: ":data: postmerge authenticated tests"
286289
key: data_postmerge_authenticated_tests

.buildkite/ml.rayci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ depends_on:
66
steps:
77
# builds
88
- name: minbuild-ml
9-
label: "wanda: minbuild-ml-py39"
9+
label: "wanda: minbuild-ml-py{{matrix}}"
1010
wanda: ci/docker/min.build.wanda.yaml
1111
depends_on: oss-ci-base_build
12+
matrix:
13+
- "3.9"
14+
- "3.10"
1215
env:
13-
PYTHON_VERSION: "3.9"
16+
PYTHON_VERSION: "{{matrix}}"
1417
EXTRA_DEPENDENCY: ml
1518
tags: cibase
1619

.buildkite/release-automation/verify-macos-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -x
77
# TODO(#54047): Python 3.13 is skipped due to the bug
88
# we should re-enable it when the bug is fixed.
99

10-
PYTHON_VERSIONS=("3.9" "3.10" "3.11" "3.12")
10+
PYTHON_VERSIONS=("3.10" "3.11" "3.12")
1111
BAZELISK_VERSION="v1.16.0"
1212

1313
export USE_BAZEL_VERSION="${USE_BAZEL_VERSION:-6.5.0}"

.buildkite/release-automation/wheels.rayci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ steps:
3535
- export RAY_COMMIT="$RAY_COMMIT"
3636
- bash -i .buildkite/release-automation/verify-linux-wheels.sh
3737
matrix:
38-
- "3.9"
3938
- "3.10"
4039
- "3.11"
4140
- "3.12"
@@ -58,7 +57,6 @@ steps:
5857
- export RAY_COMMIT="$RAY_COMMIT"
5958
- bash -i .buildkite/release-automation/verify-linux-wheels.sh
6059
matrix:
61-
- "3.9"
6260
- "3.10"
6361
- "3.11"
6462
- "3.12"

.buildkite/serve.rayci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ steps:
214214
instance_type: gpu
215215
commands:
216216
- bazel run //ci/ray_ci:test_in_docker -- //doc/... serve
217-
--build-name docgpubuild
218-
--only-tags gpu
217+
--build-name docgpubuild-py3.10
218+
--only-tags gpu --python-version 3.10
219219
depends_on: docgpubuild
220220

221221
- label: ":ray-serve: serve: flaky tests"

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ repos:
214214
- id: vale
215215
files: ^doc/source/data/.*\.(md|rst)$
216216

217+
- repo: https://github.com/MarcoGorelli/cython-lint
218+
rev: v0.18.1
219+
hooks:
220+
- id: cython-lint
221+
args: [--no-pycodestyle]
222+
217223
- repo: local
218224
hooks:
219225
- id: check-import-order

BUILD.bazel

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@
99
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
1010
load("@com_github_grpc_grpc//bazel:cython_library.bzl", "pyx_library")
1111
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
12-
load("@python3_9//:defs.bzl", python39 = "interpreter")
1312
load("@rules_cc//cc:defs.bzl", "cc_proto_library")
1413
load("@rules_pkg//pkg:mappings.bzl", "pkg_attributes", "pkg_files")
1514
load("@rules_pkg//pkg:zip.bzl", "pkg_zip")
1615
load("@rules_proto//proto:defs.bzl", "proto_library")
17-
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_runtime", "py_runtime_pair")
16+
load("@rules_python//python:defs.bzl", "py_binary", "py_library")
1817
load("//bazel:ray.bzl", "COPTS", "PYX_COPTS", "PYX_SRCS", "ray_cc_library")
1918

2019
package(
@@ -23,34 +22,13 @@ package(
2322

2423
# Hermetic python environment, currently only used for CI infra and scripts.
2524

26-
py_runtime(
27-
name = "python3_runtime",
28-
interpreter = python39,
29-
python_version = "PY3",
30-
visibility = ["//visibility:private"],
31-
)
32-
33-
py_runtime_pair(
34-
name = "python_runtime_pair",
35-
py2_runtime = None,
36-
py3_runtime = ":python3_runtime",
37-
visibility = ["//visibility:private"],
38-
)
39-
4025
constraint_setting(name = "hermetic")
4126

4227
constraint_value(
4328
name = "hermetic_python",
4429
constraint_setting = ":hermetic",
4530
)
4631

47-
toolchain(
48-
name = "python_toolchain",
49-
exec_compatible_with = [":hermetic_python"],
50-
toolchain = ":python_runtime_pair",
51-
toolchain_type = "@bazel_tools//tools/python:toolchain_type",
52-
)
53-
5432
platform(
5533
name = "hermetic_python_platform",
5634
constraint_values = [":hermetic_python"],

0 commit comments

Comments
 (0)