Skip to content

Commit

Permalink
[ci] update script
Browse files Browse the repository at this point in the history
  • Loading branch information
AshburnLee committed Sep 2, 2024
1 parent 3e6ef53 commit 2c53807
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-update-translator-cid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
if: ${{ env.TARGET_PRID == null }}
run: |
env
./scripts/check_update_tranlator_cid.sh $CID_LATEST $CID_CURRENT
./scripts/check-update-translator-cid.sh $CID_LATEST $CID_CURRENT
if git status --porcelain ./lib/Target/SPIRV/spirv-llvm-translator.conf | grep '^ M'; then
echo "MODIFIED=true" >> $GITHUB_ENV
echo "spirv-llvm-translator.conf has been modified"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,17 @@ FOUND=false
for cid in $COMMIT_IDS; do
echo "$cid" > ./lib/Target/SPIRV/spirv-llvm-translator.conf
if ! ./scripts/compile-triton.sh --clean; then
echo "Compile failed for translator commit $cid"
echo "Triton compile failed for translator commit $cid"
continue
fi
fi

# download pinned upstream pytorch and no-op-ipex
if ! ./scripts/compile-pytorch-ipex.sh; then
echo "Download failed for translator commit $cid"
continue
fi

# build pytorch and IPEX outside of 'test-triton.sh'
# execute full tests
if ./scripts/test-triton.sh --skip-deps; then
echo "Tests passed for translator commit $cid"
echo "A newer commit found: $cid"
Expand Down

0 comments on commit 2c53807

Please sign in to comment.