Skip to content

Commit

Permalink
cleanup lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
pilkicTT committed Feb 3, 2025
1 parent d1f0056 commit 7e3f5e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@ jobs:
git config --system --add safe.directory ${{ steps.strings.outputs.work-dir }}
chown -R root:root ${{ steps.strings.outputs.work-dir }}
# Clean everything from submodules (needed to avoid issues
# with cmake generated files leftover from previous builds)
- name: Cleanup submodules pre-checkout
run: |
rm /__w/tt-forge-fe/tt-forge-fe/.git/modules/third_party/tvm/modules/3rdparty/libflash_attn/modules/cutlass/index.lock
git status && git submodule foreach --recursive git clean -ffdx && git submodule foreach --recursive git reset --hard
cat /__w/tt-forge-fe/tt-forge-fe/.git/modules/third_party/tvm/modules/3rdparty/libflash_attn/modules/cutlass/index.lock && rm /__w/tt-forge-fe/tt-forge-fe/.git/modules/third_party/tvm/modules/3rdparty/libflash_attn/modules/cutlass/index.lock || true
- uses: actions/checkout@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ jobs:
- name: Git safe dir
run: git config --global --add safe.directory ${{ steps.strings.outputs.work-dir }}

- name: Cleanup submodules pre-checkout
run: |
cat /__w/tt-forge-fe/tt-forge-fe/.git/modules/third_party/tvm/modules/3rdparty/libflash_attn/modules/cutlass/index.lock && rm /__w/tt-forge-fe/tt-forge-fe/.git/modules/third_party/tvm/modules/3rdparty/libflash_attn/modules/cutlass/index.lock || true
- uses: actions/checkout@v4
with:
sparse-checkout: |
Expand Down

0 comments on commit 7e3f5e4

Please sign in to comment.