-
Notifications
You must be signed in to change notification settings - Fork 8
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 brosko/grays-mock
- Loading branch information
Showing
10 changed files
with
96 additions
and
89 deletions.
There are no files selected for viewing
6 changes: 4 additions & 2 deletions
6
.github/workflows/on-pr-opt.yml → ...hub/workflows/build-and-run-all-tests.yml
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,56 @@ | ||
name: Build clients on newest UMD | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
timeout: | ||
required: true | ||
description: 'The timeout for the job in minutes' | ||
type: number | ||
default: 30 | ||
pull_request: | ||
branches: ["main"] | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
build-tt-metal: | ||
# Due to parsing bug, fromJSON is used to convert string to number. | ||
# In pull_request or push events, the input context is not available, stating the default again here. | ||
timeout-minutes: ${{ fromJSON(inputs.timeout || '30') }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
arch_name: [grayskull, wormhole_b0, blackhole] | ||
|
||
name: Build tt-metal for ${{ matrix.arch_name }} with newest UMD | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: ghcr.io/tenstorrent/tt-metal/tt-metalium/ubuntu-20.04-amd64:latest | ||
options: --user root | ||
|
||
steps: | ||
- name: Checkout client repo | ||
uses: actions/checkout@v4 | ||
with: | ||
# Clone under tt-metal directory | ||
path: tt-metal | ||
repository: tenstorrent/tt-metal | ||
submodules: recursive | ||
lfs: 'true' | ||
|
||
- name: Checkout UMD | ||
uses: actions/checkout@v4 | ||
with: | ||
# Clone directly into tt-metal directory for umd | ||
path: tt-metal/tt_metal/third_party/umd | ||
submodules: recursive | ||
lfs: 'true' | ||
|
||
- name: Build tt-metal | ||
run: | | ||
cd tt-metal | ||
export ARCH_NAME=${{ matrix.arch_name }} | ||
export TT_METAL_HOME=$(pwd) | ||
export PYTHONPATH=$(pwd) | ||
./build_metal.sh |
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 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
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