Skip to content

Commit

Permalink
move ref test to navi machines
Browse files Browse the repository at this point in the history
  • Loading branch information
micmelesse committed Jan 23, 2025
1 parent b715392 commit 0c54226
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/amd_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [ubuntu-22.04, linux-mi300-gpu-1]
runner: [linux-mi300-gpu-1]
fail-fast: false # disables failing the entire job when one matrix entry fails
container:
image: rocm/pytorch:rocm6.2.3_ubuntu22.04_py3.10_pytorch_release_2.3.0
Expand Down Expand Up @@ -52,14 +52,6 @@ jobs:
export FLASH_ATTENTION_TRITON_AMD_ENABLE="TRUE"
python setup.py install
# CPU Tests
- name: Flash Attention Tests Using Reference Impl
if: matrix.runner == 'ubuntu-22.04'
run: |
export FLASH_ATTENTION_TRITON_AMD_ENABLE="TRUE"
export FLASH_ATTENTION_TRITON_AMD_REF=1
pytest tests/test_flash_attn_triton_amd.py
# CDNA Tests
- name: Flash Attention CDNA Tests
if: matrix.runner == 'linux-mi300-gpu-1'
Expand All @@ -84,6 +76,12 @@ jobs:
python flash_attn/flash_attn_triton_amd/bench.py
# RDNA Tests
- name: Flash Attention Tests Using Reference Impl
if: matrix.runner == 'gfx1100'
run: |
export FLASH_ATTENTION_TRITON_AMD_ENABLE="TRUE"
export FLASH_ATTENTION_TRITON_AMD_REF=1
pytest tests/test_flash_attn_triton_amd.py
- name: Flash Attention RDNA Tests
if: matrix.runner == 'gfx1100'
run: |
Expand Down

0 comments on commit 0c54226

Please sign in to comment.