Skip to content

Commit e466669

Browse files
committed
DO NOT COMMIT test
1 parent bcf4b46 commit e466669

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

backends/arm/arm_vela.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def vela_compile(
6666
output_dir = os.path.join(tmpdir, "output")
6767
args.append(f"--output-dir={output_dir}")
6868
args.append(tosa_path)
69-
if verbose:
69+
if verbose or True:
7070
args.append("--verbose-all")
7171
vela.main(" ".join(args).split(" "))
7272

backends/arm/test/test_arm_baremetal.sh

+15-13
Original file line numberDiff line numberDiff line change
@@ -120,23 +120,25 @@ test_models_ethosu_fvp() { # End to End model tests using model_test.py
120120
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --build_libs
121121

122122
# 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
128128

129129
# 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"
130132
echo "${TEST_SUITE_NAME}: Test ethos-u target Ethos-U55"
131133
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"
140142
echo "${TEST_SUITE_NAME}: PASS"
141143
}
142144

0 commit comments

Comments
 (0)