SIGN IN SIGN UP

Arm backend: Add support for DevTools BundleIO (#8680)

Add support for input and output testing using BundleIO
in devtools.

Can be tested with:
run.sh --model_name=add --target=ethos-u85-128 --bundleio

aot_arm_compiler.py changes
--bundleio      - Will generate a bundle .bpte file with input and reference output data
--model_name    - now also support .pt/.pth files e.g. a torch.save():ed model
--model_input   - If supplied will overried the model input data supply a torch.save():ed data
--intermediates - Will now save model.pth, input_xx.pt and output_ref_xx.pt files so testing can be reproduced

arm_executor_runner.cpp - can be build with ET_BUNDLE_IO to enable a .bpte and a input/output_ref testing flow

test_model.py script uses bundleio

test_arm_baremetal.sh script now tests models with BundleIO so output is compared to ref output


Change-Id: I25b9ecc0adbf697d1d8cadc5d67ffd32f8c93db6

Signed-off-by: Zingo Andersen <zingo.andersen@arm.com>
Z
Zingo Andersen committed
dc6a95698cf898346af842f97ecbe35f2233a1bd
Parent: b5344c1
Committed by GitHub <noreply@github.com> on 2/25/2025, 1:36:19 PM