Skip to content

Commit

Permalink
Revert "Add resharding to post all gather layernorm/ rms norm op (#17156
Browse files Browse the repository at this point in the history
) (#17304)
  • Loading branch information
tt-rkim authored Jan 29, 2025
1 parent 9cc0216 commit 776a92d
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 600 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tg-unit-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
{ name: "TG Llama3-small unit tests", arch: wormhole_b0, model: llama3-small, timeout: 45, owner_id: U06F3ER8X9A}, # Stuti Raizada
{ name: "TG Llama3-70b unit tests", arch: wormhole_b0, model: llama3-70b, timeout: 45, owner_id: U06F3ER8X9A}, # Stuti Raizada
{ name: "TG DRAM Prefetcher unit tests", arch: wormhole_b0, model: prefetcher, timeout: 30, owner_id: U071CKL4AFK}, # Ammar Vora, Yu Gao
{ name: "TG distributed ops tests", arch: wormhole_b0, model: distributed-ops, timeout: 15, owner_id: U044T8U8DEF}, # Johanna Rock
]
name: ${{ matrix.test-group.name }}
env:
Expand Down
21 changes: 0 additions & 21 deletions tests/scripts/tg/run_tg_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,6 @@ run_tg_llama3.1-70b_tests() {
fi
}

run_tg_distributed_op_tests() {
# Record the start time
fail=0
start_time=$(date +%s)

echo "LOG_METAL: Running run_tg_distributed_op_tests"

pytest tests/ttnn/distributed/test_distributed_layernorm_TG.py ; fail+=$?

# Record the end time
end_time=$(date +%s)
duration=$((end_time - start_time))
echo "LOG_METAL: run_tg_distributed_op_tests $duration seconds to complete"
if [[ $fail -ne 0 ]]; then
exit 1
fi
}

run_tg_prefetcher_tests() {
# Record the start time
fail=0
Expand Down Expand Up @@ -127,9 +109,6 @@ run_tg_tests() {
elif [[ "$1" == "prefetcher" ]]; then
run_tg_prefetcher_tests

elif [[ "$1" == "distributed-ops" ]]; then
run_tg_distributed_op_tests

else
echo "LOG_METAL: Unknown model type: $1"
return 1
Expand Down
191 changes: 0 additions & 191 deletions tests/ttnn/distributed/test_distributed_layernorm_TG.py

This file was deleted.

Loading

0 comments on commit 776a92d

Please sign in to comment.