Skip to content

Commit 74f673c

Browse files
committed
merge master into branch
2 parents fd36dfb + 12348ce commit 74f673c

File tree

1,337 files changed

+43668
-24864
lines changed

Some content is hidden

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

1,337 files changed

+43668
-24864
lines changed

.bazelrc

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
# Must be first. Enables build:windows, build:linux, build:macos, build:freebsd, build:openbsd
22
build --enable_platform_specific_config
33

4-
build:linux --workspace_status_command="bash ./bazel/workspace_status.sh"
5-
6-
# Provides users an option to turn on strict action env.
7-
# TODO(aslonnie): make this default, fix the python tests.
8-
# NOTE(edoakes): enable this by default locally by adding a .user.bazelrc file with:
9-
# build --config=strict
10-
# test --config=strict
4+
build --incompatible_strict_action_env
115
build:strict --incompatible_strict_action_env
126

7+
build:linux --workspace_status_command="bash ./bazel/workspace_status.sh"
8+
139
# To distinguish different incompatible environments.
1410
build --action_env=RAY_BUILD_ENV
1511

@@ -84,8 +80,6 @@ build:iwyu --output_groups=report
8480
build:windows --attempt_to_print_relative_paths
8581
# Save disk space by hardlinking cache hits instead of copying
8682
build:windows --experimental_repository_cache_hardlinks
87-
# Clean the environment before building, to make builds more deterministic
88-
build:windows --incompatible_strict_action_env
8983
# For colored output (seems necessary on Windows)
9084
build:windows --color=yes
9185
# For compiler colored output (seems necessary on Windows)
@@ -168,6 +162,18 @@ test:ci-base --test_output=errors
168162
test:ci-base --test_verbose_timeout_warnings
169163
test:ci-base --flaky_test_attempts=3
170164

165+
# Sending in PATH is required for tests to run on CI, after we enable
166+
# --incompatible_strict_action_env, until we either convert all Python tests to
167+
# hermetic tests -- which not only requires pinning all Python dependencies with bazel,
168+
# but also requires building ray(test) wheel with bazel. Alternatively, we can
169+
# also stop using bazel test to run ray's Python tests.
170+
#
171+
# This PATH test_env is intentionally not enabled on non-CI so that C/C++
172+
# tests, which are all hermetic, can build, test and cache as intended, ray
173+
# Python developers do not really use bazel test to run tests locally, but more
174+
# often just run tests with "pytest" directly.
175+
test:ci-base --test_env=PATH
176+
171177
build:ci --color=yes
172178
build:ci --curses=no
173179
build:ci --keep_going

.buildkite/_forge.rayci.yml

Lines changed: 1 addition & 179 deletions
Original file line numberDiff line numberDiff line change
@@ -1,186 +1,8 @@
11
group: forge
2+
sort_key: "_forge"
23
steps:
34
- name: forge
45
wanda: ci/docker/forge.wanda.yaml
56

67
- name: manylinux
78
wanda: ci/docker/manylinux.wanda.yaml
8-
9-
- name: raycpubase
10-
label: "wanda: ray.py{{matrix}}.cpu.base"
11-
tags:
12-
- python_dependencies
13-
- docker
14-
wanda: ci/docker/ray.cpu.base.wanda.yaml
15-
matrix:
16-
- "3.9"
17-
- "3.10"
18-
- "3.11"
19-
- "3.12"
20-
env:
21-
PYTHON_VERSION: "{{matrix}}"
22-
ARCH_SUFFIX: ""
23-
24-
- name: raycpubaseextra
25-
label: "wanda: ray.py{{matrix}}.cpu.base-extra"
26-
wanda: ci/docker/ray.cpu.base-extra.wanda.yaml
27-
matrix:
28-
- "3.9"
29-
- "3.10"
30-
- "3.11"
31-
- "3.12"
32-
env:
33-
PYTHON_VERSION: "{{matrix}}"
34-
IMAGE_TYPE: "ray"
35-
ARCH_SUFFIX: ""
36-
depends_on: raycpubase
37-
38-
- name: raycudabase
39-
label: "wanda: ray.py{{matrix.python}}.cu{{matrix.cuda}}.base"
40-
tags:
41-
- python_dependencies
42-
- docker
43-
wanda: ci/docker/ray.cuda.base.wanda.yaml
44-
matrix:
45-
setup:
46-
python:
47-
- "3.9"
48-
- "3.10"
49-
- "3.11"
50-
- "3.12"
51-
cuda:
52-
- "11.7.1-cudnn8"
53-
- "11.8.0-cudnn8"
54-
- "12.1.1-cudnn8"
55-
- "12.3.2-cudnn9"
56-
- "12.4.1-cudnn"
57-
- "12.5.1-cudnn"
58-
- "12.6.3-cudnn"
59-
- "12.8.1-cudnn"
60-
env:
61-
PYTHON_VERSION: "{{matrix.python}}"
62-
CUDA_VERSION: "{{matrix.cuda}}"
63-
ARCH_SUFFIX: ""
64-
65-
- name: raycudabaseextra
66-
label: "wanda: ray.py{{matrix.python}}.cu{{matrix.cuda}}.base-extra"
67-
wanda: ci/docker/ray.cuda.base-extra.wanda.yaml
68-
matrix:
69-
setup:
70-
python:
71-
- "3.9"
72-
- "3.10"
73-
- "3.11"
74-
- "3.12"
75-
cuda:
76-
- "11.7.1-cudnn8"
77-
- "11.8.0-cudnn8"
78-
- "12.1.1-cudnn8"
79-
- "12.3.2-cudnn9"
80-
- "12.4.1-cudnn"
81-
- "12.5.1-cudnn"
82-
- "12.6.3-cudnn"
83-
- "12.8.1-cudnn"
84-
env:
85-
PYTHON_VERSION: "{{matrix.python}}"
86-
CUDA_VERSION: "{{matrix.cuda}}"
87-
IMAGE_TYPE: "ray"
88-
ARCH_SUFFIX: ""
89-
depends_on: raycudabase
90-
91-
- name: ray-llmbase
92-
label: "wanda: ray-llm.py{{matrix.python}}.cu{{matrix.cuda}}.base"
93-
tags:
94-
- python_dependencies
95-
- docker
96-
wanda: ci/docker/ray-llm.base.wanda.yaml
97-
depends_on: raycudabase
98-
matrix:
99-
setup:
100-
python:
101-
- "3.11"
102-
cuda:
103-
- "12.8.1-cudnn"
104-
env:
105-
PYTHON_VERSION: "{{matrix.python}}"
106-
CUDA_VERSION: "{{matrix.cuda}}"
107-
108-
- name: ray-llmbaseextra
109-
label: "wanda: ray-llm.py{{matrix.python}}.cu{{matrix.cuda}}.base-extra"
110-
wanda: ci/docker/ray.cuda.base-extra.wanda.yaml
111-
matrix:
112-
setup:
113-
python:
114-
- "3.11"
115-
cuda:
116-
- "12.8.1-cudnn"
117-
env:
118-
PYTHON_VERSION: "{{matrix.python}}"
119-
CUDA_VERSION: "{{matrix.cuda}}"
120-
IMAGE_TYPE: "ray-llm"
121-
ARCH_SUFFIX: ""
122-
depends_on: ray-llmbase
123-
124-
- name: ray-mlcudabase
125-
label: "wanda: ray-ml.py{{matrix.python}}.cu{{matrix.cuda}}.base"
126-
tags:
127-
- python_dependencies
128-
- docker
129-
wanda: ci/docker/ray-ml.cuda.base.wanda.yaml
130-
depends_on: raycudabase
131-
matrix:
132-
setup:
133-
python:
134-
- "3.9"
135-
- "3.10"
136-
- "3.11"
137-
cuda:
138-
- "12.1.1-cudnn8"
139-
env:
140-
PYTHON_VERSION: "{{matrix.python}}"
141-
CUDA_VERSION: "{{matrix.cuda}}"
142-
143-
- name: ray-mlcudabaseextra
144-
label: "wanda: ray-ml.py{{matrix.python}}.cu{{matrix.cuda}}.base-extra"
145-
wanda: ci/docker/ray.cuda.base-extra.wanda.yaml
146-
matrix:
147-
setup:
148-
python:
149-
- "3.9"
150-
- "3.10"
151-
- "3.11"
152-
cuda:
153-
- "12.1.1-cudnn8"
154-
env:
155-
PYTHON_VERSION: "{{matrix.python}}"
156-
CUDA_VERSION: "{{matrix.cuda}}"
157-
IMAGE_TYPE: "ray-ml"
158-
ARCH_SUFFIX: ""
159-
depends_on: ray-mlcudabase
160-
161-
- name: ray-mlcpubase
162-
label: "wanda: ray-ml.py{{matrix}}.cpu.base"
163-
tags:
164-
- python_dependencies
165-
- docker
166-
wanda: ci/docker/ray-ml.cpu.base.wanda.yaml
167-
depends_on: raycpubase
168-
matrix:
169-
- "3.9"
170-
- "3.10"
171-
- "3.11"
172-
env:
173-
PYTHON_VERSION: "{{matrix}}"
174-
175-
- name: ray-mlcpubaseextra
176-
label: "wanda: ray-ml.py{{matrix}}.cpu.base-extra"
177-
wanda: ci/docker/ray.cpu.base-extra.wanda.yaml
178-
matrix:
179-
- "3.9"
180-
- "3.10"
181-
- "3.11"
182-
env:
183-
PYTHON_VERSION: "{{matrix}}"
184-
IMAGE_TYPE: "ray-ml"
185-
ARCH_SUFFIX: ""
186-
depends_on: ray-mlcpubase

0 commit comments

Comments
 (0)