Skip to content

Commit

Permalink
seperate ci on triton-mlir and main (ROCm#581)
Browse files Browse the repository at this point in the history
* remove ref to main

* fix bug
  • Loading branch information
micmelesse authored May 10, 2024
1 parent d98b26f commit e27697a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/amd-offline-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: AMD Offline Tests
on:
workflow_dispatch:
pull_request:
branches: [main, triton-mlir]
branches: [triton-mlir]
merge_group:
branches: [main, triton-mlir]
branches: [triton-mlir]
types: [checks_requested]
push:
branches: [main, triton-mlir]
branches: [triton-mlir]

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/triton-mlir' }}

permissions: read-all

Expand All @@ -22,7 +22,7 @@ env:
TRITON_DISABLE_LINE_INFO: 1

jobs:
Runner-Preparation:
Runner-Preparation-AMD:
runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
Expand All @@ -38,13 +38,13 @@ jobs:
fi
Integration-Tests-AMD:
needs: Runner-Preparation
if: needs.Runner-Preparation.outputs.matrix-HIP != ''
needs: Runner-Preparation-AMD
if: needs.Runner-Preparation-AMD.outputs.matrix-HIP != ''
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
strategy:
matrix:
runner: ${{fromJson(needs.Runner-Preparation.outputs.matrix-HIP)}}
runner: ${{fromJson(needs.Runner-Preparation-AMD.outputs.matrix-HIP)}}
container:
image: rocm/pytorch:rocm6.0.2_ubuntu22.04_py3.10_pytorch_2.1.2
options: --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined --group-add video --user root
Expand Down

0 comments on commit e27697a

Please sign in to comment.