Skip to content

Commit

Permalink
adding cleaning function
Browse files Browse the repository at this point in the history
  • Loading branch information
adamomainz committed Sep 6, 2024
1 parent dc2b435 commit 11e8804
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/inductor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,31 +77,5 @@ jobs:
# docker-image: nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
run: |
pytest -n 1 test/inductor/test_torchinductor.py
clean-test:
needs: build-test
runs-on: linux.g5.48xlarge.nvidia.gpu
timeout-minutes: 30
steps:
- name: "cleanup"
run: |
if [ -d triton ]; then
echo "triton removed"
rm -r triton
else
echo "triton not removed"
fi
if [ -d pytorch ]; then
echo "pytorch removed"
rm -r pytorch
else
echo "pytorch not removed"
fi
if [ -d llvm-project ]; then
echo "llvm-project removed"
rm -r llvm-project
else
echo "llvm not removed"
fi
pwd
ls
- uses: colpal/actions-clean@v1
if: always()

0 comments on commit 11e8804

Please sign in to comment.