Skip to content

Commit

Permalink
#8535: update ttnn sweep workflow to use build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ttmchiou committed May 15, 2024
1 parent c0b2608 commit 0ef7e21
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ttnn-run-sweeps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ on:
workflow_call:

jobs:
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
ttnn-sweeps:
needs: build-artifact
strategy:
# Do not fail-fast because we need to ensure all tests go to completion
# so we try not to get hanging machines
Expand All @@ -24,9 +28,12 @@ jobs:
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- name: Build tt-metal and libs
run: |
PYTHON_ENV_DIR=$(pwd)/build/python_env ./build_metal.sh
- uses: actions/download-artifact@v4
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Run ttnn sweeps
timeout-minutes: 30
run: ./tests/scripts/run_tests.sh --tt-arch $ARCH_NAME --pipeline-type ttnn_sweeps
Expand Down

0 comments on commit 0ef7e21

Please sign in to comment.