@@ -120,23 +120,25 @@ test_models_ethosu_fvp() { # End to End model tests using model_test.py
120
120
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --build_libs
121
121
122
122
# TOSA quantized
123
- echo " ${TEST_SUITE_NAME} : Test ethos-u target TOSA"
124
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv2
125
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv3
126
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=lstm
127
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=edsr
123
+ # echo "${TEST_SUITE_NAME}: Test ethos-u target TOSA"
124
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv2
125
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv3
126
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=lstm
127
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=edsr
128
128
129
129
# Ethos-U55
130
+ echo " ${TEST_SUITE_NAME} : Test ethos-u target Ethos-U55 with system config"
131
+ python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u55-128 --model=mv2 --extra_flags=" -DET_ATOL=2.00 -DET_RTOL=2.00" --memory_mode=" Sram_Only"
130
132
echo " ${TEST_SUITE_NAME} : Test ethos-u target Ethos-U55"
131
133
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u55-128 --model=mv2 --extra_flags=" -DET_ATOL=2.00 -DET_RTOL=2.00"
132
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u55-64 --model=mv3 --extra_flags=" -DET_ATOL=5.00 -DET_RTOL=5.00"
133
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u55-256 --model=lstm --extra_flags=" -DET_ATOL=0.03 -DET_RTOL=0.03"
134
-
135
- # Ethos-U85
136
- echo " ${TEST_SUITE_NAME} : Test ethos-u target Ethos-U85"
137
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u85-256 --model=mv2 --extra_flags=" -DET_ATOL=2.00 -DET_RTOL=2.00"
138
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u85-1024 --model=mv3 --extra_flags=" -DET_ATOL=5.00 -DET_RTOL=5.00"
139
- python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u85-128 --model=lstm --extra_flags=" -DET_ATOL=0.03 -DET_RTOL=0.03"
134
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u55-64 --model=mv3 --extra_flags="-DET_ATOL=5.00 -DET_RTOL=5.00"
135
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u55-256 --model=lstm --extra_flags="-DET_ATOL=0.03 -DET_RTOL=0.03"
136
+
137
+ # # Ethos-U85
138
+ # echo "${TEST_SUITE_NAME}: Test ethos-u target Ethos-U85"
139
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u85-256 --model=mv2 --extra_flags="-DET_ATOL=2.00 -DET_RTOL=2.00"
140
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u85-1024 --model=mv3 --extra_flags="-DET_ATOL=5.00 -DET_RTOL=5.00"
141
+ # python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=ethos-u85-128 --model=lstm --extra_flags="-DET_ATOL=0.03 -DET_RTOL=0.03"
140
142
echo " ${TEST_SUITE_NAME} : PASS"
141
143
}
142
144
0 commit comments