Skip to content

Commit

Permalink
Merge branch 'main' into jvega/tiny_tiles_all_gather
Browse files Browse the repository at this point in the history
  • Loading branch information
jvegaTT authored Nov 8, 2024
2 parents c7810c4 + 8374441 commit 4a90c9f
Show file tree
Hide file tree
Showing 106 changed files with 2,999 additions and 1,296 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pipeline-select-t3k.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
- RelWithDebInfo
- CI
default: "Release"
extra-tag:
required: true
type: string
default: "in-service"
build-with-tracy:
required: false
type: boolean
Expand Down Expand Up @@ -54,29 +58,41 @@ jobs:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-unit-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-unit }}
t3000-demo-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-demo-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-demo }}
t3000-frequent-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-frequent-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-frequent }}
t3000-nightly-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-nightly-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-nightly }}
t3000-model-perf-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-model-perf-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-model-perf }}
t3000-profiler-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-profiler-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-profiler }}
11 changes: 10 additions & 1 deletion .github/workflows/t3000-demo-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 demo tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: false
type: string
default: "in-service"

jobs:
t3000-demo-tests:
Expand All @@ -23,7 +28,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-perf
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Enable performance mode
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-frequent-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 frequent tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: false
type: string
default: "in-service"

jobs:
t3000-frequent-tests:
Expand All @@ -27,7 +32,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-functional
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- uses: ./.github/actions/ensure-active-weka-mount
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-model-perf-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 model perf tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: false
type: string
default: "in-service"

jobs:

Expand All @@ -25,7 +30,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-perf
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Enable performance mode
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-nightly-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 nightly tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: false
type: string
default: "in-service"

jobs:
t3000-nightly-tests:
Expand All @@ -18,7 +23,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-functional
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Set up dynamic env vars for build
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/t3000-profiler-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 profiler tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: false
type: string
default: "in-service"

jobs:
t3000-profiler-tests:
Expand All @@ -12,7 +17,7 @@ jobs:
{
name: "T3000 profiler tests",
arch: wormhole_b0,
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf"],
runs-on: ["arch-wormhole_b0", "config-t3000", "pipeline-perf", "${{ inputs.extra-tag }}"],
cmd: './tests/scripts/run_profiler_regressions.sh'
},
]
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-unit-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 unit tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: false
type: string
default: "in-service"

jobs:
t3000-unit-tests:
Expand All @@ -28,7 +33,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-functional
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Set up dynamic env vars for build
Expand Down
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,13 @@ if("$ENV{ARCH_NAME}" STREQUAL "wormhole_b0")
tt_metal/hw/inc/wormhole
${PROJECT_SOURCE_DIR}/tt_metal/hw/inc/wormhole/wormhole_b0_defines
${UMD_HOME}/device/wormhole
${UMD_HOME}/src/firmware/riscv/wormhole
)
else()
target_include_directories(
metal_header_directories
INTERFACE
${PROJECT_SOURCE_DIR}/tt_metal/hw/inc/$ENV{ARCH_NAME}
${UMD_HOME}/device/$ENV{ARCH_NAME}
${UMD_HOME}/src/firmware/riscv/$ENV{ARCH_NAME}
)
endif()

Expand Down
Loading

0 comments on commit 4a90c9f

Please sign in to comment.