@@ -133,91 +133,261 @@ steps:
133133 depends_on : manylinux-x86_64
134134 job_env : manylinux-x86_64
135135
136- - label : " :tapioca: build: ray py{{matrix}} docker (x86_64)"
137- key : ray_images
136+ - name : ray-image-cpu-build
137+ label : " wanda: ray py{{matrix}} cpu (x86_64)"
138+ wanda : ci/docker/ray-image-cpu.wanda.yaml
139+ matrix :
140+ - " 3.10"
141+ - " 3.11"
142+ - " 3.12"
143+ - " 3.13"
144+ env_file : rayci.env
145+ env :
146+ PYTHON_VERSION : " {{matrix}}"
147+ ARCH_SUFFIX : " "
138148 tags :
139149 - python_dependencies
140150 - docker
141151 - oss
142- instance_type : medium
143- commands :
144- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
145- --platform cu11.7.1-cudnn8 --platform cu11.8.0-cudnn8
146- --platform cu12.1.1-cudnn8 --platform cu12.3.2-cudnn9
147- --platform cu12.4.1-cudnn --platform cu12.5.1-cudnn
148- --platform cu12.6.3-cudnn --platform cu12.8.1-cudnn
149- --platform cu12.9.1-cudnn
150- --platform cpu
151- --image-type ray --upload
152152 depends_on :
153- - manylinux-x86_64
154- - forge
155- - raycudabase
153+ - ray-wheel-build
156154 - raycpubase
155+
156+ - name : ray-image-cuda-build
157+ label : " wanda: ray py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
158+ wanda : ci/docker/ray-image-cuda.wanda.yaml
159+ matrix :
160+ setup :
161+ python :
162+ - " 3.10"
163+ - " 3.11"
164+ - " 3.12"
165+ - " 3.13"
166+ cuda :
167+ - " 11.7.1-cudnn8"
168+ - " 11.8.0-cudnn8"
169+ - " 12.1.1-cudnn8"
170+ - " 12.3.2-cudnn9"
171+ - " 12.4.1-cudnn"
172+ - " 12.5.1-cudnn"
173+ - " 12.6.3-cudnn"
174+ - " 12.8.1-cudnn"
175+ - " 12.9.1-cudnn"
176+ env_file : rayci.env
177+ env :
178+ PYTHON_VERSION : " {{matrix.python}}"
179+ CUDA_VERSION : " {{matrix.cuda}}"
180+ ARCH_SUFFIX : " "
181+ tags :
182+ - python_dependencies
183+ - docker
184+ - oss
185+ depends_on :
186+ - ray-wheel-build
187+ - raycudabase
188+
189+ - label : " :crane: publish: ray py{{matrix}} (x86_64)"
190+ key : ray_images_push
191+ instance_type : small
192+ commands :
193+ - bazel run //.buildkite:copy_files -- --destination docker_login
194+ - bazel run //ci/ray_ci/automation:push_ray_image --
195+ --python-version {{matrix}}
196+ --platform cpu
197+ --platform cu11.7.1-cudnn8
198+ --platform cu11.8.0-cudnn8
199+ --platform cu12.1.1-cudnn8
200+ --platform cu12.3.2-cudnn9
201+ --platform cu12.4.1-cudnn
202+ --platform cu12.5.1-cudnn
203+ --platform cu12.6.3-cudnn
204+ --platform cu12.8.1-cudnn
205+ --platform cu12.9.1-cudnn
206+ --image-type ray
207+ --architecture x86_64
157208 matrix :
158209 - " 3.10"
159210 - " 3.11"
160211 - " 3.12"
161212 - " 3.13"
213+ depends_on :
214+ - ray-image-cpu-build
215+ - ray-image-cuda-build
216+ tags :
217+ - python_dependencies
218+ - docker
219+ - oss
220+ - skip-on-premerge
162221
163- - label : " :tapioca: build: ray-extra py{{matrix}} docker (x86_64)"
164- key : ray_extra_images
222+ - name : ray-extra-image-cpu-build
223+ label : " wanda: ray-extra py{{matrix}} cpu (x86_64)"
224+ wanda : ci/docker/ray-extra-image-cpu.wanda.yaml
225+ matrix :
226+ - " 3.10"
227+ - " 3.11"
228+ - " 3.12"
229+ - " 3.13"
230+ env_file : rayci.env
231+ env :
232+ PYTHON_VERSION : " {{matrix}}"
233+ ARCH_SUFFIX : " "
165234 tags :
166235 - python_dependencies
167236 - docker
168237 - oss
169- instance_type : medium
170- commands :
171- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
172- --platform cu11.7.1-cudnn8 --platform cu11.8.0-cudnn8
173- --platform cu12.1.1-cudnn8 --platform cu12.3.2-cudnn9
174- --platform cu12.4.1-cudnn --platform cu12.5.1-cudnn
175- --platform cu12.6.3-cudnn --platform cu12.8.1-cudnn
176- --platform cu12.9.1-cudnn
177- --platform cpu
178- --image-type ray-extra --upload
179238 depends_on :
180- - manylinux-x86_64
181- - forge
239+ - ray-wheel-build
182240 - raycpubaseextra
241+
242+ - name : ray-extra-image-cuda-build
243+ label : " wanda: ray-extra py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
244+ wanda : ci/docker/ray-extra-image-cuda.wanda.yaml
245+ matrix :
246+ setup :
247+ python :
248+ - " 3.10"
249+ - " 3.11"
250+ - " 3.12"
251+ - " 3.13"
252+ cuda :
253+ - " 11.7.1-cudnn8"
254+ - " 11.8.0-cudnn8"
255+ - " 12.1.1-cudnn8"
256+ - " 12.3.2-cudnn9"
257+ - " 12.4.1-cudnn"
258+ - " 12.5.1-cudnn"
259+ - " 12.6.3-cudnn"
260+ - " 12.8.1-cudnn"
261+ - " 12.9.1-cudnn"
262+ env_file : rayci.env
263+ env :
264+ PYTHON_VERSION : " {{matrix.python}}"
265+ CUDA_VERSION : " {{matrix.cuda}}"
266+ ARCH_SUFFIX : " "
267+ tags :
268+ - python_dependencies
269+ - docker
270+ - oss
271+ depends_on :
272+ - ray-wheel-build
183273 - raycudabaseextra
274+
275+ - name : ray-llm-image-cuda-build
276+ label : " wanda: ray-llm py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
277+ wanda : ci/docker/ray-llm-image-cuda.wanda.yaml
278+ matrix :
279+ setup :
280+ python :
281+ - " 3.11"
282+ cuda :
283+ - " 12.8.1-cudnn"
284+ env_file : rayci.env
285+ env :
286+ PYTHON_VERSION : " {{matrix.python}}"
287+ CUDA_VERSION : " {{matrix.cuda}}"
288+ ARCH_SUFFIX : " "
289+ tags :
290+ - python_dependencies
291+ - docker
292+ - oss
293+ depends_on :
294+ - ray-wheel-build
295+ - ray-llmbase
296+
297+ - name : ray-llm-extra-image-cuda-build
298+ label : " wanda: ray-llm-extra py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
299+ wanda : ci/docker/ray-llm-extra-image-cuda.wanda.yaml
300+ matrix :
301+ setup :
302+ python :
303+ - " 3.11"
304+ cuda :
305+ - " 12.8.1-cudnn"
306+ env_file : rayci.env
307+ env :
308+ PYTHON_VERSION : " {{matrix.python}}"
309+ CUDA_VERSION : " {{matrix.cuda}}"
310+ ARCH_SUFFIX : " "
311+ tags :
312+ - python_dependencies
313+ - docker
314+ - oss
315+ depends_on :
316+ - ray-wheel-build
317+ - ray-llmbaseextra
318+
319+ - label : " :crane: publish: ray-extra py{{matrix}} (x86_64)"
320+ key : ray_extra_images_push
321+ instance_type : small
322+ commands :
323+ - bazel run //.buildkite:copy_files -- --destination docker_login
324+ - bazel run //ci/ray_ci/automation:push_ray_image --
325+ --python-version {{matrix}}
326+ --platform cpu
327+ --platform cu11.7.1-cudnn8
328+ --platform cu11.8.0-cudnn8
329+ --platform cu12.1.1-cudnn8
330+ --platform cu12.3.2-cudnn9
331+ --platform cu12.4.1-cudnn
332+ --platform cu12.5.1-cudnn
333+ --platform cu12.6.3-cudnn
334+ --platform cu12.8.1-cudnn
335+ --platform cu12.9.1-cudnn
336+ --image-type ray-extra
337+ --architecture x86_64
184338 matrix :
185339 - " 3.10"
186340 - " 3.11"
187341 - " 3.12"
188342 - " 3.13"
189-
190- - label : " :tapioca: build: ray-llm py{{matrix}} docker (x86_64)"
343+ depends_on :
344+ - ray-extra-image-cpu-build
345+ - ray-extra-image-cuda-build
191346 tags :
192347 - python_dependencies
193348 - docker
194349 - oss
195- instance_type : medium
350+ - skip-on-premerge
351+
352+ - label : " :crane: publish: ray-llm py{{matrix}} (x86_64)"
353+ key : ray_llm_images_cuda_push
354+ instance_type : small
196355 commands :
197- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
198- --platform cu12.8.1-cudnn --image-type ray-llm --upload
199- depends_on :
200- - manylinux-x86_64
201- - forge
202- - ray-llmbase
356+ - bazel run //.buildkite:copy_files -- --destination docker_login
357+ - bazel run //ci/ray_ci/automation:push_ray_image --
358+ --python-version {{matrix}}
359+ --platform cu12.8.1-cudnn
360+ --image-type ray-llm
361+ --architecture x86_64
203362 matrix :
204363 - " 3.11"
205-
206- - label : " :tapioca: build: ray-llm-extra py{{matrix}} docker (x86_64) "
364+ depends_on :
365+ - ray-llm-image-cuda-build
207366 tags :
208367 - python_dependencies
209368 - docker
210369 - oss
211- instance_type : medium
370+ - skip-on-premerge
371+
372+ - label : " :crane: publish: ray-llm-extra py{{matrix}} (x86_64)"
373+ key : ray_llm_extra_images_cuda_push
374+ instance_type : small
212375 commands :
213- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
214- --platform cu12.8.1-cudnn --image-type ray-llm-extra --upload
215- depends_on :
216- - manylinux-x86_64
217- - forge
218- - ray-llmbaseextra
376+ - bazel run //.buildkite:copy_files -- --destination docker_login
377+ - bazel run //ci/ray_ci/automation:push_ray_image --
378+ --python-version {{matrix}}
379+ --platform cu12.8.1-cudnn
380+ --image-type ray-llm-extra
381+ --architecture x86_64
219382 matrix :
220383 - " 3.11"
384+ depends_on :
385+ - ray-llm-extra-image-cuda-build
386+ tags :
387+ - python_dependencies
388+ - docker
389+ - oss
390+ - skip-on-premerge
221391
222392 - label : " :tapioca: smoke test build-docker.sh"
223393 tags :
@@ -244,6 +414,6 @@ steps:
244414 - bazel run .buildkite:copy_files -- --destination docker_login
245415 - bazel run //ci/ray_ci/automation:generate_index -- --prefix nightly
246416 depends_on :
247- - ray_images
248- - ray_images_aarch64
417+ - ray_images_push
418+ - ray_images_push_aarch64
249419 - forge
0 commit comments