From 3385e4d10deeead987abe227f1777abde91bfc54 Mon Sep 17 00:00:00 2001 From: Aswinmcw Date: Fri, 8 Nov 2024 10:13:57 +0000 Subject: [PATCH] #0: ci check --- .github/workflows/t3000-model-perf-tests-impl.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/t3000-model-perf-tests-impl.yaml b/.github/workflows/t3000-model-perf-tests-impl.yaml index f092abf18d1..32694cf92f7 100644 --- a/.github/workflows/t3000-model-perf-tests-impl.yaml +++ b/.github/workflows/t3000-model-perf-tests-impl.yaml @@ -47,19 +47,24 @@ jobs: echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV - name: Download profiler build artifact + id: download-profiler-artifact if: ${{ matrix.test-group.tracy }} uses: actions/download-artifact@v4 with: name: TTMetal_build_${{ matrix.test-group.arch }}_profiler + continue-on-error: true - name: Download build artifact + id: download-artifact if: ${{ !matrix.test-group.tracy }} uses: actions/download-artifact@v4 with: name: TTMetal_build_${{ matrix.test-group.arch }} - name: Extract files + if: ${{ matrix.test-group.tracy && steps.download-profiler-artifact.conclusion == 'success' || !matrix.test-group.tracy }} run: tar -xvf ttm_${{ matrix.test-group.arch }}.tar - uses: ./.github/actions/install-python-deps - name: Run model perf regression tests + if: ${{ matrix.test-group.tracy && steps.download-profiler-artifact.conclusion == 'success' || !matrix.test-group.tracy }} shell: bash {0} timeout-minutes: ${{ matrix.test-group.timeout }} run: | @@ -71,7 +76,7 @@ jobs: env python models/perf/merge_perf_results.py - name: Check perf report exists id: check-perf-report - if: ${{ !cancelled() }} + if: ${{ !cancelled() && matrix.test-group.tracy && steps.download-profiler-artifact.conclusion == 'success' || !matrix.test-group.tracy }} run: | TODAY=$(date +%Y_%m_%d) PERF_REPORT_FILENAME_MODELS="Models_Perf_${TODAY}.csv"