Skip to content
Merged
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/scripts/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ VERBS="Add|Fix|Update|Refactor|Improve|Remove|Change|Implement|Create|Modify|"\
"Handle|Ignore|Interpret|Instantiate|Invoke|Limit|Load|Modify|Permit|Print|"\
"Profile|Recalculate|Reconstruct|Redefine|Redesign|Reevaluate|Relocate|Remap|"\
"Render|Reposition|Request|Revert|Sanitize|Specify|Strengthen|Stub|Substitute|"\
"Tag|Tweak|Unify|Unlock|Unset|Use|Validate|Verify"
"Tag|Tweak|Unify|Unlock|Unset|Use|Validate|Verify|Rename"

# Remote branch
REMOTE=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null)
Expand Down
2 changes: 1 addition & 1 deletion backends/arm/test/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def build_ethosu_runtime(
run_external_cmd(
[
"bash",
os.path.join(script_path, "build_executorch_runner.sh"),
os.path.join(script_path, "build_executor_runner.sh"),
f"--et_build_root={et_build_root}",
f"--pte={pte_file}",
"--bundleio",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/backends-arm-ethos-u.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ A fully integer model is required for using the Arm Ethos-U backend. As discusse
To run the model on-device, build the executorch library and EthosUDelegate using the script
`executorch/backends/arm/scripts/build_executorch.sh`.
Then build the arm executorch runtime using the script
`executorch/backends/arm/scripts/build_executorch_runner.sh --pte=mv2_arm_ethos_u55.pte --target=ethos-u55-128`.
`executorch/backends/arm/scripts/build_executor_runner.sh --pte=mv2_arm_ethos_u55.pte --target=ethos-u55-128`.

Finally, run the elf file on FVP using the script
`executorch/backends/arm/scripts/run_fvp.sh --elf=executorch/mv2_arm_ethos_u55/cmake-out/arm_executor_runner --target=ethos-u55-128`.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorial-arm-ethos-u.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ The SDK dir is the same one prepared [earlier](#setup-the-arm-ethos-u-software-d

Note, you have to generate a new `executor-runner` binary if you want to change the model or the `.pte` file. This constraint is from the constrained bare-metal runtime environment you have for Corstone-300/Corstone-320 platforms.

This is performed by the `backends/arm/scripts/build_executorch_runner.sh` script runned from `run.sh`.
This is performed by the `backends/arm/scripts/build_executor_runner.sh` script runned from `run.sh`.

```{tip}
The `run.sh` script takes in `--target` option, which provides a way to provide a specific target, Corstone-300(ethos-u55-128) or Corstone-320(ethos-u85-128)
Expand Down
2 changes: 1 addition & 1 deletion examples/arm/ethos_u_minimal_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
"\n",
"# Build executorch runner\n",
"args = f\"--pte={pte_path} --target={target}\"\n",
"subprocess.run(os.path.join(script_dir, \"build_executorch_runner.sh\") + \" \" + args, shell=True, cwd=et_dir)\n",
"subprocess.run(os.path.join(script_dir, \"build_executor_runner.sh\") + \" \" + args, shell=True, cwd=et_dir)\n",
"\n",
"elf_path = os.path.join(cwd_dir, pte_base_name, \"cmake-out\", \"arm_executor_runner\")\n",
"assert os.path.exists(elf_path), \"Build failed; no .elf-file found\""
Expand Down
2 changes: 1 addition & 1 deletion examples/arm/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ for i in "${!test_model[@]}"; do
else
set -x
# Rebuild the application as the pte is imported as a header/c array
backends/arm/scripts/build_executorch_runner.sh --et_build_root="${et_build_root}" --pte="${pte_file}" --build_type=${build_type} --target=${target} --system_config=${system_config} --memory_mode=${memory_mode} ${bundleio_flag} ${et_dump_flag} --extra_build_flags="${extra_build_flags}" --ethosu_tools_dir="${ethos_u_scratch_dir}"
backends/arm/scripts/build_executor_runner.sh --et_build_root="${et_build_root}" --pte="${pte_file}" --build_type=${build_type} --target=${target} --system_config=${system_config} --memory_mode=${memory_mode} ${bundleio_flag} ${et_dump_flag} --extra_build_flags="${extra_build_flags}" --ethosu_tools_dir="${ethos_u_scratch_dir}"
if [ "$build_only" = false ] ; then
# Execute the executor_runner on FVP Simulator
elf_file="${output_folder}/${elf_folder}/cmake-out/arm_executor_runner"
Expand Down
Loading