Skip to content

Commit

Permalink
add durations, modify cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
pilkicTT committed Feb 4, 2025
1 parent 7e3f5e4 commit 078a15b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
fail-fast: false
matrix:
build:
- runs-on: [runner]
- runs-on: runner
- config: Release

runs-on:
- in-service
Expand Down Expand Up @@ -62,10 +63,6 @@ jobs:
git config --system --add safe.directory ${{ steps.strings.outputs.work-dir }}
chown -R root:root ${{ 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:
submodules: recursive
Expand Down Expand Up @@ -99,6 +96,7 @@ jobs:
with:
create-symlink: true
verbose: 2
key: config-${{ matrix.build.config }}

- name: Build (creates tvm and tt-forge-fe wheels)
shell: bash
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ 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 Expand Up @@ -127,6 +123,7 @@ jobs:
--splitting-algorithm least_duration \
-m "${{ inputs.test_mark }}" \
--junit-xml=${{ steps.strings.outputs.test_report_path }} \
--durations=50 \
2>&1 | tee pytest.log
- name: Upload Test Log
Expand Down

0 comments on commit 078a15b

Please sign in to comment.