Skip to content

Commit

Permalink
update runs on
Browse files Browse the repository at this point in the history
  • Loading branch information
arunjose696 committed Feb 2, 2025
1 parent f9a87c8 commit 1b66a0c
Show file tree
Hide file tree
Showing 10 changed files with 383 additions and 24 deletions.
39 changes: 23 additions & 16 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,15 @@ jobs:
${{ toJSON(inputs) }}
EOF
- name: print files and git base
run: |
echo "Base SHA: ${{ github.event.pull_request.base.sha }}"
echo "++++++++++++++""

- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2


- name: Install Python
if: ${{ !(inputs.use_pyenv_python || false) }}
Expand Down Expand Up @@ -95,30 +100,32 @@ jobs:
ls -l
echo "old--"
git log
git fetch --depth=10
echo "new--"
git log
echo "before writing--"
echo "new--" > logfile
cat logfile
git branch
pip list
python benchmarks/triton_kernels_benchmark/benchmarks_to_compare_irs.py
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: 'main'
fetch-depth: 2
ref: '${{ github.event.pull_request.base.sha }}'


- name: Setup Triton
uses: ./.github/actions/setup-triton
with:
command: DEBUG=1 python setup.py bdist_wheel

- name: Install Triton
run: |
pip install python/dist/*.whl
- name: print files and git log after second checkout
run: |
ls -l
echo "old--"
git log
git fetch --depth=10
echo "new--"
git log
echo "before writing--"
echo "new--" > logfile
cat logfile
git branch
pip list
python benchmarks/triton_kernels_benchmark/benchmarks_to_compare_irs.py
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
2 changes: 2 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ on:
default: false

pull_request:
branches-ignore:
- arunjose696/ir-compare
branches:
- main
- release/**
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches:
- main
- release/**
branches-ignore:
- arunjose696/ir-compare
push:
branches:
- main
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compare-ir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run benchmark and upload IRs
run-name: ${{ inputs.run_name }}

on:
push:
branches:
- arunjose696/ir-compare
pull_request:
types: [opened, synchronize, reopened]



jobs:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
uses: ./.github/workflows/build-reusable.yml
with:
# For this workflow, use max1550 runners to reduce cache consumption on max1100 runners.
device: ${{ matrix.driver == 'rolling' && 'max1550' || 'max1100' }}

python_version: ${{ matrix.python }}
run_name: ${{ 'compare-ir' }}
use_pyenv_python: ${{false }}
6 changes: 3 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ name: Integration Tests
on:
workflow_dispatch:
pull_request:
branches-ignore: ['llvm-**']
branches-ignore: ['llvm-**','arunjose696/ir-compare' ]
merge_group:
branches: [main, 'dev-**']
types: [checks_requested]
push:
branches: [main]
# push:
# branches: [main]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Integration Tests
on:
workflow_dispatch:
pull_request:
branches-ignore: ['llvm-**']
branches-ignore: ['llvm-**','arunjose696/ir-compare']
merge_group:
branches: [main, 'dev-**']
types: [checks_requested]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pip-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
branches:
- main
branches-ignore:
- arunjose696/ir-compare
paths:
- third_party/intel/backend/driver.py
push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pip-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
branches:
- main
branches-ignore:
- arunjose696/ir-compare
paths:
- third_party/intel/backend/driver.py
push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/triton-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ on:
pull_request:
branches:
- main
branches-ignore:
- arunjose696/ir-compare
paths:
- .github/workflows/triton-benchmarks.yml
- benchmarks/**
Expand Down
Loading

0 comments on commit 1b66a0c

Please sign in to comment.