Skip to content

Commit ff08026

Browse files
Merge branch 'master' of https://github.com/ray-project/ray
2 parents 6084c75 + 644fdc9 commit ff08026

File tree

451 files changed

+30130
-20283
lines changed

Some content is hidden

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

451 files changed

+30130
-20283
lines changed

.buildkite/_images.rayci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ steps:
5454
- "12.5.1-cudnn"
5555
- "12.6.3-cudnn"
5656
- "12.8.1-cudnn"
57+
- "12.9.1-cudnn"
5758
env:
5859
PYTHON_VERSION: "{{matrix.python}}"
5960
CUDA_VERSION: "{{matrix.cuda}}"
@@ -79,6 +80,7 @@ steps:
7980
- "12.5.1-cudnn"
8081
- "12.6.3-cudnn"
8182
- "12.8.1-cudnn"
83+
- "12.9.1-cudnn"
8284
env:
8385
PYTHON_VERSION: "{{matrix.python}}"
8486
CUDA_VERSION: "{{matrix.cuda}}"

.buildkite/build.rayci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ steps:
7777
--platform cu12.1.1-cudnn8 --platform cu12.3.2-cudnn9
7878
--platform cu12.4.1-cudnn --platform cu12.5.1-cudnn
7979
--platform cu12.6.3-cudnn --platform cu12.8.1-cudnn
80+
--platform cu12.9.1-cudnn
8081
--platform cpu
8182
--image-type ray --upload
8283
depends_on:

.buildkite/core.rayci.yml

Lines changed: 72 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,37 @@ depends_on:
66
- ray-dashboard-build
77
steps:
88
# builds
9-
- name: corebuild
10-
wanda: ci/docker/core.build.py39.wanda.yaml
11-
tags: cibase
12-
env:
13-
IMAGE_FROM: cr.ray.io/rayproject/oss-ci-base_build
14-
IMAGE_TO: corebuild
15-
RAYCI_IS_GPU_BUILD: "false"
16-
17-
- name: coregpubuild
18-
wanda: ci/docker/core.build.py39.wanda.yaml
19-
tags: cibase
20-
depends_on: oss-ci-base_gpu
21-
env:
22-
IMAGE_FROM: cr.ray.io/rayproject/oss-ci-base_gpu
23-
IMAGE_TO: coregpubuild
24-
RAYCI_IS_GPU_BUILD: "true"
25-
269
- name: corebuild-multipy
2710
label: "wanda: corebuild-py{{matrix}}"
2811
wanda: ci/docker/core.build.wanda.yaml
2912
tags: cibase
3013
matrix:
14+
- "3.10"
3115
- "3.12"
3216
env:
17+
IMAGE_FROM: cr.ray.io/rayproject/oss-ci-base_build-py{{matrix}}
18+
IMAGE_TO: corebuild-py{{matrix}}
3319
PYTHON: "{{matrix}}"
3420
depends_on: oss-ci-base_build-multipy
3521

22+
- name: coregpubuild-multipy
23+
label: "wanda: coregpubuild-py{{matrix}}"
24+
wanda: ci/docker/core.build.wanda.yaml
25+
tags: cibase
26+
depends_on: oss-ci-base_gpu-multipy
27+
env:
28+
IMAGE_FROM: cr.ray.io/rayproject/oss-ci-base_gpu-py{{matrix}}
29+
IMAGE_TO: coregpubuild-py{{matrix}}
30+
RAYCI_IS_GPU_BUILD: "true"
31+
PYTHON: "{{matrix}}"
32+
matrix:
33+
- "3.10"
34+
3635
- name: minbuild-core
3736
label: "wanda: minbuild-core-py{{matrix}}"
3837
wanda: ci/docker/min.build.wanda.yaml
3938
tags: cibase
4039
matrix:
41-
- "3.9"
4240
- "3.10"
4341
- "3.11"
4442
- "3.12"
@@ -49,7 +47,7 @@ steps:
4947

5048
- wait: ~
5149
depends_on:
52-
- corebuild
50+
- corebuild-multipy
5351

5452
# tests
5553
- label: ":ray: core: python tests"
@@ -62,7 +60,8 @@ steps:
6260
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... //python/ray/_common/tests/... //python/ray/dag/... //python/ray/autoscaler/v2/... core
6361
--install-mask all-ray-libraries
6462
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
65-
--except-tags custom_setup,cgroup
63+
--python-version 3.10 --build-name corebuild-py3.10
64+
--except-tags custom_setup
6665
--install-mask all-ray-libraries
6766

6867
- label: ":ray: core: python {{matrix.python}} tests ({{matrix.worker_id}})"
@@ -75,8 +74,8 @@ steps:
7574
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... //python/ray/dag/... //python/ray/autoscaler/v2/... core
7675
--install-mask all-ray-libraries
7776
--workers 4 --worker-id "{{matrix.worker_id}}" --parallelism-per-worker 3
78-
--python-version {{matrix.python}}
79-
--except-tags custom_setup,cgroup
77+
--python-version {{matrix.python}} --build-name corebuild-py{{matrix.python}}
78+
--except-tags custom_setup
8079
depends_on: corebuild-multipy
8180
matrix:
8281
setup:
@@ -91,6 +90,7 @@ steps:
9190
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
9291
--install-mask all-ray-libraries
9392
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
93+
--python-version 3.10 --build-name corebuild-py3.10
9494
--only-tags ray_client
9595

9696
- label: ":ray: core: redis tests"
@@ -105,7 +105,8 @@ steps:
105105
--install-mask all-ray-libraries
106106
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
107107
--test-env=TEST_EXTERNAL_REDIS=1
108-
--except-tags custom_setup,cgroup
108+
--except-tags custom_setup
109+
--python-version 3.10 --build-name corebuild-py3.10
109110

110111
- label: ":ray: core: memory pressure tests"
111112
tags:
@@ -119,7 +120,7 @@ steps:
119120
- pip install -e python[client]
120121
- bazel test --config=ci --jobs=1 $(./ci/run/bazel_export_options)
121122
--test_tag_filters=mem_pressure -- //python/ray/tests/...
122-
job_env: corebuild
123+
job_env: corebuild-py3.10
123124

124125
- label: ":ray: core: out of disk tests"
125126
tags:
@@ -128,6 +129,7 @@ steps:
128129
instance_type: small
129130
commands:
130131
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
132+
--python-version 3.10 --build-name corebuild-py3.10
131133
--only-tags=tmpfs --tmp-filesystem=tmpfs
132134

133135
- label: ":ray: core: out of disk redis tests"
@@ -140,6 +142,7 @@ steps:
140142
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
141143
--test-env=TEST_EXTERNAL_REDIS=1
142144
--only-tags=tmpfs --tmp-filesystem=tmpfs
145+
--python-version 3.10 --build-name corebuild-py3.10
143146

144147
- label: ":ray: core: doc tests"
145148
tags:
@@ -150,17 +153,20 @@ steps:
150153
# doc tests
151154
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/... //doc/... core
152155
--only-tags doctest
156+
--python-version 3.10 --build-name corebuild-py3.10
153157
--parallelism-per-worker 3
154158
# doc examples
155159
- bazel run //ci/ray_ci:test_in_docker -- //doc/... core
156160
--install-mask all-ray-libraries
157161
--except-tags doctest,post_wheel_build,gpu,multi_gpu,mem_pressure
158162
--parallelism-per-worker 3
163+
--python-version 3.10 --build-name corebuild-py3.10
159164
--skip-ray-installation
160165
# doc memory pressure example
161166
- bazel run //ci/ray_ci:test_in_docker -- //doc/... core
162167
--only-tags mem_pressure
163168
--except-tags gpu
169+
--python-version 3.10 --build-name corebuild-py3.10
164170
--skip-ray-installation
165171

166172
- label: ":ray: core: dask tests"
@@ -199,9 +205,10 @@ steps:
199205
commands:
200206
- bazel run //ci/ray_ci:test_in_docker -- python/ray/dashboard/... core
201207
--parallelism-per-worker 3
208+
--python-version 3.10 --build-name corebuild-py3.10
202209
# ui tests
203210
- docker run -i --rm --volume /tmp/artifacts:/artifact-mount --shm-size=2.5gb
204-
"$${RAYCI_WORK_REPO}":"$${RAYCI_BUILD_ID}"-corebuild /bin/bash -iecuo pipefail
211+
"$${RAYCI_WORK_REPO}":"$${RAYCI_BUILD_ID}"-corebuild-py3.10 /bin/bash -iecuo pipefail
205212
"./python/ray/dashboard/tests/run_ui_tests.sh"
206213

207214
- label: ":ray: core: debug tests"
@@ -214,6 +221,7 @@ steps:
214221
--install-mask all-ray-libraries
215222
--build-type debug
216223
--parallelism-per-worker 3
224+
--python-version 3.10 --build-name corebuild-py3.10
217225
--only-tags debug_tests
218226
--except-tags kubernetes,manual
219227

@@ -227,22 +235,25 @@ steps:
227235
--install-mask all-ray-libraries
228236
--build-type asan
229237
--parallelism-per-worker 2
238+
--python-version 3.10 --build-name corebuild-py3.10
230239
--only-tags asan_tests
231240
--except-tags kubernetes,manual
232241

233242
- label: ":ray: core: wheel tests"
243+
key: core-wheel-tests
234244
tags: linux_wheels
235245
instance_type: large
236246
commands:
237247
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... //doc/... core
238248
--install-mask all-ray-libraries
239249
--build-type wheel
240250
--parallelism-per-worker 3
251+
--python-version 3.10 --build-name corebuild-py3.10
241252
--only-tags post_wheel_build
242253
--test-env=RAY_CI_POST_WHEEL_TESTS=True
243254
depends_on:
244255
- manylinux
245-
- corebuild
256+
- corebuild-multipy
246257
- forge
247258

248259
- label: ":ray: core: minimal tests {{matrix}}"
@@ -262,6 +273,7 @@ steps:
262273
--test-env=RAY_MINIMAL=1
263274
--test-env=EXPECTED_PYTHON_VERSION={{matrix}}
264275
--only-tags minimal
276+
--python-version {{matrix}}
265277
--except-tags basic_test,manual,cgroup
266278
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... //python/ray/dashboard/... core
267279
--parallelism-per-worker 3
@@ -294,7 +306,6 @@ steps:
294306
depends_on:
295307
- minbuild-core
296308
matrix:
297-
- "3.9"
298309
- "3.10"
299310
- "3.11"
300311
- "3.12"
@@ -304,17 +315,25 @@ steps:
304315
tags: core_cpp
305316
instance_type: medium
306317
commands:
307-
- bazel run //ci/ray_ci:test_in_docker -- //:all //python/ray/tests/resource_isolation:test_resource_isolation_integration //python/ray/tests/resource_isolation:test_resource_isolation_config core --privileged --cache-test-results
308-
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/ray/common/cgroup2/tests/... core --build-type clang --cache-test-results
318+
- bazel run //ci/ray_ci:test_in_docker -- //:all
319+
//python/ray/tests/resource_isolation:test_resource_isolation_integration
320+
//python/ray/tests/resource_isolation:test_resource_isolation_config core
321+
--privileged --cache-test-results
322+
--python-version 3.10 --build-name corebuild-py3.10
323+
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/ray/common/cgroup2/tests/... core
324+
--build-type clang --cache-test-results
325+
--python-version 3.10 --build-name corebuild-py3.10
309326
- docker run --privileged -i --rm --volume /tmp/artifacts:/artifact-mount --shm-size=2.5gb
310-
"$${RAYCI_WORK_REPO}":"$${RAYCI_BUILD_ID}"-corebuild /bin/bash
327+
"$${RAYCI_WORK_REPO}":"$${RAYCI_BUILD_ID}"-corebuild-py3.10 /bin/bash
311328
"./src/ray/common/cgroup2/integration_tests/sysfs_cgroup_driver_integration_test_entrypoint.sh"
312329

313330
- label: ":ray: core: cpp tests"
314331
tags: core_cpp
315332
instance_type: medium
316333
commands:
317-
- RAYCI_DISABLE_TEST_DB=1 bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --except-tags=cgroup --build-type clang
334+
- RAYCI_DISABLE_TEST_DB=1 bazel run //ci/ray_ci:test_in_docker --
335+
//:all //src/... core --except-tags=cgroup --build-type clang
336+
--python-version 3.10 --build-name corebuild-py3.10
318337
--cache-test-results --parallelism-per-worker 2
319338

320339
# block on premerge and microcheck
@@ -329,31 +348,34 @@ steps:
329348
commands:
330349
- RAYCI_DISABLE_TEST_DB=1 bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --except-tags=cgroup
331350
--build-type asan-clang --cache-test-results --parallelism-per-worker 2
351+
--python-version 3.10 --build-name corebuild-py3.10
332352
depends_on:
333353
- block-core-cpp-sanitizer-tests
334-
- corebuild
354+
- corebuild-multipy
335355

336356
- label: ":ray: core: cpp ubsan tests"
337357
tags: core_cpp
338358
instance_type: large
339359
commands:
340360
- RAYCI_DISABLE_TEST_DB=1 bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core
361+
--python-version 3.10 --build-name corebuild-py3.10
341362
--build-type ubsan --except-tags no_ubsan,cgroup
342363
--cache-test-results --parallelism-per-worker 2
343364
depends_on:
344365
- block-core-cpp-sanitizer-tests
345-
- corebuild
366+
- corebuild-multipy
346367

347368
- label: ":ray: core: cpp tsan tests"
348369
tags: core_cpp
349370
instance_type: medium
350371
commands:
351372
- RAYCI_DISABLE_TEST_DB=1 bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core
373+
--python-version 3.10 --build-name corebuild-py3.10
352374
--build-type tsan-clang --except-tags no_tsan,cgroup
353375
--cache-test-results --parallelism-per-worker 2
354376
depends_on:
355377
- block-core-cpp-sanitizer-tests
356-
- corebuild
378+
- corebuild-multipy
357379

358380
- label: ":ray: core: flaky tests"
359381
key: core_flaky_tests
@@ -365,11 +387,12 @@ steps:
365387
soft_fail: true
366388
commands:
367389
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/... //doc/... core
390+
--python-version 3.10 --build-name corebuild-py3.10
368391
--install-mask all-ray-libraries
369392
--run-flaky-tests
370393
--except-tags multi_gpu,cgroup
371394
depends_on:
372-
- corebuild
395+
- corebuild-multipy
373396

374397
- label: ":ray: core: flaky gpu tests"
375398
key: core_flaky_gpu_tests
@@ -384,9 +407,10 @@ steps:
384407
--install-mask all-ray-libraries
385408
--run-flaky-tests
386409
--gpus 4
387-
--build-name coregpubuild
410+
--build-name coregpubuild-py3.10
411+
--python-version 3.10
388412
--only-tags multi_gpu
389-
depends_on: coregpubuild
413+
depends_on: coregpubuild-multipy
390414

391415
- label: ":ray: core: cpp worker tests"
392416
tags:
@@ -412,9 +436,10 @@ steps:
412436
instance_type: medium
413437
commands:
414438
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
439+
--python-version 3.10 --build-name corebuild-py3.10
415440
--build-type java
416441
--only-tags needs_java
417-
depends_on: corebuild
442+
depends_on: corebuild-multipy
418443

419444
- label: ":ray: core: HA integration tests"
420445
tags:
@@ -424,11 +449,12 @@ steps:
424449
commands:
425450
- bazel run //ci/ray_ci:build_in_docker -- docker --platform cpu --canonical-tag ha_integration
426451
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core --only-tags ha_integration
452+
--python-version 3.10 --build-name corebuild-py3.10
427453
depends_on:
428454
- manylinux
429455
- forge
430456
- raycpubase
431-
- corebuild
457+
- corebuild-multipy
432458

433459
- label: ":ray: core: runtime env container tests"
434460
tags:
@@ -443,13 +469,14 @@ steps:
443469
-t rayproject/ray:runtime_env_container -f ci/docker/runtime_env_container/Dockerfile .
444470
# Disable test DB, these tests will never succeed if run in the flaky step.
445471
- RAYCI_DISABLE_TEST_DB=1 bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
472+
--python-version 3.10 --build-name corebuild-py3.10
446473
--install-mask all-ray-libraries
447474
--only-tags runtime_env_container
448475
depends_on:
449476
- manylinux
450477
- forge
451478
- raycpubase
452-
- corebuild
479+
- corebuild-multipy
453480

454481
- label: ":core: core: spark-on-ray tests"
455482
# NOTE: The Spark-on-Ray tests intentionally aren't triggered by the `java` tag to
@@ -464,8 +491,9 @@ steps:
464491
--test-env=RAY_ON_SPARK_BACKGROUND_JOB_STARTUP_WAIT=1
465492
--test-env=RAY_ON_SPARK_RAY_WORKER_NODE_STARTUP_INTERVAL=5
466493
--only-tags spark_on_ray
494+
--python-version 3.10 --build-name corebuild-py3.10
467495
depends_on:
468-
- corebuild
496+
- corebuild-multipy
469497

470498
# block gpu tests on premerge and microcheck
471499
- block: "run multi gpu tests"
@@ -483,9 +511,10 @@ steps:
483511
commands:
484512
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... //python/ray/dag/... //doc/... core
485513
--gpus 4
486-
--build-name coregpubuild
514+
--build-name coregpubuild-py3.10
515+
--python-version 3.10
487516
--only-tags multi_gpu
488517
--install-mask all-ray-libraries
489518
depends_on:
490519
- block-core-gpu-tests
491-
- coregpubuild
520+
- coregpubuild-multipy

0 commit comments

Comments
 (0)