mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 12:50:06 +06:00

* update to ROCm 6.0.2 and test MI300 * add callers for mi300 * update dockerfile * fix trainer tests * remove apex * style * Update tests/trainer/test_trainer_seq2seq.py * Update tests/trainer/test_trainer_seq2seq.py * Update tests/trainer/test_trainer_seq2seq.py * Update tests/trainer/test_trainer_seq2seq.py * update to torch 2.3 * add workflow dispatch target * we may need branches: mi300-ci after all * nit * fix docker build * nit * add check runner * remove docker-gpu * fix issues * fix --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
26 lines
684 B
YAML
26 lines
684 B
YAML
name: Self-hosted runner (AMD mi300 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 mi300
|
|
if: (cancelled() != true) && ((github.event_name == 'workflow_run') || ((github.event_name == 'push') && (startsWith(github.ref_name, 'run_amd_push_ci_caller') || startsWith(github.ref_name, 'mi300-ci'))))
|
|
uses: ./.github/workflows/self-push-amd.yml
|
|
with:
|
|
gpu_flavor: mi300
|
|
secrets: inherit
|