-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#8558: Refactor t3000, tg and tgg pipelines, workflows and run test s…
…cripts
- Loading branch information
Showing
28 changed files
with
770 additions
and
435 deletions.
There are no files selected for viewing
39 changes: 0 additions & 39 deletions
39
.github/workflows/multi-device-build-and-unit-tests-frequent.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: "[T3K] T3000 demo tests" | ||
|
||
on: | ||
push: | ||
branches: | ||
- tpatel/issue-8558 | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' # This cron schedule runs the workflow every day at 12am UTC | ||
|
||
jobs: | ||
build-artifact: | ||
uses: ./.github/workflows/build-artifact.yaml | ||
secrets: inherit | ||
t3000-demo-tests: | ||
needs: build-artifact | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test-group: [ | ||
{ | ||
name: "T3000 demo tests", | ||
arch: wormhole_b0, | ||
runs-on: [arch-wormhole_b0, "config-t3000", "in-service", "runner-test", "bare-metal", "pipeline-perf"], | ||
cmd: './tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type demos_t3000_device --dispatch-mode ""' | ||
}, | ||
] | ||
name: ${{ matrix.test-group.name }} ${{ matrix.test-group.arch }} | ||
env: | ||
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }} | ||
ARCH_NAME: ${{ matrix.test-group.arch }} | ||
LOGURU_LEVEL: INFO | ||
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib | ||
environment: dev | ||
runs-on: ${{ matrix.test-group.runs-on }} | ||
steps: | ||
- uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 | ||
- name: Set up dynamic env vars for build | ||
run: | | ||
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV | ||
- 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: ${{ matrix.test-group.name }} tests | ||
- name: Run demo regression tests | ||
timeout-minutes: 180 | ||
run: | | ||
source ${{ github.workspace }}/python_env/bin/activate | ||
cd $TT_METAL_HOME | ||
export PYTHONPATH=$TT_METAL_HOME | ||
${{ matrix.test-group.cmd }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: "[T3K] T3000 frequent tests" | ||
|
||
on: | ||
push: | ||
branches: | ||
- tpatel/issue-8558 | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours | ||
|
||
jobs: | ||
build-artifact: | ||
uses: ./.github/workflows/build-artifact.yaml | ||
secrets: inherit | ||
t3000-frequent-tests: | ||
needs: build-artifact | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test-group: [ | ||
{ | ||
name: "T3000 frequent tests", | ||
arch: wormhole_b0, | ||
runs-on: [arch-wormhole_b0, "config-t3000", "in-service", "runner-test", "bare-metal", "pipeline-functional"], | ||
cmd: './tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type frequent_t3000_device --dispatch-mode ""' | ||
}, | ||
] | ||
name: ${{ matrix.test-group.name }} ${{ matrix.test-group.arch }} | ||
env: | ||
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }} | ||
ARCH_NAME: ${{ matrix.test-group.arch }} | ||
LOGURU_LEVEL: INFO | ||
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib | ||
environment: dev | ||
runs-on: ${{ matrix.test-group.runs-on }} | ||
steps: | ||
- uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 | ||
- name: Set up dynamic env vars for build | ||
run: | | ||
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV | ||
- 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 frequent regression tests | ||
timeout-minutes: 60 | ||
run: | | ||
source ${{ github.workspace }}/python_env/bin/activate | ||
cd $TT_METAL_HOME | ||
export PYTHONPATH=$TT_METAL_HOME | ||
${{ matrix.test-group.cmd }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: "[T3K] T3000 profiler tests" | ||
|
||
on: | ||
push: | ||
branches: | ||
- tpatel/issue-8558 | ||
workflow_dispatch: | ||
workflow_call: | ||
schedule: | ||
- cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours | ||
|
||
jobs: | ||
t3000-profiler-tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test-group: [ | ||
{ | ||
name: "T3000 unit tests", | ||
arch: wormhole_b0, | ||
runs-on: [arch-wormhole_b0, "config-t3000", "in-service", "runner-test", "bare-metal", "pipeline-perf"], | ||
cmd: './tests/scripts/run_profiler_regressions.sh' | ||
}, | ||
] | ||
env: | ||
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }} | ||
ARCH_NAME: ${{ matrix.test-group.arch }} | ||
LOGURU_LEVEL: INFO | ||
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib | ||
environment: dev | ||
runs-on: ${{ matrix.runner-info.runs-on }} | ||
steps: | ||
- uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 | ||
- name: Set up dynamic env vars for build | ||
run: | | ||
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV | ||
- name: Build tt-metal and libs | ||
run: | | ||
./scripts/build_scripts/build_with_profiler_opt.sh | ||
- name: Run profiler regression tests | ||
timeout-minutes: 30 | ||
run: | | ||
./tests/scripts/run_profiler_regressions.sh |
Oops, something went wrong.