Skip to content

Commit

Permalink
#1: Tests scripts added for PCC
Browse files Browse the repository at this point in the history
  • Loading branch information
arginugaTT committed Feb 28, 2025
1 parent 107225f commit f880b3d
Show file tree
Hide file tree
Showing 4 changed files with 788 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/scripts/run_performance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ run_perf_models_other() {
env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/demos/yolov4/tests/test_perf_yolo.py -m $test_marker

env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/demos/wormhole/distilbert/tests/test_perf_distilbert.py -m $test_marker

#yolov11
env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/experimental/yolov11/tests/test_yolov11.py -m $test_marker

fi

env pytest -n auto tests/ttnn/integration_tests/bert/test_performance.py -m $test_marker
Expand Down Expand Up @@ -133,6 +137,8 @@ run_device_perf_models() {
env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/demos/yolov4/tests/ -m $test_marker

env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/demos/wormhole/distilbert/tests -m $test_marker

env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/experimental/yolov11/tests/ -m $test_marker
fi

## Merge all the generated reports
Expand Down
3 changes: 3 additions & 0 deletions tests/scripts/run_python_model_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ run_python_model_tests_wormhole_b0() {
# Mamba
WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest -svv models/demos/wormhole/mamba/tests/test_residual_block.py -k "pretrained_weight_false"

# Yolov11
WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest tests/ttnn/integration_tests/yolov11/test_ttnn_yolo_v11.py

# Llama3.1-8B
llama8b=/mnt/MLPerf/tt_dnn-models/llama/Meta-Llama-3.1-8B-Instruct/
# Llama3.2-1B
Expand Down
3 changes: 3 additions & 0 deletions tests/scripts/single_card/run_single_card_demo_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ run_common_func_tests() {
#RoBERTa
pytest --disable-warnings models/demos/roberta/demo/demo.py --timeout 600; fail+=$?

# Yolov11
WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest --disable-warnings models/experimental/yolov11/demo/demo.py --timeout 600; fail+=$?

return $fail
}

Expand Down
Loading

0 comments on commit f880b3d

Please sign in to comment.