File tree Expand file tree Collapse file tree 6 files changed +19
-8
lines changed Expand file tree Collapse file tree 6 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 11name : CI Test on AMD
22on : [pull_request]
33
4+ concurrency :
5+ group : " ${{ github.workflow }}-${{ github.ref }}"
6+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
7+
48env :
59 PYTHON_VERSION : ' 3.12'
610 VENV_DIR : tilelang_ci
1115 runs-on : [self-hosted, amd, gpu]
1216
1317 permissions :
14- contents : write
18+ contents : write
1519
1620 steps :
1721 - name : Checkout repository
8488 set -e
8589 REQS_HASH=$(sha256sum requirements-rocm.txt | cut -d ' ' -f 1)
8690 MARKER="${{ runner.tool_cache }}/.venv_marker_${{ env.PYTHON_VERSION }}_${REQS_HASH:0:8}"
87-
91+
8892 echo "Installing requirements"
8993 if [[ -f "$MARKER" ]] && [[ -f "${{ runner.tool_cache }}/${{ env.VENV_DIR }}/bin/activate" ]]; then
9094 echo "venv exists and hash matches – reuse it"
Original file line number Diff line number Diff line change 11name : Bot
22
3- on :
3+ on :
44 issue_comment :
55 types : [created]
66
3636 - name : Build original version
3737 run : |
3838 echo "Check files to be deleted!"
39- git clean -dxn | grep -v 'tll/' | xargs -I{} echo {}
39+ git clean -dxn | grep -v 'tll/' | xargs -I{} echo {}
4040 git clean -dxn | grep -v 'tll/' | xargs -I{} rm -rf {}
4141 echo "Delete files completed!"
4242 git checkout main
Original file line number Diff line number Diff line change 11name : CI
22on : [pull_request]
33
4+ concurrency :
5+ group : " ${{ github.workflow }}-${{ github.ref }}"
6+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
7+
48env :
59 PYTHON_VERSION : ' 3.12'
610 VENV_DIR : tilelang_ci
1014 runs-on : [self-hosted, nvidia]
1115
1216 permissions :
13- contents : write
17+ contents : write
1418
1519 steps :
1620 - name : Checkout repository
Original file line number Diff line number Diff line change 11name : CI Test on Metal
22on : [pull_request]
33
4+ concurrency :
5+ group : " ${{ github.workflow }}-${{ github.ref }}"
6+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
7+
48env :
59 PYTHON_VERSION : ' 3.12'
610 VENV_DIR : tilelang_ci
1014 runs-on : [macos-latest]
1115
1216 permissions :
13- contents : write
17+ contents : write
1418
1519 steps :
1620 - name : Checkout repository
Original file line number Diff line number Diff line change 4141 else
4242 echo "No changes detected, skipping commit and push."
4343 fi
44-
Original file line number Diff line number Diff line change 2020 '🚀'
2121 })
2222 env :
23- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments