Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#0: Allow Users to provide extra tag for T3K choose your own pipeline #14873

Merged
merged 6 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: false
type: string
default: ""
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 }}
7 changes: 6 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 @@

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

jobs:
t3000-demo-tests:
Expand All @@ -23,7 +28,7 @@
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: ${{ toJson([ "arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf" ] + (inputs.extra-tag != '' && inputs.extra-tag != null ? [inputs.extra-tag] : [])) }}

Check failure on line 31 in .github/workflows/t3000-demo-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

31:170 syntax error: mapping values are not allowed here (syntax)
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Enable performance mode
Expand Down
7 changes: 6 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 @@

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

jobs:
t3000-frequent-tests:
Expand All @@ -9,16 +14,16 @@
fail-fast: false
matrix:
test-group: [
{ name: "t3k tteager tests", arch: wormhole_b0, cmd: run_t3000_tteager_tests, timeout: 60, owner_id: ULMEPM2MA}, #Sean Nijjar

Check warning on line 17 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

17:121 [line-length] line too long (135 > 120 characters)
{ name: "t3k ethernet tests", arch: wormhole_b0, cmd: run_t3000_ethernet_tests, timeout: 60, owner_id: ULMEPM2MA}, #Sean Nijjar

Check warning on line 18 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

18:121 [line-length] line too long (137 > 120 characters)
{ name: "t3k trace stress tests", arch: wormhole_b0, cmd: run_t3000_trace_stress_tests, timeout: 120, owner_id: U03NG0A5ND7}, #Aditya Saigal

Check warning on line 19 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

19:121 [line-length] line too long (150 > 120 characters)
{ name: "t3k falcon40b tests", arch: wormhole_b0, cmd: run_t3000_falcon40b_tests, timeout: 120, owner_id: U04S2UV6L8N}, #Sofija Jovic

Check warning on line 20 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

20:121 [line-length] line too long (143 > 120 characters)
{ name: "t3k llama3.2-vision tests", arch: wormhole_b0, cmd: run_t3000_llama3.2-11b-vision_freq_tests, timeout: 60, owner_id: U03FJB5TM5Y}, #Colman Glagovich

Check warning on line 21 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

21:121 [line-length] line too long (167 > 120 characters)
{ name: "t3k n300 mesh llama3.2-vision tests", arch: wormhole_b0, cmd: run_t3000_spoof_n300_llama3.2-11b-vision_freq_tests, timeout: 60, owner_id: U03FJB5TM5Y}, #Colman Glagovich

Check warning on line 22 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

22:121 [line-length] line too long (188 > 120 characters)
{ name: "t3k llama3 tests", arch: wormhole_b0, cmd: run_t3000_llama3_tests, timeout: 45, owner_id: U03PUAKE719}, #Miguel Tairum Cruz

Check warning on line 23 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

23:121 [line-length] line too long (142 > 120 characters)
{ name: "t3k llama2_70b tests", arch: wormhole_b0, cmd: run_t3000_llama2_70b_tests, timeout: 45, owner_id: U03FJB5TM5Y}, #Colman Glagovich

Check warning on line 24 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

24:121 [line-length] line too long (148 > 120 characters)
{ name: "t3k llama3_70b tests", arch: wormhole_b0, cmd: run_t3000_llama3_70b_tests, timeout: 45, owner_id: U03FJB5TM5Y}, #Colman Glagovich

Check warning on line 25 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

25:121 [line-length] line too long (148 > 120 characters)
{ name: "t3k mixtral tests", arch: wormhole_b0, cmd: run_t3000_mixtral_tests, timeout: 60, owner_id: U03PUAKE719}, #Miguel Tairum Cruz

Check warning on line 26 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

26:121 [line-length] line too long (144 > 120 characters)
{ name: "t3k resnet tests", arch: wormhole_b0, cmd: run_t3000_resnet_tests, timeout: 30, owner_id: U013121KDH9}, #Austin Ho
]
name: ${{ matrix.test-group.name }}
Expand All @@ -27,7 +32,7 @@
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: ${{ toJson([ "arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional" ] + (inputs.extra-tag != '' && inputs.extra-tag != null ? [inputs.extra-tag] : [])) }}

Check failure on line 35 in .github/workflows/t3000-frequent-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

35:176 syntax error: mapping values are not allowed here (syntax)
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- uses: ./.github/actions/ensure-active-weka-mount
Expand Down
7 changes: 6 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 @@

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

jobs:

Expand All @@ -25,7 +30,7 @@
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: ${{ toJson([ "arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf" ] + (inputs.extra-tag != '' && inputs.extra-tag != null ? [inputs.extra-tag] : [])) }}

Check failure on line 33 in .github/workflows/t3000-model-perf-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

33:170 syntax error: mapping values are not allowed here (syntax)
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Enable performance mode
Expand Down
7 changes: 6 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 @@

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

jobs:
t3000-nightly-tests:
Expand All @@ -18,7 +23,7 @@
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: ${{ toJson([ "arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional" ] + (inputs.extra-tag != '' && inputs.extra-tag != null ? [inputs.extra-tag] : [])) }}

Check failure on line 26 in .github/workflows/t3000-nightly-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

26:176 syntax error: mapping values are not allowed here (syntax)
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 @@

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

jobs:
t3000-profiler-tests:
Expand All @@ -12,7 +17,7 @@
{
name: "T3000 profiler tests",
arch: wormhole_b0,
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf"],
runs-on: ${{ toJson([ "arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf" ] + (inputs.extra-tag != '' && inputs.extra-tag != null ? [inputs.extra-tag] : [])) }}

Check failure on line 20 in .github/workflows/t3000-profiler-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

20:23 syntax error: expected ',' or '}', but got '{' (syntax)
cmd: './tests/scripts/run_profiler_regressions.sh'
},
]
Expand Down
7 changes: 6 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 @@

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

jobs:
t3000-unit-tests:
Expand All @@ -28,7 +33,7 @@
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: ${{ toJson([ "arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional" ] + (inputs.extra-tag != '' && inputs.extra-tag != null ? [inputs.extra-tag] : [])) }}

Check failure on line 36 in .github/workflows/t3000-unit-tests-impl.yaml

View workflow job for this annotation

GitHub Actions / Run Pre-commit Hooks

36:176 syntax error: mapping values are not allowed here (syntax)
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Set up dynamic env vars for build
Expand Down
Loading