Skip to content

Commit

Permalink
add scheduled ci on amdgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
fxmarty committed Oct 19, 2023
1 parent cbd278f commit c5b38cd
Show file tree
Hide file tree
Showing 4 changed files with 453 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ jobs:
push: true
tags: huggingface/transformers-pytorch-amd-gpu${{ inputs.image_postfix }}
# Push CI images still need to be re-built daily
-
name: Build and push (for Push CI) in a daily basis
- name: Build and push (for Push CI) in a daily basis
# This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.
# The later case is useful for manual image building for debugging purpose. Use another tag in this case!
if: inputs.image_postfix != '-push-ci'
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/self-scheduled-amd-caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Self-hosted runner (AMD mi210 scheduled CI caller)

on:
schedule:
- cron: "17 2 * * *"
push:
branches:
- run_amd_scheduled_ci_caller*
- rocm-scheduled-ci

jobs:
run_amd_ci_mi210:
name: AMD mi210
if: (cancelled() != true) && ((github.event_name != 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_push_ci_caller'))) || ((github.event_name == 'push') && startsWith(github.ref_name, 'rocm-scheduled-ci')))
uses: ./.github/workflows/self-scheduled-amd.yml
with:
gpu_flavor: mi210
secrets: inherit

run_amd_ci_mi250:
name: AMD mi250
if: (cancelled() != true) && ((github.event_name != 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_push_ci_caller'))) || ((github.event_name == 'push') && startsWith(github.ref_name, 'rocm-scheduled-ci')))
uses: ./.github/workflows/self-scheduled-amd.yml
with:
gpu_flavor: mi250
secrets: inherit
Loading

0 comments on commit c5b38cd

Please sign in to comment.