forked from huggingface/transformers
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from ROCmSoftwarePlatform/amd-ci-bringup-adabeyta
Better way to run AMD CI with different flavors (huggingface#26634)
- Loading branch information
Showing
4 changed files
with
64 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Self-hosted runner (AMD mi210 CI caller) | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Self-hosted runner (push-caller)"] | ||
branches: ["main"] | ||
types: [completed] | ||
push: | ||
branches: | ||
- run_amd_push_ci_caller* | ||
paths: | ||
- "src/**" | ||
- "tests/**" | ||
- ".github/**" | ||
- "templates/**" | ||
- "utils/**" | ||
|
||
jobs: | ||
run_amd_ci: | ||
name: AMD mi210 | ||
if: (cancelled() != true) && ((github.event_name != 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_push_ci_caller'))) | ||
uses: ./.github/workflows/self-push-amd.yml | ||
with: | ||
gpu_flavor: mi210 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Self-hosted runner (AMD mi250 CI caller) | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Self-hosted runner (push-caller)"] | ||
branches: ["main"] | ||
types: [completed] | ||
push: | ||
branches: | ||
- run_amd_push_ci_caller* | ||
paths: | ||
- "src/**" | ||
- "tests/**" | ||
- ".github/**" | ||
- "templates/**" | ||
- "utils/**" | ||
|
||
jobs: | ||
run_amd_ci: | ||
name: AMD mi250 | ||
if: (cancelled() != true) && ((github.event_name != 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_push_ci_caller'))) | ||
uses: ./.github/workflows/self-push-amd.yml | ||
with: | ||
gpu_flavor: mi250 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters