@@ -136,91 +136,324 @@ steps:
136136 depends_on : manylinux-x86_64
137137 job_env : manylinux-x86_64
138138
139- - label : " :tapioca: build: ray py{{matrix}} docker (x86_64)"
140- key : ray_images
139+ - name : ray-image-cpu-build
140+ label : " wanda: ray py{{matrix}} cpu (x86_64)"
141+ wanda : ci/docker/ray-image-cpu.wanda.yaml
142+ matrix :
143+ - " 3.10"
144+ - " 3.11"
145+ - " 3.12"
146+ - " 3.13"
147+ env_file : rayci.env
148+ env :
149+ PYTHON_VERSION : " {{matrix}}"
150+ ARCH_SUFFIX : " "
141151 tags :
142152 - python_dependencies
143153 - docker
144154 - oss
145- instance_type : medium
146- commands :
147- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
148- --platform cu11.7.1-cudnn8 --platform cu11.8.0-cudnn8
149- --platform cu12.1.1-cudnn8 --platform cu12.3.2-cudnn9
150- --platform cu12.4.1-cudnn --platform cu12.5.1-cudnn
151- --platform cu12.6.3-cudnn --platform cu12.8.1-cudnn
152- --platform cu12.9.1-cudnn
153- --platform cpu
154- --image-type ray --upload
155155 depends_on :
156- - manylinux-x86_64
157- - forge
158- - raycudabase
156+ - ray-wheel-build
159157 - raycpubase
158+
159+ - label : " :docker: push: ray py{{matrix}} cpu (x86_64)"
160+ key : ray_images_cpu_push
161+ instance_type : small
162+ commands :
163+ - bazel run //.buildkite:copy_files -- --destination docker_login
164+ - bazel run //ci/ray_ci/automation:push_ray_image --
165+ --python-version {{matrix}}
166+ --platform cpu
167+ --image-type ray
168+ --architecture x86_64
169+ --upload
160170 matrix :
161171 - " 3.10"
162172 - " 3.11"
163173 - " 3.12"
164174 - " 3.13"
175+ depends_on :
176+ - ray-image-cpu-build
177+ tags :
178+ - python_dependencies
179+ - docker
180+ - skip-on-premerge
181+ - oss
165182
166- - label : " :tapioca: build: ray-extra py{{matrix}} docker (x86_64)"
167- key : ray_extra_images
183+ - name : ray-image-cuda-build
184+ label : " wanda: ray py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
185+ wanda : ci/docker/ray-image-cuda.wanda.yaml
186+ matrix :
187+ setup :
188+ python :
189+ - " 3.10"
190+ - " 3.11"
191+ - " 3.12"
192+ - " 3.13"
193+ cuda :
194+ - " 11.7.1-cudnn8"
195+ - " 11.8.0-cudnn8"
196+ - " 12.1.1-cudnn8"
197+ - " 12.3.2-cudnn9"
198+ - " 12.4.1-cudnn"
199+ - " 12.5.1-cudnn"
200+ - " 12.6.3-cudnn"
201+ - " 12.8.1-cudnn"
202+ - " 12.9.1-cudnn"
203+ env_file : rayci.env
204+ env :
205+ PYTHON_VERSION : " {{matrix.python}}"
206+ CUDA_VERSION : " {{matrix.cuda}}"
207+ ARCH_SUFFIX : " "
168208 tags :
169209 - python_dependencies
170210 - docker
171211 - oss
172- instance_type : medium
212+ depends_on :
213+ - ray-wheel-build
214+ - raycudabase
215+
216+ - label : " :docker: push: ray py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
217+ key : ray_images_cuda_push
218+ instance_type : small
173219 commands :
174- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
175- --platform cu11.7.1-cudnn8 --platform cu11.8.0-cudnn8
176- --platform cu12.1.1-cudnn8 --platform cu12.3.2-cudnn9
177- --platform cu12.4.1-cudnn --platform cu12.5.1-cudnn
178- --platform cu12.6.3-cudnn --platform cu12.8.1-cudnn
179- --platform cu12.9.1-cudnn
180- --platform cpu
181- --image-type ray-extra --upload
220+ - bazel run //.buildkite:copy_files -- --destination docker_login
221+ - bazel run //ci/ray_ci/automation:push_ray_image --
222+ --python-version {{matrix.python}}
223+ --platform cu{{matrix.cuda}}
224+ --image-type ray
225+ --architecture x86_64
226+ --upload
227+ matrix :
228+ setup :
229+ python :
230+ - " 3.10"
231+ - " 3.11"
232+ - " 3.12"
233+ - " 3.13"
234+ cuda :
235+ - " 11.7.1-cudnn8"
236+ - " 11.8.0-cudnn8"
237+ - " 12.1.1-cudnn8"
238+ - " 12.3.2-cudnn9"
239+ - " 12.4.1-cudnn"
240+ - " 12.5.1-cudnn"
241+ - " 12.6.3-cudnn"
242+ - " 12.8.1-cudnn"
243+ - " 12.9.1-cudnn"
182244 depends_on :
183- - manylinux-x86_64
184- - forge
185- - raycpubaseextra
186- - raycudabaseextra
245+ - ray-image-cuda-build
246+ tags :
247+ - python_dependencies
248+ - docker
249+ - skip-on-premerge
250+ - oss
251+
252+ - name : ray-extra-image-cpu-build
253+ label : " wanda: ray-extra py{{matrix}} cpu (x86_64)"
254+ wanda : ci/docker/ray-extra-image-cpu.wanda.yaml
187255 matrix :
188256 - " 3.10"
189257 - " 3.11"
190258 - " 3.12"
191259 - " 3.13"
260+ env_file : rayci.env
261+ env :
262+ PYTHON_VERSION : " {{matrix}}"
263+ ARCH_SUFFIX : " "
264+ tags :
265+ - python_dependencies
266+ - docker
267+ - oss
268+ depends_on :
269+ - ray-wheel-build
270+ - raycpubaseextra
192271
193- - label : " :tapioca: build: ray-llm py{{matrix}} docker (x86_64)"
272+ - name : ray-extra-image-cuda-build
273+ label : " wanda: ray-extra py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
274+ wanda : ci/docker/ray-extra-image-cuda.wanda.yaml
275+ matrix :
276+ setup :
277+ python :
278+ - " 3.10"
279+ - " 3.11"
280+ - " 3.12"
281+ cuda :
282+ - " 11.7.1-cudnn8"
283+ - " 11.8.0-cudnn8"
284+ - " 12.1.1-cudnn8"
285+ - " 12.3.2-cudnn9"
286+ - " 12.4.1-cudnn"
287+ - " 12.5.1-cudnn"
288+ - " 12.6.3-cudnn"
289+ - " 12.8.1-cudnn"
290+ - " 12.9.1-cudnn"
291+ env_file : rayci.env
292+ env :
293+ PYTHON_VERSION : " {{matrix.python}}"
294+ CUDA_VERSION : " {{matrix.cuda}}"
295+ ARCH_SUFFIX : " "
194296 tags :
195297 - python_dependencies
196298 - docker
197299 - oss
198- instance_type : medium
199- commands :
200- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
201- --platform cu12.8.1-cudnn --image-type ray-llm --upload
202300 depends_on :
203- - manylinux-x86_64
204- - forge
301+ - ray-wheel-build
302+ - raycudabaseextra
303+
304+ - name : ray-llm-image-cuda-build
305+ label : " wanda: ray-llm py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
306+ wanda : ci/docker/ray-llm-image-cuda.wanda.yaml
307+ matrix :
308+ setup :
309+ python :
310+ - " 3.11"
311+ cuda :
312+ - " 12.8.1-cudnn"
313+ env_file : rayci.env
314+ env :
315+ PYTHON_VERSION : " {{matrix.python}}"
316+ CUDA_VERSION : " {{matrix.cuda}}"
317+ ARCH_SUFFIX : " "
318+ tags :
319+ - python_dependencies
320+ - docker
321+ - oss
322+ depends_on :
323+ - ray-wheel-build
205324 - ray-llmbase
325+
326+ - name : ray-llm-extra-image-cuda-build
327+ label : " wanda: ray-llm-extra py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
328+ wanda : ci/docker/ray-llm-extra-image-cuda.wanda.yaml
329+ matrix :
330+ setup :
331+ python :
332+ - " 3.11"
333+ cuda :
334+ - " 12.8.1-cudnn"
335+ env_file : rayci.env
336+ env :
337+ PYTHON_VERSION : " {{matrix.python}}"
338+ CUDA_VERSION : " {{matrix.cuda}}"
339+ ARCH_SUFFIX : " "
340+ tags :
341+ - python_dependencies
342+ - docker
343+ - oss
344+ depends_on :
345+ - ray-wheel-build
346+ - ray-llmbaseextra
347+
348+ - label : " :docker: push: ray-extra py{{matrix}} cpu (x86_64)"
349+ key : ray_extra_images_cpu_push
350+ instance_type : small
351+ commands :
352+ - bazel run //.buildkite:copy_files -- --destination docker_login
353+ - bazel run //ci/ray_ci/automation:push_ray_image --
354+ --python-version {{matrix}}
355+ --platform cpu
356+ --image-type ray-extra
357+ --architecture x86_64
358+ --upload
206359 matrix :
360+ - " 3.10"
207361 - " 3.11"
362+ - " 3.12"
363+ - " 3.13"
364+ depends_on :
365+ - ray-extra-image-cpu-build
366+ tags :
367+ - python_dependencies
368+ - docker
369+ - skip-on-premerge
370+ - oss
208371
209- - label : " :tapioca: build: ray-llm-extra py{{matrix}} docker (x86_64)"
372+ - label : " :docker: push: ray-extra py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
373+ key : ray_extra_images_cuda_push
374+ instance_type : small
375+ commands :
376+ - bazel run //.buildkite:copy_files -- --destination docker_login
377+ - bazel run //ci/ray_ci/automation:push_ray_image --
378+ --python-version {{matrix.python}}
379+ --platform cu{{matrix.cuda}}
380+ --image-type ray-extra
381+ --architecture x86_64
382+ --upload
383+ matrix :
384+ setup :
385+ python :
386+ - " 3.10"
387+ - " 3.11"
388+ - " 3.12"
389+ - " 3.13"
390+ cuda :
391+ - " 11.7.1-cudnn8"
392+ - " 11.8.0-cudnn8"
393+ - " 12.1.1-cudnn8"
394+ - " 12.3.2-cudnn9"
395+ - " 12.4.1-cudnn"
396+ - " 12.5.1-cudnn"
397+ - " 12.6.3-cudnn"
398+ - " 12.8.1-cudnn"
399+ - " 12.9.1-cudnn"
400+ depends_on :
401+ - ray-extra-image-cuda-build
210402 tags :
211403 - python_dependencies
212404 - docker
405+ - skip-on-premerge
213406 - oss
214- instance_type : medium
407+
408+ - label : " :docker: push: ray-llm py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
409+ key : ray_llm_images_cuda_push
410+ instance_type : small
215411 commands :
216- - bazel run //ci/ray_ci:build_in_docker -- docker --python-version {{matrix}}
217- --platform cu12.8.1-cudnn --image-type ray-llm-extra --upload
412+ - bazel run //.buildkite:copy_files -- --destination docker_login
413+ - bazel run //ci/ray_ci/automation:push_ray_image --
414+ --python-version {{matrix.python}}
415+ --platform cu{{matrix.cuda}}
416+ --image-type ray-llm
417+ --architecture x86_64
418+ --upload
419+ matrix :
420+ setup :
421+ python :
422+ - " 3.11"
423+ cuda :
424+ - " 12.8.1-cudnn"
218425 depends_on :
219- - manylinux-x86_64
220- - forge
221- - ray-llmbaseextra
426+ - ray-llm-image-cuda-build
427+ tags :
428+ - python_dependencies
429+ - docker
430+ - skip-on-premerge
431+ - oss
432+
433+ - label : " :docker: push: ray-llm-extra py{{matrix.python}} cu{{matrix.cuda}} (x86_64)"
434+ key : ray_llm_extra_images_cuda_push
435+ instance_type : small
436+ commands :
437+ - bazel run //.buildkite:copy_files -- --destination docker_login
438+ - bazel run //ci/ray_ci/automation:push_ray_image --
439+ --python-version {{matrix.python}}
440+ --platform cu{{matrix.cuda}}
441+ --image-type ray-llm-extra
442+ --architecture x86_64
443+ --upload
222444 matrix :
223- - " 3.11"
445+ setup :
446+ python :
447+ - " 3.11"
448+ cuda :
449+ - " 12.8.1-cudnn"
450+ depends_on :
451+ - ray-llm-extra-image-cuda-build
452+ tags :
453+ - python_dependencies
454+ - docker
455+ - skip-on-premerge
456+ - oss
224457
225458 - label : " :tapioca: smoke test build-docker.sh"
226459 tags :
@@ -247,6 +480,8 @@ steps:
247480 - bazel run .buildkite:copy_files -- --destination docker_login
248481 - bazel run //ci/ray_ci/automation:generate_index -- --prefix nightly
249482 depends_on :
250- - ray_images
251- - ray_images_aarch64
483+ - ray_images_cpu_push
484+ - ray_images_cuda_push
485+ - ray_images_cpu_push_aarch64
486+ - ray_images_cuda_push_aarch64
252487 - forge
0 commit comments