-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into nkpatel/upsample2d-generalization-remove-res…
…trictions-input_width
- Loading branch information
Showing
87 changed files
with
3,098 additions
and
1,362 deletions.
There are no files selected for viewing
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
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,59 @@ | ||
name: "[internal] Fast dispatch frequent tests impl" | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
os: | ||
required: false | ||
type: string | ||
default: "ubuntu-20.04" | ||
|
||
jobs: | ||
fd-frequent: | ||
strategy: | ||
# Do not fail-fast because we need to ensure all tests go to completion | ||
# so we try not to get hanging machines | ||
fail-fast: false | ||
matrix: | ||
test-group: | ||
[ | ||
{ | ||
name: "WH N300 pgm dispatch nightly", | ||
arch: wormhole_b0, | ||
runs-on: ["cloud-virtual-machine", "N300", "in-service"], | ||
cmd: ./tests/tt_metal/tt_metal/perf_microbenchmark/dispatch/compare_pgm_dispatch_perf_ci.sh, | ||
timeout: 10 | ||
}, | ||
] | ||
name: ${{ matrix.test-group.name }} | ||
env: | ||
LOGURU_LEVEL: INFO | ||
runs-on: ${{ matrix.test-group.runs-on }} | ||
steps: | ||
- uses: tenstorrent/tt-metal/.github/actions/checkout-with-submodule-lfs@main | ||
- uses: ./.github/actions/prepare-metal-run | ||
with: | ||
arch: ${{ matrix.test-group.arch }} | ||
- name: ${{ matrix.test-group.name }} tests | ||
timeout-minutes: ${{ matrix.test-group.timeout }} | ||
uses: ./.github/actions/docker-run | ||
with: | ||
docker_os_arch: tt-metalium/${{ inputs.os }}-amd64 | ||
docker_password: ${{ secrets.GITHUB_TOKEN }} | ||
docker_opts: | | ||
-e TT_METAL_HOME=${{ github.workspace }} | ||
-e ARCH_NAME=${{ matrix.test-group.arch }} | ||
-e LD_LIBRARY_PATH=${{ github.workspace }}/build/lib | ||
run_args: | | ||
${{ matrix.test-group.cmd }} | ||
- uses: ./.github/actions/slack-report | ||
if: ${{ failure() }} | ||
with: | ||
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
owner: U01Q0T3J3D0 # Paul Keller | ||
- uses: ./.github/actions/upload-artifact-with-job-uuid | ||
if: ${{ !cancelled() }} | ||
with: | ||
path: | | ||
generated/test_reports/ | ||
prefix: "test_reports_" |
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,19 @@ | ||
name: "(Single-card) Fast dispatch frequent tests" | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
schedule: | ||
- cron: "0 */4 * * *" | ||
push: | ||
branches: | ||
- "rkim/0-new-fd-frequent" | ||
|
||
jobs: | ||
build-artifact: | ||
uses: ./.github/workflows/build-artifact.yaml | ||
secrets: inherit | ||
fd-nightly: | ||
needs: build-artifact | ||
uses: ./.github/workflows/fast-dispatch-frequent-tests-impl.yaml | ||
secrets: inherit |
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,48 @@ | ||
name: "[internal] TG demo tests impl" | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
tg-demo-tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test-group: [ | ||
{ name: "TG Llama3 demo tests", arch: wormhole_b0, model: llama3, timeout: 180, owner_id: U06F3ER8X9A}, # Stuti Raizada | ||
{ name: "TG Falcon7b demo tests", arch: wormhole_b0, model: falcon7b, timeout: 120, owner_id: U05RWH3QUPM}, # Salar Hosseini | ||
] | ||
env: | ||
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }} | ||
ARCH_NAME: ${{ matrix.test-group.arch }} | ||
LOGURU_LEVEL: INFO | ||
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib | ||
runs-on: | ||
- arch-wormhole_b0 | ||
- config-tg | ||
- in-service | ||
- bare-metal | ||
- pipeline-functional | ||
steps: | ||
- uses: tenstorrent/tt-metal/.github/actions/checkout-with-submodule-lfs@main | ||
- 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.test-group.arch }} | ||
- name: Extract files | ||
run: tar -xvf ttm_${{ matrix.test-group.arch }}.tar | ||
- uses: ./.github/actions/install-python-deps | ||
- name: Run demo regression tests | ||
timeout-minutes: ${{ matrix.test-group.timeout }} | ||
run: | | ||
source ${{ github.workspace }}/python_env/bin/activate | ||
cd $TT_METAL_HOME | ||
export PYTHONPATH=$TT_METAL_HOME | ||
./tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type demos_tg_device --dispatch-mode "" --model ${{ matrix.test-group.model }} | ||
- uses: ./.github/actions/slack-report | ||
if: ${{ failure() }} | ||
with: | ||
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
owner: ${{ matrix.test-group.owner_id }} |
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
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
Oops, something went wrong.