Skip to content

Commit

Permalink
Add reduce scatter to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Aswinmcw committed Nov 27, 2024
1 parent 36d16cc commit ddbee65
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tg-model-perf-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
runs-on: ["arch-wormhole_b0", "config-tg", "in-service", "bare-metal", "pipeline-perf"],
cmd: './tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type cnn_model_perf_tg_device --dispatch-mode ""'
},
{ name: "t3k CCL all_gather perf tests",
{ name: "t3k CCL perf tests",
arch: wormhole_b0,
cmd: './tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type ccl_all_gather_perf_tg_device --dispatch-mode ""',
cmd: './tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type ccl_perf_tg_device --dispatch-mode ""',
timeout: 75,
tracy: true,
runs-on: ["arch-wormhole_b0", "config-tg", "in-service", "bare-metal", "pipeline-perf"],
Expand Down
3 changes: 2 additions & 1 deletion tests/scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,9 @@ run_pipeline_tests() {
demos_tg_device "$tt_arch" "$pipeline_type" "$dispatch_mode"
elif [[ $pipeline_type == *"model_perf_tg_device" ]]; then
model_perf_tg_device "$tt_arch" "$pipeline_type" "$dispatch_mode"
elif [[ $pipeline_type == "ccl_all_gather_perf_tg_device" ]]; then
elif [[ $pipeline_type == "ccl_perf_tg_device" ]]; then
./tests/ttnn/unit_tests/operations/ccl/perf/run_all_gather_profile.sh -t tg
./tests/ttnn/unit_tests/operations/ccl/perf/run_reduce_scatter_profile.sh -t tg
# TGG pipelines
elif [[ $pipeline_type == "unit_tgg_device" ]]; then
unit_tgg_device "$tt_arch" "$pipeline_type" "$dispatch_mode"
Expand Down
2 changes: 1 addition & 1 deletion tests/ttnn/unit_tests/operations/ccl/perf/test_ccl_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def test_all_gather_on_tg(
@pytest.mark.parametrize("mesh_device", [pytest.param((8, 4), id="8x4_grid")], indirect=True)
@pytest.mark.parametrize("math_op", [ttnn.ReduceType.Sum])
@pytest.mark.parametrize("device_params", [{"trace_region_size": 10281600}], indirect=True)
def test_line_reduce_scatter_on_TG_rows_post_commit(
def test_reduce_scatter_on_tg(
mesh_device,
num_devices,
per_chip_output_shape,
Expand Down

0 comments on commit ddbee65

Please sign in to comment.