Skip to content

Commit

Permalink
trigger test
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Nov 21, 2023
1 parent 7857978 commit 7c1a41e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/self-scheduled-amd-caller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@ on:
push:
branches:
- run_amd_scheduled_ci_caller*
- rocm-deepspeed-scheduled

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_scheduled_ci_caller')))
if: (cancelled() != true) && ((github.event_name == 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_scheduled_ci_caller'))) || ((github.event_name == 'push') && startsWith(github.ref_name, 'rocm-deepspeed-scheduled')))
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_scheduled_ci_caller')))
if: (cancelled() != true) && ((github.event_name == 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_scheduled_ci_caller'))) || ((github.event_name == 'push') && startsWith(github.ref_name, 'rocm-deepspeed-scheduled')))
uses: ./.github/workflows/self-scheduled-amd.yml
with:
gpu_flavor: mi250
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/self-scheduled-amd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ jobs:
path: /transformers/reports/${{ matrix.machine_type }}_tests_torch_pipeline_gpu

run_all_tests_torch_rocm_deepspeed_gpu:
name: Torch ROCm extension tests
name: Torch ROCm deepspeed tests
strategy:
fail-fast: false
matrix:
Expand All @@ -380,34 +380,37 @@ jobs:
- name: ROCM-SMI
run: |
rocm-smi
- name: ROCM-INFO
run: |
rocminfo | grep "Agent" -A 14
- name: Show ROCR environment
run: |
echo "ROCR: $ROCR_VISIBLE_DEVICES"
- name: Environment
working-directory: /workspace/transformers
working-directory: /transformers
run: |
python utils/print_env.py
- name: Show installed libraries and their versions
working-directory: /workspace/transformers
working-directory: /transformers
run: pip freeze

- name: Run all tests on GPU
working-directory: /workspace/transformers
run: python -m pytest -v --make-reports=${{ matrix.machine_type }}_tests_torch_rocm_extensions_gpu tests/deepspeed tests/extended
working-directory: /transformers
run: python -m pytest -v --make-reports=${{ matrix.machine_type }}_tests_torch_rocm_deepspeed_gpu tests/deepspeed tests/extended

- name: Failure short reports
if: ${{ failure() }}
continue-on-error: true
run: cat /workspace/transformers/reports/${{ matrix.machine_type }}_tests_torch_rocm_extensions_gpu/failures_short.txt
run: cat /transformers/reports/${{ matrix.machine_type }}_tests_torch_rocm_deepspeed_gpu/failures_short.txt

- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.machine_type }}_run_tests_torch_rocm_extensions_gpu_test_reports
path: /workspace/transformers/reports/${{ matrix.machine_type }}_tests_torch_rocm_extensions_gpu
name: ${{ matrix.machine_type }}_run_tests_torch_rocm_deepspeed_gpu_test_reports
path: /transformers/reports/${{ matrix.machine_type }}_tests_torch_rocm_deepspeed_gpu

run_extract_warnings:
name: Extract warnings in CI artifacts
Expand Down

0 comments on commit 7c1a41e

Please sign in to comment.