Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backends/arm/arm_vela.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def vela_compile(
output_dir = os.path.join(tmpdir, "output")
args.append(f"--output-dir={output_dir}")
args.append(tosa_path)
if verbose:
if verbose or True:
args.append("--verbose-all")
vela.main(" ".join(args).split(" "))

Expand Down
28 changes: 15 additions & 13 deletions backends/arm/test/test_arm_baremetal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,23 +120,25 @@ test_models_ethosu_fvp() { # End to End model tests using model_test.py
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --build_libs

# TOSA quantized
echo "${TEST_SUITE_NAME}: Test ethos-u target TOSA"
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv2
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv3
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=lstm
python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=edsr
# echo "${TEST_SUITE_NAME}: Test ethos-u target TOSA"
# python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv2
# python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=mv3
# python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=lstm
# python3 backends/arm/test/test_model.py --test_output=arm_test/test_model --target=TOSA --model=edsr

# Ethos-U55
echo "${TEST_SUITE_NAME}: Test ethos-u target Ethos-U55 with system config"
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"
echo "${TEST_SUITE_NAME}: Test ethos-u target Ethos-U55"
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"
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"
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"

# Ethos-U85
echo "${TEST_SUITE_NAME}: Test ethos-u target Ethos-U85"
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"
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"
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"
# 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"
# 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"

# # Ethos-U85
# echo "${TEST_SUITE_NAME}: Test ethos-u target Ethos-U85"
# 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"
# 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"
# 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"
echo "${TEST_SUITE_NAME}: PASS"
}

Expand Down
Loading