diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf8f910c7..5f5688352 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,8 @@ jobs: fail-fast: false matrix: build: - - runs-on: [runner] + - runs-on: runner + - config: Release runs-on: - in-service @@ -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 @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cc6a5caa..4842543fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: | @@ -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