-
Notifications
You must be signed in to change notification settings - Fork 111
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 adjordjevic/dump_configuration_registers
- Loading branch information
Showing
136 changed files
with
3,174 additions
and
891 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
name: "[internal] TG nightly tests impl" | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
docker-image: | ||
required: true | ||
type: string | ||
wheel-artifact-name: | ||
required: true | ||
type: string | ||
build-artifact-name: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
tg-nightly-tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test-group: [ | ||
{ name: "TG CCL tests", arch: wormhole_b0, cmd: run_tg_nightly_ccl_tests, timeout: 40, owner_id: ULMEPM2MA}, # Sean Nijjar | ||
] | ||
name: ${{ matrix.test-group.name }} | ||
runs-on: ["arch-wormhole_b0", "config-tg", "in-service", "pipeline-functional"] | ||
container: | ||
image: ${{ inputs.docker-image }} | ||
env: | ||
TT_METAL_HOME: /work | ||
PYTHONPATH: /work | ||
LD_LIBRARY_PATH: /work/build/lib | ||
LOGURU_LEVEL: INFO | ||
ARCH_NAME: ${{ matrix.test-group.arch }} | ||
volumes: | ||
- ${{ github.workspace }}/docker-job:/work # Subdir to workaround https://github.com/actions/runner/issues/691 | ||
- /dev/hugepages-1G:/dev/hugepages-1G | ||
- /mnt/MLPerf:/mnt/MLPerf | ||
options: "--device /dev/tenstorrent" | ||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: /work # https://github.com/actions/runner/issues/878 | ||
steps: | ||
- name: ⬇️ Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
path: docker-job # Here be dragons; keep it scoped to our desired volume, yet must be under github.workspace and be sure to clean up at the end | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ inputs.build-artifact-name }} | ||
path: /work | ||
- name: Extract files | ||
run: tar -xvf ttm_any.tar | ||
- name: ⬇️ Download Wheel | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ inputs.wheel-artifact-name }} | ||
path: /work | ||
- name: Install Wheel | ||
run: | | ||
WHEEL_FILENAME=$(ls -1 *.whl) | ||
pip3 install $WHEEL_FILENAME | ||
- name: Run tests | ||
shell: bash {0} | ||
timeout-minutes: ${{ matrix.test-group.timeout }} | ||
run: | | ||
source tests/scripts/tg/run_tg_nightly_tests.sh | ||
${{ matrix.test-group.cmd }} | ||
- uses: ./.github/actions/slack-report | ||
if: ${{ failure() }} | ||
with: | ||
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
owner: ${{ matrix.test-group.owner_id }} | ||
- name: Cleanup | ||
if: always() | ||
run: | | ||
# We are forced to checkout the repo into a subdir of the host's workdir; this pollutes the host | ||
# with root-owned files. Be sure to clean up after ourselves in case we're on a non-ephemeral runner. | ||
rm -rf /__w/tt-metal/tt-metal/docker-job |
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.